summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2Tenant.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-11 17:52:00 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-11 17:52:00 +0100
commit024306ccab5f6d51f3fce269fb1984fd02f3bb02 (patch)
tree8d359495d72bf4e7295c7eab4cb220edc2d4b60c /src/T2DLL/T2Tenant.h
parent0f3cba6fcea0ffd511dfe3275d57a5b9e69be5be (diff)
downloadt2win-024306ccab5f6d51f3fce269fb1984fd02f3bb02.tar.gz
t2win-024306ccab5f6d51f3fce269fb1984fd02f3bb02.zip
add Floor, add DefaultToolPalettemain
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2Tenant.h43
1 files changed, 20 insertions, 23 deletions
diff --git a/src/T2DLL/T2Tenant.h b/src/T2DLL/T2Tenant.h
index 1336aa1..c9c881a 100644
--- a/src/T2DLL/T2Tenant.h
+++ b/src/T2DLL/T2Tenant.h
@@ -203,6 +203,26 @@ public:
int GetReserveCount() const;
void CancelReserve();
+ T2People *mFirstPeople;
+ T2People *m64;
+ int mMerchandiseCount;
+ int mMerchandise[4];
+ int mResideDay;
+ int mKindIndex;
+ int mMark;
+ BOOL mIsBind;
+ int mPeopleEstimate;
+ int mEstimate;
+ unsigned int mRelatedTenantID;
+ int mReserveCount;
+ int mBelongCount;
+ int mCustomerCount;
+ int mWorkCount;
+ int mTotalCustomer;
+ T2PeoplePtrList *mBelongList;
+ T2EquipPtrList *mRelatedTenantList;
+ unsigned int mTenantNumber;
+
protected:
virtual void LoadSelf(T2Archive& inArchive, T2TowerDoc* inDoc);
virtual void SaveSelf(T2Archive& inArchive);
@@ -223,29 +243,6 @@ protected:
BOOL CollectEmployeeFromPool(T2TowerDoc* inDoc, T2TenantMemberTableDef* inTable);
unsigned int CheckRouteFromPool(T2TowerDoc* inDoc, unsigned int inScore) const;
int GetConsumptionPower() const { return 0; }
-
- friend class T2EquipDef;
- friend class T2TenantArray;
-
- T2People *mFirstPeople;
- T2People *m64;
- int mMerchandiseCount;
- int mMerchandise[4];
- int mResideDay;
- int mKindIndex;
- int mMark;
- BOOL mIsBind;
- int mPeopleEstimate;
- int mEstimate;
- unsigned int mRelatedTenantID;
- int mReserveCount;
- int mBelongCount;
- int mCustomerCount;
- int mWorkCount;
- int mTotalCustomer;
- T2PeoplePtrList *mBelongList;
- T2EquipPtrList *mRelatedTenantList;
- unsigned int mTenantNumber;
};
inline /*virtual*/ void T2Tenant::ClearDrawMode() {