summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TowerEvent.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/T2TowerEvent.h
downloadt2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.tar.gz
t2win-37e364b2c6cc7487a1c888d256a73e5337bb7189.zip
initial commit
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2TowerEvent.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/T2DLL/T2TowerEvent.h b/src/T2DLL/T2TowerEvent.h
new file mode 100644
index 0000000..f31c0a8
--- /dev/null
+++ b/src/T2DLL/T2TowerEvent.h
@@ -0,0 +1,35 @@
+#pragma once
+#include "common.h"
+
+class T2TowerEvent {
+public:
+ T2TowerEvent(T2WorldDef*);
+ ~T2TowerEvent();
+ void InitTowerEvent(T2TowerDoc*);
+ T2FireBurning* GetFireBurning();
+ T2MetroRailway* GetMetroRailway();
+ T2BlackOut* GetBlackOut();
+ T2TowerVision* GetTowerVision();
+ T2Transport* GetCruise();
+ int IsBlackOut();
+ void SetLatestBuild(T2Equip*, T2ToolDef*, int);
+ T2Equip* GetLatestBuild();
+ void AppendStandby(T2EventItem*);
+ void InsertExecute(T2EventItem*);
+ void MakeTowerVisionEvent(T2OutObj*);
+ void KillTowerVisionEvent();
+ T2EventItem* MakeXEvent(unsigned long);
+ void KillXEvent(unsigned long);
+ T2EventItem* GetEvent(unsigned long);
+ unsigned int GetXEvent(unsigned long);
+ void StopEvent();
+ int Idle(T2TowerDoc*);
+ void StoreWaitSequence(T2EventItem*);
+ void Write(T2Archive&);
+ void Read(T2Archive&);
+ void DrawRubble(T2TowerDoc*, T2Tenant*);
+ void ViewModeChanged(T2TowerDoc*, VIEWMODE);
+
+ T2TowerEvent(const T2TowerEvent&) {}
+ T2TowerEvent& operator=(const T2TowerEvent&) {}
+};