#pragma once #include #include #include #include #include #include #include #include #include #include #include class CEditWFocus; class CFilePlugin; class CFilePluginList; class CLink; class CObjectQueue; class CPluginInfo; class CProgramPlugin; class CResFile; class CResourcePlugin; class CT2App; class CTokenizer; class CWave; class DbgIPS; class DbgStepRun; class LArray; class LArrayIterator; class LAttachable; class LAttachment; class LBroadcaster; class LListener; class MoverSearchDlg; class PeopleSearchDlg; class SoundDlg; class SpeedDlg; class T2AdvertisePlugin; class T2Archive; class T2BitImage; class T2BlackOut; class T2ColdTableDef; class T2CrossEquipArray; class T2CtrlPalette; class T2DateTime; class T2DayLightFilter; class T2DayParamDef; class T2Dialog; class T2DlgItem; class T2DlgItemAllPurpose; class T2DlgItemAnimation; class T2DlgItemHScr; class T2DlgItemVScr; class T2DrawableObject; class T2ElevatorModule; class T2Equip; class T2EquipDef; class T2EquipPlugin; class T2EquipPtrList; class T2EventDialog; class T2EventItem; class T2Fire; class T2FireAttach; class T2FireBurning; class T2FloorInfo; class T2FloorNumberTable; class T2FloorPtrList; class T2GlobalData; class T2GuestroomItem; class T2GuestroomTable; class T2HallEventItem; class T2HallEventPlugin; class T2HaveOutViewObject; class T2Helicopter; class T2ImageObj; class T2InfoDialog; class T2MainWindow; class T2Maru_Reggae; class T2Matter; class T2MatterArray; class T2MatterArrayList; class T2MatterDef; class T2Message; class T2MetroRailway; class T2Mover; class T2MoverArray; class T2MoverArrayList; class T2MoverDef; class T2MoverModule; class T2MoverModuleList; class T2MoverModuleTable; class T2MoverPlugin; class T2MoverRoutingTable; class T2MovieParamArray; class T2MoviePlugin; class T2MoviePluginList; class T2MsgWindow; class T2MWControl; class T2Name; class T2NameList; class T2Object; class T2ObjectArray; class T2ObjectArrayList; class T2OptionPlugin; class T2OptionPluginList; class T2OutDeco; class T2OutDecoration; class T2OuterObjList; class T2OutObj; class T2OutObjArray; class T2OutObjArrayList; class T2OuterObjDef; class T2OutsideInfo; class T2PaletteAnime; class T2PaletteAnimeDef; class T2People; class T2PeopleArray; class T2PeopleArrayList; class T2PeopleAnimeDef; class T2PeopleAnimeDefElem; class T2PeopleDef; class T2PeoplePtrList; class T2PeopleTimeZoneList; class T2PeopleType; class T2PeopleTypeArray; class T2PlaceParamDef; class T2PluginLoader; class T2PluginSpecifier; class T2Pool; class T2PoolDef; class T2PoolDefDemandElem; class T2PoolGradeDef; class T2PoolTimeZoneDef; class T2RegistedTenantDB; class T2Request; class T2RequestArray; class T2RequestArrayList; class T2RequestIDArray; class T2ReturnStack; class T2RouteCEArray; class T2RouteNavigator; class T2RoutingTable; class T2RoutingTableElem; class T2SantaClaus; class T2SeasonParamDef; class T2Settlement; class T2SilhouetteDef; class T2SoundObjItem; class T2SoundObjItemList; class T2SoundPlayer; class T2Sprite; class T2SpriteObj; class T2StopInfoArray; class T2SubPlugin; class T2TemplatePlugin; class T2TemplatePluginDB; class T2TemplatePluginList; class T2Tenant; class T2TenantArray; class T2TenantArrayList; class T2TenantDef; class T2TenantMemberDef; class T2TenantMemberTableDef; class T2TenantPlugin; class T2ToolCallback; class T2ToolDef; class T2ToolDefDB; class T2ToolDefList; class T2ToolIconItem; class T2ToolIconList; class T2ToolPlugin; class T2ToolWindow; class T2TowerDoc; class T2TowerEvent; class T2TowerMainView; class T2TowerMessage; class T2TowerVision; class T2TrafficInfo; class T2Transport; class T2TreasureDialog; class T2TreasurePane; class T2UnitInfo; class T2WeatherFilter; class T2WordDefArray; class T2WorldDef; class T2WorldPlugin; class T2XEvent; class TenantSearchDlg; class WalkerDlg; enum AREACHECKCODE { AreaCheckCode_0, AreaCheckCode_1, AreaCheckCode_2 }; enum CURSORTYPE { CursorType_0 }; enum MOUSEEVENT { MouseEvent_0 }; enum OPTIONEVENTTYPE { OptionEventType_0, // idle - no data OptionEventType_1, OptionEventType_2, OptionEventType_3, OptionEventType_4, OptionEventType_5, OptionEventType_6, OptionEventType_7, OptionEventType_8, OptionEventType_9, OptionEventType_10, OptionEventType_11, // start of GetInterviewWords OptionEventType_12, // end of GetInterviewWords }; struct OptionEvent11Data { T2People *people; CString *str; }; enum PARTCODE { PartCode_0, PartCode_1, PartCode_2, PartCode_3, PartCode_4 }; enum PROCCODE { ProcCode_0, ProcCode_1, ProcCode_2 }; enum ROOFANDFLOOR { RoofAndFloor_Roof = 1, RoofAndFloor_Floor = 2 }; enum SIDEOBJPATTERN { SideObjPattern_0, SideObjPattern_1 }; enum VIEWMODE { ViewMode_0, ViewMode_1, ViewMode_2, ViewMode_3, ViewMode_4, ViewMode_5, ViewMode_6, }; enum BOOL3 { BOOL3_NEG1 = -1, BOOL3_0 = 0, BOOL3_1 = 1 }; enum EEquipPos { EEquipPos_0, EEquipPos_1, EEquipPos_2, EEquipPos_3 }; enum ERequestUpDown { ERequestUpDown_0, ERequestUpDown_1 }; struct BkgndInfo; struct T2RoofInfo; // not sure if this is a struct or a class struct T2TreasureStatus { int _0; char text[256]; int animID1; int animID2; }; struct Point { int v; int h; }; struct SDimension16 { short height; short width; }; struct TableCellT { UINT row; UINT col; }; enum { DrawMode0 = 0, DrawMode1, DrawMode2, DrawMode3, DrawMode4 }; #ifdef _MSC_VER #define MSVC_STDCALL __stdcall #else #define MSVC_STDCALL #endif // why is this necessary? inline int MSVC_STDCALL my_atoi(const char *s) { int v = 0; while (*s && *s >= '0' && *s <= '9') { v = (v * 10) + (*s - '0'); s++; } return v; } #define atoi my_atoi