Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,018 changes: 1,018 additions & 0 deletions src/OpenSHC/Global/GetStringBasedOnHardcodedMaps.cpp

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_AICState.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "OpenSHC/AI/AICState.func.hpp"
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

#include "OpenSHC/Globals/DAT_AICState.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CBE0
void Init::Constructor_AICState()
{
MACRO_CALL_MEMBER(AI::AICState_Func::Constructor_AICState, DAT_AICState::ptr)();
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d740::get());
}

}
}
19 changes: 19 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_AIVState.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "OpenSHC/AI/AIVState.func.hpp"
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

#include "OpenSHC/Globals/DAT_AIVState.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CBC0
void Init::Constructor_AIVState()
{
MACRO_CALL_MEMBER(AI::AIVState_Func::Constructor_AIVState, DAT_AIVState::ptr)();
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d730::get());
}

}
}
19 changes: 19 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_BitMapState.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/IO/BitMapState.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

#include "OpenSHC/Globals/DAT_BitMapState.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059C8E0
void Init::Constructor_BitMapState()
{
MACRO_CALL_MEMBER(IO::BitMapState_Func::Constructor_BitMapState, DAT_BitMapState::ptr)();
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d5c0::get());
}

}
}
19 changes: 19 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_BuildingsState.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Map/Buildings/BuildingsState.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

#include "OpenSHC/Globals/DAT_BuildingsState.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CBA0
void Init::Constructor_BuildingsState()
{
MACRO_CALL_MEMBER(Map::Buildings::BuildingsState_Func::Constructor_BuildingsState, DAT_BuildingsState::ptr)();
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d720::get());
}

}
}
12 changes: 12 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_CRelated.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CD1E
void Init::Constructor_CRelated() { MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d7e8::get()); }

}
}
15 changes: 15 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_CreateLocaleMemoryRelated.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CCFC
void Init::Constructor_CreateLocaleMemoryRelated()
{
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d7d4::get());
}

}
}
19 changes: 19 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_DecoderState.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/IO/DecoderState.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

#include "OpenSHC/Globals/DAT_DecoderState.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059C980
void Init::Constructor_DecoderState()
{
MACRO_CALL_MEMBER(IO::DecoderState_Func::Constructor_DecoderState, DAT_DecoderState::ptr)();
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_Decoder::get());
}

}
}
12 changes: 12 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_Empty1.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CA10
void Init::Constructor_Empty1() { MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d650::get()); }

}
}
12 changes: 12 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_Empty2.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CC90
void Init::Constructor_Empty2() { MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d7a0::get()); }

}
}
19 changes: 19 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_FilePackager.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/IO/FilePackager.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

#include "OpenSHC/Globals/FilePackagerObj.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059C960
void Init::Constructor_FilePackager()
{
MACRO_CALL_MEMBER(IO::FilePackager_Func::Constructor_FilePackager, FilePackagerObj::ptr)();
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d600::get());
}

}
}
20 changes: 20 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_GameSynchronyState.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"
#include "OpenSHC/Synchrony/GameSynchronyState.func.hpp"

#include "OpenSHC/Globals/DAT_GameSynchronyState.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CCD0
void Init::Constructor_GameSynchronyState()
{
MACRO_CALL_MEMBER(
Synchrony::GameSynchronyState_Func::Constructor_GameSynchronyState, DAT_GameSynchronyState::ptr)();
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d7c0::get());
}

}
}
19 changes: 19 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_InsertKeyState.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Input/InsertKeyState.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

#include "OpenSHC/Globals/DAT_InsertKeyState.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059C7C0
void Init::Constructor_InsertKeyState()
{
MACRO_CALL_MEMBER(Input::InsertKeyState_Func::Constructor_InsertKeyState, DAT_InsertKeyState::ptr)();
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_InsertKeyState::get());
}

}
}
19 changes: 19 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_LandscapeState.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Map/LandscapeState.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"

#include "OpenSHC/Globals/DAT_LandscapeState.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CC00
void Init::Constructor_LandscapeState()
{
MACRO_CALL_MEMBER(Map::LandscapeState_Func::Construct_LandscapeState, DAT_LandscapeState::ptr)();
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d750::get());
}

}
}
20 changes: 20 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_MenuModalComposition1.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"
#include "OpenSHC/UI/MenuModalComposition.func.hpp"

