blob: 8c1c48b7e86cd0a8705b6d37d9a6490c90bba816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef T2DLL_T2ELVMODULELIST_H
#define T2DLL_T2ELVMODULELIST_H
#include "../common.h"
#include "T2MoverModuleList.h"
class AFX_CLASS_EXPORT T2ElvModuleList : public T2MoverModuleList {
public:
T2ElvModuleList();
virtual ~T2ElvModuleList();
virtual BOOL Init(T2MoverDef* moverDef, const RECT& baseRect);
virtual void Destruct(T2TowerDoc*);
virtual T2MoverModule* ConstructModule();
virtual void StopAdded(T2TowerDoc*, T2Mover*, int);
virtual void StopRemoved(T2TowerDoc*, T2Mover*, int);
virtual void Read(T2Archive&, T2TowerDoc*);
virtual void Write(T2Archive&);
void AddModule(T2TowerDoc* towerDoc, int count, int position);
int DestructModule(T2TowerDoc* towerDoc, T2Mover* mover, POINT pt);
BOOL IsHomePosition(int position);
void MoverExpanded(T2Mover*, EEquipPos pos, int count);
protected:
virtual DWORD GetMMClassID() { return 'ElML'; }
void CalcBaseQDRect(RECT&);
RECT mModuleInset;
};
#endif
|