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/T2MoverArrayList.h | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'src/T2DLL/T2MoverArrayList.h') 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); }; -- cgit v1.2.3