diff options
Diffstat (limited to 'src/T2DLL/T2OutsideInfo.h')
-rw-r--r-- | src/T2DLL/T2OutsideInfo.h | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/src/T2DLL/T2OutsideInfo.h b/src/T2DLL/T2OutsideInfo.h index 0f87d43..0ad058f 100644 --- a/src/T2DLL/T2OutsideInfo.h +++ b/src/T2DLL/T2OutsideInfo.h @@ -1,29 +1,30 @@ #pragma once #include "common.h" -class T2OutsideInfo { +class AFX_EXT_CLASS T2OutsideInfo { public: - T2OutsideInfo(const T2FloorInfo&); + T2OutsideInfo(const T2FloorInfo& inFloorInfo); virtual ~T2OutsideInfo(); + void SetArea(const RECT& inRect); + void FillOutObjID(const RECT& inRect, unsigned int inID); + unsigned int GetOutObjID(int inV, int inH) const; + BOOL NextOutObj(T2OutObj*& outOutObj); + void Read(T2Archive& inArchive); + void Write(T2Archive& inArchive); + protected: void Reset(); -public: - void SetArea(const RECT&); -protected: POINT CurrentPt() const; - unsigned int GetUnitInfo(int, int) const; - T2OutObj* GetOutObj(int, int) const; -public: - void FillOutObjID(const RECT&, unsigned int); - unsigned int GetOutObjID(int, int) const; -protected: - int CalcNextUnitInfo(); - int NextValue(unsigned int&); - int NextIndex(int&); -public: - int NextOutObj(T2OutObj*&); - void Read(T2Archive&); - void Write(T2Archive&); + unsigned int GetUnitInfo(int inV, int inH) const; + T2OutObj* GetOutObj(int inV, int inH) const; + BOOL CalcNextUnitInfo(); + BOOL NextValue(unsigned int& outValue); + BOOL NextIndex(int& outIndex); - T2OutsideInfo(const T2OutsideInfo&) {} + LArray *mUnitInfo; + RECT mArea; + POINT mCurrentPt; + int mNextUnitInfo; + unsigned int mCurrentOutObjID; + const T2FloorInfo &mFloorInfo; }; |