diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
commit | 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch) | |
tree | 62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/CDefRsrcPlugin.cpp | |
parent | c0c336500955a23e344651e5412c9d9d441ef4ee (diff) | |
download | t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip |
i am in hell
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/CDefRsrcPlugin.cpp | 197 |
1 files changed, 195 insertions, 2 deletions
diff --git a/src/T2DLL/CDefRsrcPlugin.cpp b/src/T2DLL/CDefRsrcPlugin.cpp index a4f8b42..20b1d90 100644 --- a/src/T2DLL/CDefRsrcPlugin.cpp +++ b/src/T2DLL/CDefRsrcPlugin.cpp @@ -1,12 +1,205 @@ -#include "CDefRsrcPlugin.h" +#define ATOI_KLUDGE +#include "common.h" + +// this is a horrible, horrible hack +// because CDefRsrcPlugin is the first TU +#include "UT2Utils.h" +#include "URect.h" +#include "UPoint.h" +#include "T2PaletteAnimeDef.h" +#include "LAttachment.h" +#include "LAttachable.h" +#include "T2PluginSpecifier.h" +#include "CLink.h" +#include "LArray.h" +#include "LBroadcaster.h" +#include "LListener.h" +#include "LPeriodical.h" +#include "CResFile.h" +#include "T2Archive.h" +#include "T2BitImage.h" #include "T2ImageObj.h" +#include "T2DateTime.h" +#include "T2WeatherFilter.h" +#include "T2DayLightFilter.h" +#include "T2SpriteObj.h" +#include "T2WordDef.h" +#include "T2WordDefArray.h" +#include "Wave.h" +#include "T2SoundPlayer.h" +#include "T2Balloon.h" +#include "T2FireWork.h" +#include "T2DlgItemButtonBase.h" +#include "T2DlgItemIButton.h" +#include "T2DlgItemOK.h" +#include "T2DlgItemCANCEL.h" +#include "T2DlgItemTButton.h" +#include "T2DlgItemICheck.h" +#include "T2DlgItemCheck.h" +#include "T2DlgItemScr.h" +#include "T2DlgItemHScr.h" +#include "T2DlgItemVScr.h" +#include "T2DlgItemBox.h" +#include "T2DlgItemText.h" +#include "T2DlgItemGageBase.h" +#include "T2DlgItemStressGage.h" +#include "T2DlgItemPPLEvalGage.h" +#include "T2DlgItemBelongGage.h" +#include "T2DlgItemCustomerGage.h" +#include "T2DlgItemProfitsGage.h" +#include "T2DlgItemImageTable.h" +#include "T2DlgItemImage.h" +#include "CToggleButtonDisabled.h" +#include "T2VerticalTable.h" +#include "T2MovieTable.h" +#include "T2GuestroomTable.h" +#include "T2HallEventTable.h" +#include "CTokenizer.h" +#include "T2Dialog.h" +#include "T2GlobalData.h" +#include "CPluginInfoArray.h" +#include "CPluginInfo.h" +#include "CPluginInfoComparator.h" +#include "T2TowerMessage.h" +#include "CObjectList.h" +#include "T2Object.h" +#include "T2ObjectArray.h" +#include "T2ObjectArrayList.h" +#include "T2DrawableObject.h" +#include "T2HaveOutViewObject.h" +#include "T2EquipInfoDialog.h" +#include "T2TenantInfoDialog.h" +#include "CPlugin.h" +#include "CFilePlugin.h" +#include "CFilePluginList.h" +#include "CFilePluginDB.h" +#include "CDefRsrcPlugin.h" +#include "T2TemplatePlugin.h" +#include "CProgramPlugin.h" +#include "T2ToolPlugin.h" +#include "T2TemplatePluginList.h" +#include "T2TemplatePluginDB.h" +#include "CResourcePlugin.h" +#include "T2SubPlugin.h" +#include "T2AdvertiseTable.h" +#include "T2AdvertisePlugin.h" +#include "T2HallEventPlugin.h" +#include "T2MoviePlugin.h" +#include "T2PeoplePtrList.h" +#include "T2TempPluginComparator.h" +#include "T2PlaceParamDef.h" +#include "T2TenantMemberTableDef.h" +#include "T2TenantMemberDef.h" +#include "T2PeopleTypeArray.h" +#include "T2PeopleTimeZoneList.h" +#include "T2PeopleDemandList.h" +#include "T2ToolDef.h" +#include "T2EquipDef.h" +#include "T2TenantDef.h" +#include "T2MoverDef.h" +#include "T2OuterObjDef.h" +#include "T2SilhouetteDef.h" +#include "T2MatterDef.h" +#include "T2PeopleAnimeDefElem.h" +#include "T2PeopleAnimeDef.h" +#include "T2PeopleType.h" +#include "T2Matter.h" +#include "T2PeopleDef.h" +#include "T2People.h" +#include "T2PeopleLinkIterator.h" +#include "T2Pool.h" +#include "T2Equip.h" +#include "T2Tenant.h" +#include "T2Request.h" +#include "T2Mover.h" +#include "T2PeopleArray.h" +#include "T2PeopleArrayList.h" +#include "T2OutObj.h" +#include "T2OuterObjList.h" +#include "T2OutObjArray.h" +#include "T2OutObjArrayList.h" +#include "T2TenantArray.h" +#include "T2TenantArrayList.h" +#include "T2MoverArray.h" +#include "T2MoverArrayList.h" +#include "T2RegistedTenantDB.h" +#include "T2RequestArray.h" +#include "T2RequestArrayList.h" +#include "T2RequestIDArray.h" +#include "T2MoverModule.h" +#include "T2MoverModuleList.h" +#include "T2StairModule.h" +#include "T2StairModuleList.h" +#include "T2ElevatorModule.h" +#include "T2ElvModuleList.h" +#include "T2StopInfoArray.h" +#include "T2UnitInfo.h" +#include "T2FloorInfo.h" +#include "T2FInfoAreaIterator.h" +#include "T2FInfoPtIterator.h" +#include "UT2BkgndInfo.h" +#include "T2WorldPlugin.h" +#include "UT2Coordinate.h" +#include "T2WorldDef.h" +#include "T2PeopleLoader.h" +#include "T2CrossEquipArray.h" +#include "T2TenantCEArray.h" +#include "T2RouteCEArray.h" +#include "T2FloorCEArray.h" +#include "T2MoverCEArray.h" +#include "T2EquipPlugin.h" +#include "T2TenantPlugin.h" +#include "T2MoverPlugin.h" +#include "T2OuterObjPlugin.h" +#include "T2EquipPtrList.h" +#include "T2FloorPtrList.h" +#include "T2RoutingTableElem.h" +#include "T2MoverRoutingTable.h" +#include "T2RoutingTable.h" +#include "T2RouteNavigator.h" +#include "T2TowerEvent.h" +#include "T2EventItem.h" +#include "T2XEvent.h" +#include "T2BlackOut.h" +#include "T2FireBurning.h" +#include "T2MetroRailway.h" +#include "T2SantaClaus.h" +#include "T2Terrorist.h" +#include "T2VisitVIP.h" +#include "T2OutDecoration.h" +#include "T2OutsideInfo.h" +#include "T2MovieParamArray.h" +#include "T2TrafficInfo.h" +#include "T2Name.h" +#include "T2NameList.h" +#include "T2NameTable.h" +#include "T2CustomerTableIterator.h" +#include "T2DayParamDef.h" +#include "T2PaletteAnime.h" +#include "T2TowerVision.h" +#include "T2Settlement.h" +#include "T2Maru_Reggae.h" +#include "T2RegistedTenantIterator.h" +#include "T2OptionPlugin.h" +#include "T2OptionPluginList.h" +#include "T2StewardDialog.h" +#include "T2ClassFactory.h" +#include "T2MsgWindowCallback.h" +#include "T2ToolWindow.h" +#include "T2ToolCallback.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif CDefRsrcPlugin::CDefRsrcPlugin(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile) : CPlugin(type, specifier) { mStr48 = specifier.mPluginName; #line 32 - mImageObj = DEBUG_NEW T2ImageObj; + mImageObj = new T2ImageObj; } /*virtual*/ CDefRsrcPlugin::~CDefRsrcPlugin() { |