summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2OutObjArrayList.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2OutObjArrayList.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to 'src/T2DLL/T2OutObjArrayList.h')
-rw-r--r--src/T2DLL/T2OutObjArrayList.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/T2DLL/T2OutObjArrayList.h b/src/T2DLL/T2OutObjArrayList.h
index 137c182..a028bdd 100644
--- a/src/T2DLL/T2OutObjArrayList.h
+++ b/src/T2DLL/T2OutObjArrayList.h
@@ -1,20 +1,18 @@
#pragma once
#include "common.h"
+#include "LArray.h"
-class T2OutObjArrayList {
+class AFX_EXT_CLASS T2OutObjArrayList : public LArray {
public:
T2OutObjArrayList();
virtual ~T2OutObjArrayList();
- void Add(T2OutObjArray*);
- T2OutObjArray* GetItemAt(int);
+ void Add(T2OutObjArray* inArray);
+ T2OutObjArray* GetItemAt(int inIndex);
T2OutObj* FindUnusedOutObj();
- void DispatchIdle(T2TowerDoc*);
- T2OutObj* GetIndOutObj(unsigned int);
- T2OutObj* GetOutObjByID(unsigned int);
- int CalcMentenanceCost(T2TowerDoc*) const;
- void Read(T2Archive&, T2TowerDoc*);
- void Write(T2Archive&);
-
- T2OutObjArrayList(const T2OutObjArrayList&) {}
- T2OutObjArrayList& operator=(const T2OutObjArrayList&) {}
+ void DispatchIdle(T2TowerDoc* inDoc);
+ T2OutObj* GetIndOutObj(unsigned int inIndex);
+ T2OutObj* GetOutObjByID(unsigned int inOutObjID);
+ int CalcMentenanceCost(T2TowerDoc* inDoc) const;
+ void Read(T2Archive& inArchive, T2TowerDoc* inDoc);
+ void Write(T2Archive& inArchive);
};