blob: fe92cfcfd9cd841a018b84f40efb7a6cfd9c5d95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef T2DLL_T2OUTSIDEINFO_H
#define T2DLL_T2OUTSIDEINFO_H
#include "../common.h"
class AFX_CLASS_EXPORT T2OutsideInfo {
public:
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();
POINT CurrentPt() const;
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);
LArray *mUnitInfo;
RECT mArea;
POINT mCurrentPt;
int mNextUnitInfo;
unsigned int mCurrentOutObjID;
const T2FloorInfo &mFloorInfo;
};
#endif
|