summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2OutObjArrayList.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);
};