diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2TenantMemberTableDef.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2TenantMemberTableDef.h | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/src/T2DLL/T2TenantMemberTableDef.h b/src/T2DLL/T2TenantMemberTableDef.h index e189d59..0a05bab 100644 --- a/src/T2DLL/T2TenantMemberTableDef.h +++ b/src/T2DLL/T2TenantMemberTableDef.h @@ -1,7 +1,8 @@ #pragma once #include "common.h" +#include "T2PlaceParamDef.h" -class T2TenantMemberTableDef { +class AFX_EXT_CLASS T2TenantMemberTableDef { public: T2TenantMemberTableDef(HINSTANCE, CResFile*, float); T2TenantMemberTableDef(const char*, CResFile*, float); @@ -10,21 +11,29 @@ private: void Initialize(); public: int GetEconoType() const; - int IsCheckOnlyFirstEconoType() const; + BOOL IsCheckOnlyFirstEconoType() const; T2TenantMemberDef* GetElem(int) const; int GetScore(T2PlaceParamDef::EPlace) const; - int IsCollectFromFloor() const; - int IsCollectFromPool(T2TowerDoc*) const; - int IsCollectFromTenant() const; + BOOL IsCollectFromFloor() const; + BOOL IsCollectFromPool(T2TowerDoc*) const; + BOOL IsCollectFromTenant() const; + + int GetNumOfElem() const { return mNumOfElem; } + unsigned int GetSpecialFlag() const { return mSpecialFlag; } + protected: T2DayParamDef* MakeDayParamDef(HINSTANCE, int); T2DayParamDef* MakeDayParamDef(const char*, int); T2PlaceParamDef* MakePlaceParamDef(HINSTANCE, int); T2PlaceParamDef* MakePlaceParamDef(const char*, int); -public: - T2TenantMemberTableDef(const T2TenantMemberTableDef&) {} - T2TenantMemberTableDef& operator=(const T2TenantMemberTableDef&) {} - int GetNumOfElem() const {} - unsigned int GetSpecialFlag() const {} + int m4; + int mEconoType; + unsigned int mSpecialFlag; + int m10; + T2DayParamDef *mDayParamDef; + T2PlaceParamDef *mPlaceParamDef; + int m1C; + int mNumOfElem; + T2TenantMemberDef *mElem; }; |