From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2TowerEvent.h | 55 ++++++++++++++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 20 deletions(-) (limited to 'src/T2DLL/T2TowerEvent.h') diff --git a/src/T2DLL/T2TowerEvent.h b/src/T2DLL/T2TowerEvent.h index f31c0a8..becce7d 100644 --- a/src/T2DLL/T2TowerEvent.h +++ b/src/T2DLL/T2TowerEvent.h @@ -1,35 +1,50 @@ #pragma once #include "common.h" +#include "LArray.h" -class T2TowerEvent { +class AFX_EXT_CLASS T2TowerEvent { public: - T2TowerEvent(T2WorldDef*); + T2TowerEvent(T2WorldDef* inWorldDef); ~T2TowerEvent(); - void InitTowerEvent(T2TowerDoc*); + void InitTowerEvent(T2TowerDoc* inDoc); T2FireBurning* GetFireBurning(); T2MetroRailway* GetMetroRailway(); T2BlackOut* GetBlackOut(); T2TowerVision* GetTowerVision(); T2Transport* GetCruise(); - int IsBlackOut(); - void SetLatestBuild(T2Equip*, T2ToolDef*, int); + BOOL IsBlackOut(); + void SetLatestBuild(T2Equip* inEquip, T2ToolDef* inToolDef, BOOL inFlag); T2Equip* GetLatestBuild(); - void AppendStandby(T2EventItem*); - void InsertExecute(T2EventItem*); - void MakeTowerVisionEvent(T2OutObj*); + void AppendStandby(T2EventItem* inEventItem); + void InsertExecute(T2EventItem* inEventItem); + void MakeTowerVisionEvent(T2OutObj* inOutObj); void KillTowerVisionEvent(); - T2EventItem* MakeXEvent(unsigned long); - void KillXEvent(unsigned long); - T2EventItem* GetEvent(unsigned long); - unsigned int GetXEvent(unsigned long); + T2EventItem* MakeXEvent(DWORD inID); + void KillXEvent(DWORD inID); + T2EventItem* GetEvent(DWORD inID); + unsigned int GetXEvent(DWORD inID); void StopEvent(); - int Idle(T2TowerDoc*); - void StoreWaitSequence(T2EventItem*); - void Write(T2Archive&); - void Read(T2Archive&); - void DrawRubble(T2TowerDoc*, T2Tenant*); - void ViewModeChanged(T2TowerDoc*, VIEWMODE); + int Idle(T2TowerDoc* inDoc); + void StoreWaitSequence(T2EventItem* inEventItem); + void Write(T2Archive& inArchive); + void Read(T2Archive& inArchive); + void DrawRubble(T2TowerDoc* inDoc, T2Tenant* inTenant); + void ViewModeChanged(T2TowerDoc* inDoc, VIEWMODE inViewMode); - T2TowerEvent(const T2TowerEvent&) {} - T2TowerEvent& operator=(const T2TowerEvent&) {} + T2WorldDef *mWorldDef; + T2TowerDoc *mDocument; + int _8; + int mLevel; + LArray mStandby; + LArray mWaiting; + LArray mRunning; + T2FireBurning *mFireBurning; + T2MetroRailway *mMetroRailway; + T2BlackOut *mBlackOut; + T2SantaClaus *mSantaClaus; + T2TowerVision *mTowerVision; + T2OutDecoration *mOutDecoration; + unsigned int _88; // which VIP bits have been allocated + T2Equip *mLatestBuild; + int _90; }; -- cgit v1.2.3