summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PeopleArrayList.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-14 00:50:34 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-14 00:50:34 +0100
commit37e364b2c6cc7487a1c888d256a73e5337bb7189 (patch)
treeeaf6e857382eef16c2dd940eb4125536fbe068bd /src/T2DLL/T2PeopleArrayList.h
downloadt2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.tar.gz
t2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.zip
initial commit
Diffstat (limited to 'src/T2DLL/T2PeopleArrayList.h')
-rw-r--r--src/T2DLL/T2PeopleArrayList.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/T2DLL/T2PeopleArrayList.h b/src/T2DLL/T2PeopleArrayList.h
new file mode 100644
index 0000000..60c059c
--- /dev/null
+++ b/src/T2DLL/T2PeopleArrayList.h
@@ -0,0 +1,24 @@
+#pragma once
+#include "common.h"
+
+class T2PeopleArrayList {
+public:
+ T2PeopleArrayList();
+ virtual ~T2PeopleArrayList();
+ void Add(T2PeopleArray*);
+ unsigned int GetItemCount();
+ T2PeopleArray* GetItemAt(int);
+ T2People* FindPeople(unsigned int);
+ T2People* FindUnusedPeople();
+ void DispatchIdle(T2TowerDoc*);
+ void DrawSearchedPerson(T2TowerDoc*);
+ void SetWalkPeople(int);
+ void TenantRemoved(unsigned int);
+ void AddStress(int);
+ void Read(T2Archive&, T2TowerDoc*);
+ void Write(T2Archive&);
+ void BreakoutEmergency(T2TowerDoc*);
+
+ T2PeopleArrayList(const T2PeopleArrayList&) {}
+ T2PeopleArrayList& operator=(const T2PeopleArrayList&) {}
+};