summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2MoverDef.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-14 00:50:34 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-14 00:50:34 +0100
commit37e364b2c6cc7487a1c888d256a73e5337bb7189 (patch)
treeeaf6e857382eef16c2dd940eb4125536fbe068bd /src/T2DLL/T2MoverDef.h
downloadt2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.tar.gz
t2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.zip
initial commit
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2MoverDef.h43
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() {}
+};