From 0f3cba6fcea0ffd511dfe3275d57a5b9e69be5be Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Mon, 10 Jul 2023 02:10:20 +0100 Subject: build a barely-tested Burger plugin --- src/Plugins/Common/StdFoodInfoDialog.cpp | 9 ++++--- src/Plugins/Common/StdFoodInfoDialog.h | 2 +- src/Plugins/Common/StdShopInfoDialog.cpp | 19 ++++++------- src/Plugins/Common/StdShopInfoDialog.h | 2 +- src/Plugins/Common/StdTenantInfoDialog.cpp | 43 ++++++++++++++++-------------- src/Plugins/Common/StdTenantInfoDialog.h | 4 +-- 6 files changed, 42 insertions(+), 37 deletions(-) (limited to 'src/Plugins/Common') diff --git a/src/Plugins/Common/StdFoodInfoDialog.cpp b/src/Plugins/Common/StdFoodInfoDialog.cpp index e3002bd..6b40903 100644 --- a/src/Plugins/Common/StdFoodInfoDialog.cpp +++ b/src/Plugins/Common/StdFoodInfoDialog.cpp @@ -1,9 +1,10 @@ +#include "StdAfx.h" #include "../Food/Common/Trash.h" #include "StdFoodInfoDialog.h" -#include "T2EquipPtrList.h" -#include "T2RouteNavigator.h" -#include "T2Tenant.h" -#include "T2TowerDoc.h" +#include "../../T2DLL/T2EquipPtrList.h" +#include "../../T2DLL/T2RouteNavigator.h" +#include "../../T2DLL/T2Tenant.h" +#include "../../T2TowerDoc.h" #ifdef _DEBUG #define new DEBUG_NEW diff --git a/src/Plugins/Common/StdFoodInfoDialog.h b/src/Plugins/Common/StdFoodInfoDialog.h index f340a18..380b8be 100644 --- a/src/Plugins/Common/StdFoodInfoDialog.h +++ b/src/Plugins/Common/StdFoodInfoDialog.h @@ -1,5 +1,5 @@ #pragma once -#include "common.h" +#include "../../common.h" #include "StdShopInfoDialog.h" class StdFoodInfoDialog : public StdShopInfoDialog { diff --git a/src/Plugins/Common/StdShopInfoDialog.cpp b/src/Plugins/Common/StdShopInfoDialog.cpp index 43e7283..67aee0b 100644 --- a/src/Plugins/Common/StdShopInfoDialog.cpp +++ b/src/Plugins/Common/StdShopInfoDialog.cpp @@ -1,13 +1,14 @@ +#include "StdAfx.h" #include "StdShopInfoDialog.h" -#include "T2DateTime.h" -#include "T2DlgItemArrows.h" -#include "T2DlgItemEdit.h" -#include "T2DlgItemMerchandiseField.h" -#include "T2Tenant.h" -#include "T2TenantMemberDef.h" -#include "T2TenantMemberTableDef.h" -#include "T2TowerDoc.h" -#include "T2WorldDef.h" +#include "../../T2DLL/T2DateTime.h" +#include "../../T2DLL/T2DlgItemArrows.h" +#include "../../T2DLL/T2DlgItemEdit.h" +#include "../../T2DLL/T2DlgItemMerchandiseField.h" +#include "../../T2DLL/T2Tenant.h" +#include "../../T2DLL/T2TenantMemberDef.h" +#include "../../T2DLL/T2TenantMemberTableDef.h" +#include "../../T2TowerDoc.h" +#include "../../T2DLL/T2WorldDef.h" #ifdef _DEBUG #define new DEBUG_NEW diff --git a/src/Plugins/Common/StdShopInfoDialog.h b/src/Plugins/Common/StdShopInfoDialog.h index 280b2cc..2028828 100644 --- a/src/Plugins/Common/StdShopInfoDialog.h +++ b/src/Plugins/Common/StdShopInfoDialog.h @@ -1,5 +1,5 @@ #pragma once -#include "common.h" +#include "../../common.h" #include "StdTenantInfoDialog.h" class StdShopInfoDialog : public StdTenantInfoDialog { diff --git a/src/Plugins/Common/StdTenantInfoDialog.cpp b/src/Plugins/Common/StdTenantInfoDialog.cpp index 3bad68c..3327674 100644 --- a/src/Plugins/Common/StdTenantInfoDialog.cpp +++ b/src/Plugins/Common/StdTenantInfoDialog.cpp @@ -1,24 +1,25 @@ +#include "StdAfx.h" #include "StdTenantInfoDialog.h" -#include "T2DlgItemCustomerGage.h" -#include "T2DlgItemPeopleView.h" -#include "T2DlgItemProfitsGage.h" -#include "T2DlgItemText.h" -#include "T2FloorInfo.h" -#include "T2Maru_Reggae.h" -#include "T2Mover.h" -#include "T2Name.h" -#include "T2NameList.h" -#include "T2People.h" -#include "T2PeopleLinkIterator.h" -#include "T2PeoplePtrList.h" -#include "T2RouteCEArray.h" -#include "T2RouteNavigator.h" -#include "T2Tenant.h" -#include "T2TenantDef.h" -#include "T2TowerDoc.h" -#include "T2WorldDef.h" -#include "UT2Coordinate.h" -#include "UT2Utils.h" +#include "../../T2DLL/T2DlgItemCustomerGage.h" +#include "../../T2DLL/T2DlgItemPeopleView.h" +#include "../../T2DLL/T2DlgItemProfitsGage.h" +#include "../../T2DLL/T2DlgItemText.h" +#include "../../T2DLL/T2FloorInfo.h" +#include "../../T2DLL/T2Maru_Reggae.h" +#include "../../T2DLL/T2Mover.h" +#include "../../T2DLL/T2Name.h" +#include "../../T2DLL/T2NameList.h" +#include "../../T2DLL/T2People.h" +#include "../../T2DLL/T2PeopleLinkIterator.h" +#include "../../T2DLL/T2PeoplePtrList.h" +#include "../../T2DLL/T2RouteCEArray.h" +#include "../../T2DLL/T2RouteNavigator.h" +#include "../../T2DLL/T2Tenant.h" +#include "../../T2DLL/T2TenantDef.h" +#include "../../T2TowerDoc.h" +#include "../../T2DLL/T2WorldDef.h" +#include "../../T2DLL/UT2Coordinate.h" +#include "../../T2DLL/UT2Utils.h" StdTenantInfoDialog::StdTenantInfoDialog(T2Tenant *inTenant) : T2TenantInfoDialog(inTenant) @@ -45,6 +46,8 @@ StdTenantInfoDialog::StdTenantInfoDialog(T2Tenant *inTenant) if (name == "") nameField->SetDescriptor(mTenantName); } + + return false; } /*virtual*/ void StdTenantInfoDialog::OnT2Create() { diff --git a/src/Plugins/Common/StdTenantInfoDialog.h b/src/Plugins/Common/StdTenantInfoDialog.h index 6220261..553a9ba 100644 --- a/src/Plugins/Common/StdTenantInfoDialog.h +++ b/src/Plugins/Common/StdTenantInfoDialog.h @@ -1,6 +1,6 @@ #pragma once -#include "common.h" -#include "T2TenantInfoDialog.h" +#include "../../common.h" +#include "../../T2DLL/T2TenantInfoDialog.h" class StdTenantInfoDialog : public T2TenantInfoDialog { public: -- cgit v1.2.3