#pragma once #include "common.h" #include "LArray.h" class AFX_CLASS_EXPORT T2TowerEvent { public: T2TowerEvent(T2WorldDef* inWorldDef); ~T2TowerEvent(); void InitTowerEvent(T2TowerDoc* inDoc); T2FireBurning* GetFireBurning(); T2MetroRailway* GetMetroRailway(); T2BlackOut* GetBlackOut(); T2TowerVision* GetTowerVision(); T2Transport* GetCruise(); BOOL IsBlackOut(); void SetLatestBuild(T2Equip* inEquip, T2ToolDef* inToolDef, BOOL inFlag); T2Equip* GetLatestBuild(); void AppendStandby(T2EventItem* inEventItem); void InsertExecute(T2EventItem* inEventItem); void MakeTowerVisionEvent(T2OutObj* inOutObj); void KillTowerVisionEvent(); T2EventItem* MakeXEvent(DWORD inID); void KillXEvent(DWORD inID); T2EventItem* GetEvent(DWORD inID); unsigned int GetXEvent(DWORD inID); void StopEvent(); 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); 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; };