summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TowerEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2TowerEvent.h')
-rw-r--r--src/T2DLL/T2TowerEvent.h55
1 files changed, 35 insertions, 20 deletions
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;
};