summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PeopleTimeZoneList.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-05 19:04:06 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-05 19:04:06 +0100
commit5e61c1280c15ab9969b94cd360cafd4a11b2dd30 (patch)
tree1fdb60d771c4351b5aa5dcf1a43376c0558625a4 /src/T2DLL/T2PeopleTimeZoneList.h
parentc2efba6907fab934a04959b9bb644cf7141cc955 (diff)
downloadt2win-5e61c1280c15ab9969b94cd360cafd4a11b2dd30.tar.gz
t2win-5e61c1280c15ab9969b94cd360cafd4a11b2dd30.zip
matched T2.exe
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2PeopleTimeZoneList.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/T2DLL/T2PeopleTimeZoneList.h b/src/T2DLL/T2PeopleTimeZoneList.h
index 1b00721..2f90b65 100644
--- a/src/T2DLL/T2PeopleTimeZoneList.h
+++ b/src/T2DLL/T2PeopleTimeZoneList.h
@@ -8,7 +8,7 @@ public:
T2PeopleTimeZoneList(T2Archive&, T2WorldDef*);
virtual ~T2PeopleTimeZoneList();
void Add(T2PeopleType* inPeopleType, T2PoolDefDemandElem* inDemandElem);
- void Init(unsigned int someNum, float limit);
+ void Init(unsigned int inHour, float limit);
void IncHour(float limit);
BOOL Find(T2TenantMemberDef* inTenantMemberDef, int inEconoType, unsigned int inTransportType, BOOL inCheckOnlyFirstEconoType) const;
BOOL Call(T2TenantMemberDef* inTenantMemberDef, int inEconoType, unsigned int inTransportType, T2PeopleType& outPeopleType);
@@ -25,12 +25,14 @@ protected:
int GetNumOfTimeZone() const;
- int _20;
+ BOOL _20;
BOOL mIsFixed;
int mHoursPerItem;
int mCurrentItem;
int mCurrentHour;
T2WorldDef *mWorldDef;
+
+ friend class T2PoolView;
};
inline BOOL T2PeopleTimeZoneList::IsFixed() const {