From 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 1 Jul 2023 02:43:29 +0100 Subject: i am in hell --- src/T2DLL/T2PeopleTimeZoneList.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/T2DLL/T2PeopleTimeZoneList.h') diff --git a/src/T2DLL/T2PeopleTimeZoneList.h b/src/T2DLL/T2PeopleTimeZoneList.h index 59a81b7..1b00721 100644 --- a/src/T2DLL/T2PeopleTimeZoneList.h +++ b/src/T2DLL/T2PeopleTimeZoneList.h @@ -2,7 +2,7 @@ #include "common.h" #include "LArray.h" -class AFX_EXT_CLASS T2PeopleTimeZoneList : public LArray { +class AFX_CLASS_EXPORT T2PeopleTimeZoneList : public LArray { public: T2PeopleTimeZoneList(unsigned int someNum, unsigned int isFixed, T2WorldDef* worldDef); T2PeopleTimeZoneList(T2Archive&, T2WorldDef*); @@ -16,14 +16,14 @@ public: void DispatchAdd(T2PeopleType*); void Write(T2Archive&); - BOOL IsFixed() const { return mIsFixed;} + BOOL IsFixed() const; protected: void Add(T2PeopleTypeArray* inArray); T2PeopleTypeArray* GetItem(int index) const; T2PeopleTypeArray* CurrentItem() const; - int GetNumOfTimeZone() const { return GetCount(); } + int GetNumOfTimeZone() const; int _20; BOOL mIsFixed; @@ -32,3 +32,11 @@ protected: int mCurrentHour; T2WorldDef *mWorldDef; }; + +inline BOOL T2PeopleTimeZoneList::IsFixed() const { + return mIsFixed; +} + +inline int T2PeopleTimeZoneList::GetNumOfTimeZone() const { + return GetCount(); +} -- cgit v1.2.3