diff options
Diffstat (limited to 'src/T2DLL/T2MoverArrayList.h')
-rw-r--r-- | src/T2DLL/T2MoverArrayList.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/src/T2DLL/T2MoverArrayList.h b/src/T2DLL/T2MoverArrayList.h index 8f944bb..8d69581 100644 --- a/src/T2DLL/T2MoverArrayList.h +++ b/src/T2DLL/T2MoverArrayList.h @@ -1,22 +1,20 @@ #pragma once #include "common.h" +#include "LArray.h" -class T2MoverArrayList { +class AFX_EXT_CLASS T2MoverArrayList : public LArray { public: T2MoverArrayList(); virtual ~T2MoverArrayList(); - void Add(T2MoverArray*); + void Add(T2MoverArray* inArray); unsigned int GetItemCount(); - T2MoverArray* GetItemAt(int); - T2Mover* GetMoverByID(unsigned int); + T2MoverArray* GetItemAt(int inIndex); + T2Mover* GetMoverByID(unsigned int inMoverID); T2Mover* FindUnusedMover(); - void DrawMoverAll(T2TowerDoc*, const RECT&); - void DispatchIdle(T2TowerDoc*); - void Read(T2Archive&, T2TowerDoc*); - void Write(T2Archive&); - int CalcMentenanceCost(T2TowerDoc*) const; - LArray* MakeMoverList(int); - - T2MoverArrayList(const T2MoverArrayList&) {} - T2MoverArrayList& operator=(const T2MoverArrayList&) {} + void DrawMoverAll(T2TowerDoc* inDoc, const RECT& inRect); + void DispatchIdle(T2TowerDoc* inDoc); + void Read(T2Archive& inArchive, T2TowerDoc* inDoc); + void Write(T2Archive& inArchive); + int CalcMentenanceCost(T2TowerDoc* inDoc) const; + LArray* MakeMoverList(int inType); }; |