#include "OpenSHC/Globals/DAT_MenuModalComposition1.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CA60
void Init::Constructor_MenuModalComposition1()
{
MACRO_CALL_MEMBER(
UI::MenuModalComposition_Func::Constructor_MenuModalComposition, DAT_MenuModalComposition1::ptr)(0);
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d680::get());
}

}
}
20 changes: 20 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_MenuModalComposition2.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"
#include "OpenSHC/UI/MenuModalComposition.func.hpp"

#include "OpenSHC/Globals/DAT_MenuModalComposition2.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CA80
void Init::Constructor_MenuModalComposition2()
{
MACRO_CALL_MEMBER(
UI::MenuModalComposition_Func::Constructor_MenuModalComposition, DAT_MenuModalComposition2::ptr)(1);
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d690::get());
}

}
}
20 changes: 20 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_MenuModalComposition3.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"
#include "OpenSHC/UI/MenuModalComposition.func.hpp"

#include "OpenSHC/Globals/DAT_MenuModalComposition3.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059CAA0
void Init::Constructor_MenuModalComposition3()
{
MACRO_CALL_MEMBER(
UI::MenuModalComposition_Func::Constructor_MenuModalComposition, DAT_MenuModalComposition3::ptr)(2);
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d6a0::get());
}

}
}
25 changes: 25 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_MenuModal_Allies.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"
#include "OpenSHC/UI/MenuModal.func.hpp"
#include "OpenSHC/UI/MenuModals/Allies.func.hpp"
#include "OpenSHC/UI/Enums/MenuModalType.hpp"

#include "OpenSHC/Globals/COL_BLACK.hpp"
#include "OpenSHC/Globals/MenuModal_Allies.hpp"
#include "OpenSHC/Globals/Menu_Allies.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059C180
void Init::Constructor_MenuModal_Allies()
{
MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_Allies::ptr)(UI::Enums::MMT_ALLIES, -1,
-1, 696, 384, 512, COL_BLACK::instance.shortValue,
UI::MenuModals::Allies_Func::MenuModalRenderFunction_Allies::get(), Menu_Allies::ptr);
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_Allies::get());
}

}
}
25 changes: 25 additions & 0 deletions src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesOrder.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"
#include "OpenSHC/UI/MenuModal.func.hpp"
#include "OpenSHC/UI/MenuModals/AlliesOrder.func.hpp"
#include "OpenSHC/UI/Enums/MenuModalType.hpp"

#include "OpenSHC/Globals/COL_BLACK.hpp"
#include "OpenSHC/Globals/MenuModal_AlliesOrder.hpp"
#include "OpenSHC/Globals/Menu_AlliesOrder.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059C1C0
void Init::Constructor_MenuModal_AlliesOrder()
{
MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_AlliesOrder::ptr)(
UI::Enums::MMT_ALLIES_ORDER, -1, -1, 768, 240, 512, COL_BLACK::instance.shortValue,
UI::MenuModals::AlliesOrder_Func::MenuModalRenderFunction_AlliesOrder::get(), Menu_AlliesOrder::ptr);
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_AlliesOrder::get());
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#include "OpenSHC/Global/Init.func.hpp"
#include "OpenSHC/Meta.func.hpp"
#include "OpenSHC/OS.func.hpp"
#include "OpenSHC/UI/MenuModal.func.hpp"
#include "OpenSHC/UI/MenuModals/AlliesRequestGoods.func.hpp"
#include "OpenSHC/UI/Enums/MenuModalType.hpp"

#include "OpenSHC/Globals/COL_BLACK.hpp"
#include "OpenSHC/Globals/MenuModal_AlliesRequestGoods.hpp"
#include "OpenSHC/Globals/Menu_AlliesRequestGoods.hpp"

namespace OpenSHC {
namespace Global {

// FUNCTION: STRONGHOLDCRUSADER 0x0059C200
void Init::Constructor_MenuModal_AlliesRequestGoods()
{
MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_AlliesRequestGoods::ptr)(
UI::Enums::MMT_ALLIES_REQUEST_GOODS, -1, -1, 600, 408, 512, COL_BLACK::instance.shortValue,
UI::MenuModals::AlliesRequestGoods_Func::MenuModalRenderFunction_AlliesRequestGoods::get(),
Menu_AlliesRequestGoods::ptr);
MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_AlliesRequestGoods::get());
}

}
}
Loading
Loading