diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2MoverDef.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/T2DLL/T2MoverDef.h b/src/T2DLL/T2MoverDef.h new file mode 100644 index 0000000..32960c6 --- /dev/null +++ b/src/T2DLL/T2MoverDef.h @@ -0,0 +1,43 @@ +#pragma once +#include "common.h" + +class T2MoverDef { +public: + T2MoverDef(unsigned long, T2PluginSpecifier&, CResFile*, T2WorldDef*, T2MoverPlugin*); + virtual ~T2MoverDef(); + virtual void GetName(CString&); + int InitObject(T2Mover*, const POINT&); + virtual AREACHECKCODE AreaCheck(T2TowerDoc*, RECT&, unsigned int, int); + virtual int ClickProc(T2TowerDoc*, RECT*, unsigned int&); + virtual int MakeRequestProc(T2TowerDoc*, T2Equip*); + virtual PROCCODE AddModuleProc(T2TowerDoc*, T2Equip*, RECT*); + virtual int GetMinMaxRangeProc(T2TowerDoc*, T2Equip*, int); + virtual int HandleUpProc(T2TowerDoc*, T2Equip*, POINT); + virtual int HandleDownProc(T2TowerDoc*, T2Equip*, POINT); + virtual int ClickShaftProc(T2TowerDoc*, T2Equip*, POINT); + virtual int CalcModulePatIndex(int); + virtual CURSORTYPE QueryCursor(T2TowerDoc*, POINT, CString&, RECT&, POINT&, int, unsigned int, int); + virtual int IsaKindOfStopProc(T2TowerDoc*, T2Equip*, int, int) const; + virtual int CalcMentenanceCostProc(const T2HaveOutViewObject*) const; + virtual T2InfoDialog* ShowInfoDialog(T2TowerDoc*, T2Mover*, CPoint); + virtual int GetInfoDialogID(T2TowerDoc*, const T2Mover*, PARTCODE, int) const; + virtual T2InfoDialog* ConstructInfoDialog(T2Mover*, PARTCODE, int); + + int GetMinLength() const {} + int GetMaxLength() const {} + virtual int IsMover() {} + virtual int InitObject(T2Object*) {} + virtual int CalcModulePosProc(T2Equip*, T2MoverModule*, ERequestUpDown) {} + virtual int CalcModuleRectProc(const T2Mover*, const T2MoverModule*, RECT&, int&) const {} + int GetSpeed(int) const {} + T2MoverDef& operator=(T2MoverDef&) {} + int IsStair() {} + void GetAddSize(RECT&) const {} + int GetDefaultWait() const {} + int GetMaxModule() const {} + void GetModuleInset(RECT&) const {} + int GetMaxStop() const {} + T2BitImage* GetOffBitMap() const {} + int GetScore() const {} + static unsigned int GetRequiredRequestSpace() {} +}; |