summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2MoverArrayList.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/T2MoverArrayList.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2MoverArrayList.h24
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);
};