From 37e364b2c6cc7487a1c888d256a73e5337bb7189 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 14 Jun 2023 00:50:34 +0100 Subject: initial commit --- src/T2DLL/T2TowerEvent.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/T2DLL/T2TowerEvent.h (limited to 'src/T2DLL/T2TowerEvent.h') 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&) {} +}; -- cgit v1.2.3