summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2FireBurning.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2FireBurning.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/T2DLL/T2FireBurning.h b/src/T2DLL/T2FireBurning.h
new file mode 100644
index 0000000..6db462c
--- /dev/null
+++ b/src/T2DLL/T2FireBurning.h
@@ -0,0 +1,67 @@
+#pragma once
+#include "common.h"
+
+class T2FireBurning {
+public:
+ T2FireBurning(T2TowerEvent*, CResFile*, int);
+ virtual ~T2FireBurning();
+ virtual int Start(T2TowerDoc*);
+ virtual int Exec(T2TowerDoc*);
+ virtual void StartEvent(T2TowerDoc*, POINT, const T2Tenant*);
+protected:
+ virtual void SetupDialog(T2Dialog*);
+public:
+ virtual unsigned int DialogHook(T2EventDialog*, unsigned int, T2TowerDoc*);
+ virtual void IdleEvent(T2TowerDoc*);
+ virtual void StopEvent(T2TowerDoc*);
+ int MakeFire(POINT, T2TowerDoc*);
+protected:
+ int AdjustFirePos(T2FloorInfo*, POINT&, RECT&) const;
+public:
+ void Extinguish(T2Fire*);
+ int DoExtinguish(CPoint&);
+protected:
+ void CallFireman(T2TowerDoc*, const T2Tenant*);
+ int IsBreakoutFire(const T2TowerDoc*, POINT&, T2Tenant*&) const;
+
+public:
+ virtual unsigned long GetID() {}
+ int IsEmergency() {}
+ T2FireBurning(const T2FireBurning&) {}
+ T2FireBurning& operator=(const T2FireBurning&) {}
+};
+class T2Fire {
+public:
+ T2Fire(POINT&, T2TowerDoc*, int, T2ImageObj*);
+ ~T2Fire();
+protected:
+ void SetFireman(T2People*);
+public:
+ int Move();
+ int HitTest(CPoint&, CRect&);
+ int ExtinguishByFireman(T2TowerDoc*, T2PeoplePtrList*);
+
+ void SetArsonTenant(T2Tenant*) {}
+ T2Tenant* GetArsonTenant() {}
+ T2People* GetFireman() const {}
+ T2Fire& operator=(const T2Fire&) {}
+};
+class T2Helicopter {
+public:
+ T2Helicopter(T2TowerDoc*, const T2Tenant*);
+ ~T2Helicopter();
+ void Move(T2TowerDoc*);
+
+ T2Helicopter& operator=(const T2Helicopter&) {}
+};
+class T2FireAttach {
+public:
+ T2FireAttach(T2EventItem*, unsigned int, int);
+ virtual ~T2FireAttach();
+protected:
+ virtual void ExecuteSelf(unsigned int, void*);
+
+public:
+ T2FireAttach(const T2FireAttach&) {}
+ T2FireAttach& operator=(const T2FireAttach&) {}
+};