diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-06 10:49:52 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-06 10:49:52 +0100 |
commit | 96a63139221587c6be9659c1e07eacd3a8e7f048 (patch) | |
tree | 23aef453ef216c97b762637f553d131646fd5985 /src/T2DLL/T2Tenant.h | |
parent | 27fc86e8c0450a7fe33d76344c4d53e23a70a6c3 (diff) | |
download | t2win-96a63139221587c6be9659c1e07eacd3a8e7f048.tar.gz t2win-96a63139221587c6be9659c1e07eacd3a8e7f048.zip |
add untested Burger code
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2Tenant.h | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/src/T2DLL/T2Tenant.h b/src/T2DLL/T2Tenant.h index e3ac271..6b374fc 100644 --- a/src/T2DLL/T2Tenant.h +++ b/src/T2DLL/T2Tenant.h @@ -10,6 +10,12 @@ enum { kTenantStatus2 = 2, kTenantStatus9 = 9, kTenantStatus10 = 10, + // means it's opening tomorrow + kTenantStatus11 = 11, + kTenantStatus12 = 12, + kTenantStatus13 = 13, + kTenantStatus14 = 14, + kTenantStatus15 = 15, kTenantStatus30 = 30, kTenantStatus9999 = 9999, kTenantStatus10000 = 10000, @@ -25,16 +31,26 @@ enum { }; enum { - kTenantRegistID1 = 1, // hotel rooms - kTenantRegistID2 = 2, // trash facilities - kTenantRegistID3 = 3, // parking - kTenantRegistID4 = 4, // hospital - kTenantRegistID5 = 5, // security - kTenantRegistID6 = 6, // school - kTenantRegistID7 = 7, // toilets - kTenantRegistID8 = 8, // metro railway - kTenantRegistID9 = 9, // boat deck - kTenantRegistID10 = 10, // ticket booth + // hotel rooms + kTenantRegistID1 = 1, + // trash facilities + kTenantRegistID2 = 2, + // parking + kTenantRegistID3 = 3, + // hospital + kTenantRegistID4 = 4, + // security + kTenantRegistID5 = 5, + // school + kTenantRegistID6 = 6, + // toilets + kTenantRegistID7 = 7, + // metro railway + kTenantRegistID8 = 8, + // boat deck + kTenantRegistID9 = 9, + // ticket booth + kTenantRegistID10 = 10, }; class AFX_CLASS_EXPORT T2Tenant : public T2Equip { @@ -104,7 +120,7 @@ public: void UpdatePatternIndex(); void UpdatePatternIndex(int inIndex); int GetNumOfPattern() const; - void CollectCustomer(T2TowerDoc* inDoc, T2Tenant* inTenant); + void CollectCustomer(T2TowerDoc* inDoc, T2Tenant* inTenant = NULL); void CollectCustomer(T2TowerDoc* inDoc, int inNum); int CollectEmployee(T2TowerDoc* inDoc); void RegistBelongPeople(T2People* inPeople); |