diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2PeoplePtrList.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/T2DLL/T2PeoplePtrList.h b/src/T2DLL/T2PeoplePtrList.h new file mode 100644 index 0000000..8738224 --- /dev/null +++ b/src/T2DLL/T2PeoplePtrList.h @@ -0,0 +1,29 @@ +#pragma once +#include "common.h" + +class T2PeoplePtrList { +public: + T2PeoplePtrList(int); + virtual ~T2PeoplePtrList(); +protected: + void Init(unsigned int); +public: + int Add(T2People*); + T2People* GetItemAt(int) const; + int GetPeopleIndex(T2People*, int&) const; + int HasSpace() const; + void Clear(); + void Clear(T2People*); + void SetDestination(unsigned int); + void ChangeDestination(unsigned int); + void SetReturn(unsigned int); + void IncStress(int); + void IncEstimate(int); + int InSameTenant(unsigned int) const; + void LoadSelf(T2Archive&, T2PeopleArrayList*); + void SaveSelf(T2Archive&) const; + + T2PeoplePtrList(const T2PeoplePtrList&) {} + T2PeoplePtrList& operator=(const T2PeoplePtrList&) {} + void `default constructor closure'() {} +}; |