From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2OutObjArrayList.h | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'src/T2DLL/T2OutObjArrayList.h') 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); }; -- cgit v1.2.3