diff --git a/src/OpenSHC/Global/GetStringBasedOnHardcodedMaps.cpp b/src/OpenSHC/Global/GetStringBasedOnHardcodedMaps.cpp new file mode 100644 index 0000000000..623d7c5ff7 --- /dev/null +++ b/src/OpenSHC/Global/GetStringBasedOnHardcodedMaps.cpp @@ -0,0 +1,1018 @@ +#include "OpenSHC/Global.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/Text/TextManager.func.hpp" +#include "OpenSHC/DE/SHCDE/eTextSections.hpp" +#include "OpenSHC/string-literals.hpp" + +#include "OpenSHC/Globals/DAT_GameCore.hpp" +#include "OpenSHC/Globals/DAT_TextManagerObject.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0046D390 + char* __cdecl GetStringBasedOnHardcodedMaps(char* mapName, int* hardcodedMapDescriptionGroupNum) + { + *hardcodedMapDescriptionGroupNum = 0; + switch (MACRO_CALL(OS_Func::__toupper)(mapName[0])) { + case 'A': + if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_A_resourceful_divide_005a61ac) == 0) { + *hardcodedMapDescriptionGroupNum = 2; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 1); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'W') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_A_New_Land_005a61a0) == 0) { + *hardcodedMapDescriptionGroupNum = 112; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 111); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'F') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_A_Friend_Indeed_005a6190) == 0) { + *hardcodedMapDescriptionGroupNum = 62; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 61); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'T') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Antioch_005a6188) == 0) { + *hardcodedMapDescriptionGroupNum = 88; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 87); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[3]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_A_Mighty_Oasis_005a6178) == 0) { + *hardcodedMapDescriptionGroupNum = 94; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 93); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[3]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Armenia_005a6170) == 0) { + *hardcodedMapDescriptionGroupNum = 84; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 83); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'N') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Arnon_River_005a6164) == 0) { + *hardcodedMapDescriptionGroupNum = 124; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 123); + } + } + break; + case 'B': + if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Border_Patrol_005a6154) == 0) { + *hardcodedMapDescriptionGroupNum = 80; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 79); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'W') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Bow_Ridge_005a6148) == 0) { + *hardcodedMapDescriptionGroupNum = 12; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 11); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'O') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Broken_Dune_005a613c) == 0) { + *hardcodedMapDescriptionGroupNum = 126; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 125); + } + } + break; + case 'C': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Centre_of_the_Oasis_005a6128) == 0) { + *hardcodedMapDescriptionGroupNum = 14; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 13); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 32) { + if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Close_Encounters_005a6114) == 0) { + *hardcodedMapDescriptionGroupNum = 32; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 31); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'P') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Crete_Peninsula_005a6104) == 0) { + *hardcodedMapDescriptionGroupNum = 134; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 133); + } + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'S') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Cactus_Valley_005a60f4) == 0) { + *hardcodedMapDescriptionGroupNum = 96; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 95); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'N') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Canyons_005a60ec) == 0) { + *hardcodedMapDescriptionGroupNum = 98; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 97); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'D') { + if (MACRO_CALL(OS_Func::__toupper)(mapName[7]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Crusader_Demo_005a60dc) == 0) { + *hardcodedMapDescriptionGroupNum = 110; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 109); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[7]) == 'S') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Cyclades_005a60d0) == 0) { + *hardcodedMapDescriptionGroupNum = 136; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 135); + } + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Caesarea_Swampland_005a60bc) == 0) { + *hardcodedMapDescriptionGroupNum = 128; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 127); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'U') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Coconut_Twist_005a60ac) == 0) { + *hardcodedMapDescriptionGroupNum = 130; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 129); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'Y') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Craggy_Cliffs_005a609c) == 0) { + *hardcodedMapDescriptionGroupNum = 132; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 131); + } + } + break; + case 'D': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Desert_Island_Blues_005a6088) == 0) { + *hardcodedMapDescriptionGroupNum = 18; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 17); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Drawn_and_Quartered_005a6074) == 0) { + *hardcodedMapDescriptionGroupNum = 138; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 137); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'U') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Dunes_of_Nicaea_005a6064) == 0) { + *hardcodedMapDescriptionGroupNum = 140; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 139); + } + } + break; + case 'E': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'M') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Empty_Handed_005a6054) == 0) { + *hardcodedMapDescriptionGroupNum = 64; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 63); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'D') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Edessa_005a604c) == 0) { + *hardcodedMapDescriptionGroupNum = 86; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 85); + } + } + break; + case 'F': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'L') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Flood_Plains_of_Jordan_005a6034) == 0) { + *hardcodedMapDescriptionGroupNum = 142; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 141); + } + } + break; + case 'G': + if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'B') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Green_Belt_005a6028) == 0) { + *hardcodedMapDescriptionGroupNum = 28; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 27); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'H') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Green_Haven_005a601c) == 0) { + *hardcodedMapDescriptionGroupNum = 40; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 39); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Great_Euphrates_005a600c) == 0) { + *hardcodedMapDescriptionGroupNum = 144; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 143); + } + } + break; + case 'H': + if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'Y') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Happy_Land_005a6000) == 0) { + *hardcodedMapDescriptionGroupNum = 30; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 29); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'H') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Height_Advantage_005a5fec) == 0) { + *hardcodedMapDescriptionGroupNum = 10; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 9); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 32) { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Hell_On_The_Hill_005a5fd8) == 0) { + *hardcodedMapDescriptionGroupNum = 74; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 73); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'T') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Hilltop_Hideout_005a5fc8) == 0) { + *hardcodedMapDescriptionGroupNum = 72; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 71); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'S') { + if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Halys_River_005a5fbc) == 0) { + *hardcodedMapDescriptionGroupNum = 146; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 145); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'O') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Hills_of_Antioch_005a5fa8) == 0) { + *hardcodedMapDescriptionGroupNum = 150; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 149); + } + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Hidden_Crater_005a5f98) == 0) { + *hardcodedMapDescriptionGroupNum = 148; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 147); + } + } + break; + case 'I': + if (MACRO_CALL(OS_Func::__toupper)(mapName[3]) == 'H') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Inches_Apart_005a5f88) == 0) { + *hardcodedMapDescriptionGroupNum = 54; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 53); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[3]) == 'A') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Island_Hoppin_005a5f78) == 0) { + *hardcodedMapDescriptionGroupNum = 38; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 37); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'A') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Its_a_jungle_out_there_005a5f60) == 0) { + *hardcodedMapDescriptionGroupNum = 70; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 69); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[7]) == 'C') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_In_The_canyons_005a5f50) == 0) { + *hardcodedMapDescriptionGroupNum = 98; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 97); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[3]) == 'T') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_In_The_Shadow_005a5f40) == 0) { + *hardcodedMapDescriptionGroupNum = 114; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 113); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'J') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Its_just_not_fair_005a5f2c) == 0) { + *hardcodedMapDescriptionGroupNum = 122; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 121); + } + } + break; + case 'L': + if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'H') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Love_Thy_Neighbour_005a5f18) == 0) { + *hardcodedMapDescriptionGroupNum = 58; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 57); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'B') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Large_Barren_Desert_005a5f04) == 0) { + *hardcodedMapDescriptionGroupNum = 100; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 99); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Large_Island_005a5ef4) == 0) { + *hardcodedMapDescriptionGroupNum = 102; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 101); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'F') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Land_of_the_Cactus_005a5ee0) == 0) { + *hardcodedMapDescriptionGroupNum = 120; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 119); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'M') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Lacus_Magnus_005a5ed0) == 0) { + *hardcodedMapDescriptionGroupNum = 152; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 151); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'O') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Lakes_of_Konya_005a5ec0) == 0) { + *hardcodedMapDescriptionGroupNum = 154; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 153); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'A') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Lake_Qaddas_005a5eb4) == 0) { + *hardcodedMapDescriptionGroupNum = 156; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 155); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 32) { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Litani_and_Jordan_005a5ea0) == 0) { + *hardcodedMapDescriptionGroupNum = 158; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 157); + } + } + break; + case 'N': + if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 32) { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_No_Escape_005a5e94) == 0) { + *hardcodedMapDescriptionGroupNum = 34; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 33); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_North_vs_South_005a5e84) == 0) { + *hardcodedMapDescriptionGroupNum = 42; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 41); + } + } + break; + case 'M': + if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Marshy_Mayhem_005a5e74) == 0) { + *hardcodedMapDescriptionGroupNum = 66; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 65); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'L') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Melos_005a5e6c) == 0) { + *hardcodedMapDescriptionGroupNum = 160; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 159); + } + } + break; + case 'O': + if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'S') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Oasis_Struggle_005a5e5c) == 0) { + *hardcodedMapDescriptionGroupNum = 4; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 3); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'B') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Oasis_by_the_Sea_005a5e48) == 0) { + *hardcodedMapDescriptionGroupNum = 108; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 107); + } + } + break; + case 'P': + if (MACRO_CALL(OS_Func::__toupper)(mapName[3]) == 'G') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Piggy_in_the_middle_005a5e34) == 0) { + *hardcodedMapDescriptionGroupNum = 24; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 23); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[3]) == 32) { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Pig_in_a_Poke_005a5e24) == 0) { + *hardcodedMapDescriptionGroupNum = 162; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 161); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[3]) == 'V') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Province_of_Bodrum_005a5e10) == 0) { + *hardcodedMapDescriptionGroupNum = 164; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 163); + } + } + break; + case 'R': + if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Riverside_Rampage_005a5dfc) == 0) { + *hardcodedMapDescriptionGroupNum = 68; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 67); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'O') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Rocky_Oasis_005a5df0) == 0) { + *hardcodedMapDescriptionGroupNum = 104; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 103); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Reed_Sea_005a5de4) == 0) { + *hardcodedMapDescriptionGroupNum = 166; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 165); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 32) { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Region_of_Corinth_005a5dd0) == 0) { + *hardcodedMapDescriptionGroupNum = 168; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 167); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'A') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Rock_Face_005a5dc4) == 0) { + *hardcodedMapDescriptionGroupNum = 170; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 169); + } + } + break; + case 'S': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'L') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Sleeping_With_The_Enemy_005a5dac) == 0) { + *hardcodedMapDescriptionGroupNum = 56; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 55); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'T') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Strati_005a5da4) == 0) { + *hardcodedMapDescriptionGroupNum = 172; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 171); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'B') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Small_Barren_Desert_005a5d90) == 0) { + *hardcodedMapDescriptionGroupNum = 82; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 81); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Small_Island_005a5d80) == 0) { + *hardcodedMapDescriptionGroupNum = 106; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 105); + } + } + break; + case 'T': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'Y') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Tyre_005a5d78) == 0) { + *hardcodedMapDescriptionGroupNum = 92; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 91); + } + } else { + switch (MACRO_CALL(OS_Func::__toupper)(mapName[4])) { + case 'O': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'L') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Tripoli_005a5d70) == 0) { + *hardcodedMapDescriptionGroupNum = 90; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 89); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'S') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Thasos_005a5d68) == 0) { + *hardcodedMapDescriptionGroupNum = 174; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 173); + } + } + break; + case 'V': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'A') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Valley_005a5d5c) == 0) { + *hardcodedMapDescriptionGroupNum = 78; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 77); + } + } + break; + case 'B': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'U') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Bulls_Eye_005a5d4c) == 0) { + *hardcodedMapDescriptionGroupNum = 22; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 21); + } + } + break; + case 'C': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'O') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Too_Close_For_Comfort_005a5d34) == 0) { + *hardcodedMapDescriptionGroupNum = 6; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 5); + } + } + break; + case 'E': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'A') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Target_Zone_005a5d28) == 0) { + *hardcodedMapDescriptionGroupNum = 16; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 15); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Trapesac_Island_005a5d18) == 0) { + *hardcodedMapDescriptionGroupNum = 178; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 177); + } + } + break; + case 'F': + if (MACRO_CALL(OS_Func::__toupper)(mapName[7]) == 'D') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_ford_across_the_river_005a5cfc) == 0) { + *hardcodedMapDescriptionGroupNum = 8; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 7); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[7]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Forest_Oasis_005a5ce8) == 0) { + *hardcodedMapDescriptionGroupNum = 52; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 51); + } + } + break; + case 'G': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Great_lake_005a5cd8) == 0) { + *hardcodedMapDescriptionGroupNum = 26; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 25); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'U') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Guardians_005a5cc8) == 0) { + *hardcodedMapDescriptionGroupNum = 48; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 47); + } + } + break; + case 'K': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Killing_Plains_005a5cb4) == 0) { + *hardcodedMapDescriptionGroupNum = 36; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 35); + } + } + break; + case 'L': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'A') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Last_Stand_005a5ca4) == 0) { + *hardcodedMapDescriptionGroupNum = 50; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 49); + } + } + break; + case 'R': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_River_005a5c98) == 0) { + *hardcodedMapDescriptionGroupNum = 20; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 19); + } + } + break; + case 'T': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Trench_005a5c8c) == 0) { + *hardcodedMapDescriptionGroupNum = 60; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 59); + } + } + break; + case 'W': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Wet_Lands_005a5c7c) == 0) { + *hardcodedMapDescriptionGroupNum = 76; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 75); + } + } + break; + case 'D': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'U') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Dunes_005a5c70) == 0) { + *hardcodedMapDescriptionGroupNum = 118; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 117); + } + } + break; + case 'S': + if (MACRO_CALL(OS_Func::__toupper)(mapName[3]) == 'O') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Tilos_005a5c68) == 0) { + *hardcodedMapDescriptionGroupNum = 176; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 175); + } + } + break; + case 'I': + if (MACRO_CALL(OS_Func::__toupper)(mapName[5]) == 'N') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Two_in_a_bed_005a5c58) == 0) { + *hardcodedMapDescriptionGroupNum = 180; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 179); + } + } + break; + } + } + break; + case 'U': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'P') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Upwards_Alliance_005a5c44) == 0) { + *hardcodedMapDescriptionGroupNum = 44; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 43); + } + } + break; + case 'W': + if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'S') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_West_Coast_005a5c38) == 0) { + *hardcodedMapDescriptionGroupNum = 46; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 45); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'T') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Watering_Holes_005a5c28) == 0) { + *hardcodedMapDescriptionGroupNum = 116; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 115); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[2]) == 'L') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Wall_of_Iron_005a5c18) == 0) { + *hardcodedMapDescriptionGroupNum = 182; + DAT_GameCore::instance.mapDescUseStringTable = 1; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)219, 181); + } + } + break; + } + switch (MACRO_CALL(OS_Func::__toupper)(mapName[0])) { + case 'B': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Best_Friends_005a5c08) == 0) { + *hardcodedMapDescriptionGroupNum = 94; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 93); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Bird_In_Flight_005a5bf8) == 0) { + *hardcodedMapDescriptionGroupNum = 83; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 82); + } + } + break; + case 'C': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'O') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Coastal_Trap_005a5be8) == 0) { + *hardcodedMapDescriptionGroupNum = 88; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 87); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'R') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Crossroads_005a5bdc) == 0) { + *hardcodedMapDescriptionGroupNum = 100; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 99); + } + } + break; + case 'D': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Divided_005a5bd4) == 0) { + *hardcodedMapDescriptionGroupNum = 96; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 95); + } + } + break; + case 'E': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'N') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Enclosure_005a5bc8) == 0) { + *hardcodedMapDescriptionGroupNum = 91; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 90); + } + } + break; + case 'F': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'U') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Fury_Bay_005a5bbc) == 0) { + *hardcodedMapDescriptionGroupNum = 84; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 83); + } + } + break; + case 'J': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Jealous_Neighbours_005a5ba8) == 0) { + *hardcodedMapDescriptionGroupNum = 97; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 96); + } + } + break; + case 'L': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Lionheart_005a5b9c) == 0) { + *hardcodedMapDescriptionGroupNum = 99; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 98); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'O') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Look_Out_005a5b90) == 0) { + *hardcodedMapDescriptionGroupNum = 82; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 81); + } + } + break; + case 'M': + switch (MACRO_CALL(OS_Func::__toupper)(mapName[3])) { + case 'D': + if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_Divided_005a5b84) == 0) { + *hardcodedMapDescriptionGroupNum = 102; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 101); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'O') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_Downhill_Scrum_005a5b70) == 0) { + *hardcodedMapDescriptionGroupNum = 103; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 102); + } + } + break; + case 'N': + if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'M') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_No_Mans_Land_005a5b60) == 0) { + *hardcodedMapDescriptionGroupNum = 104; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 103); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[6]) == 'W') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_No_Where_to_Hide_005a5b4c) == 0) { + *hardcodedMapDescriptionGroupNum = 105; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 104); + } + } + break; + case 'S': + if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'L') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_Slopes_of_Doom_005a5b38) == 0) { + *hardcodedMapDescriptionGroupNum = 106; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 105); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'N') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_Snake_River_005a5b28) == 0) { + *hardcodedMapDescriptionGroupNum = 107; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 106); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'U') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_Surrounded_005a5b18) == 0) { + *hardcodedMapDescriptionGroupNum = 108; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 107); + } + } + break; + case 'T': + if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'H') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_The_Rocky_Divide_005a5b04) == 0) { + *hardcodedMapDescriptionGroupNum = 109; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 108); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'W') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_Two_Falls_005a5af4) == 0) { + *hardcodedMapDescriptionGroupNum = 110; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 109); + } + } + break; + case 'V': + if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'A') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_MP_Valley_of_the_Lords_005a5adc) == 0) { + *hardcodedMapDescriptionGroupNum = 111; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 110); + } + } + break; + } + break; + case 'P': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'H') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Phoenix_005a5ad4) == 0) { + *hardcodedMapDescriptionGroupNum = 87; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 86); + } + } + break; + case 'R': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Rivers_Fork_005a5ac8) == 0) { + *hardcodedMapDescriptionGroupNum = 90; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 89); + } + } + break; + case 'S': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'N') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Snake_River_005a5abc) == 0) { + *hardcodedMapDescriptionGroupNum = 85; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 84); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'P') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Spider_Island_005a5aac) == 0) { + *hardcodedMapDescriptionGroupNum = 95; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 94); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'W') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Swampy_Island_005a5a9c) == 0) { + *hardcodedMapDescriptionGroupNum = 86; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 85); + } + } + break; + case 'T': + if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'H') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_The_Host_005a5a90) == 0) { + *hardcodedMapDescriptionGroupNum = 93; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 92); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[4]) == 'E') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Three_Little_Pigs_005a5a7c) == 0) { + *hardcodedMapDescriptionGroupNum = 98; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 97); + } + } + break; + case 'U': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'L') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Ultimate_Victory_005a5a68) == 0) { + *hardcodedMapDescriptionGroupNum = 101; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 100); + } + } + break; + case 'W': + if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'A') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Wazirs_Fortress_005a5a58) == 0) { + *hardcodedMapDescriptionGroupNum = 89; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 88); + } + } else if (MACRO_CALL(OS_Func::__toupper)(mapName[1]) == 'I') { + if (MACRO_CALL(OS_Func::__stricmp)(mapName, s_Wide_Open_Plain_005a5a48) == 0) { + *hardcodedMapDescriptionGroupNum = 92; + return MACRO_CALL_MEMBER(Text::TextManager_Func::getTextStringInGroupAtOffset, + DAT_TextManagerObject::ptr)((DE::SHCDE::eTextSections)245, 91); + } + } + break; + } + return mapName; + } + +} // namespace Global +} // namespace OpenSHC diff --git a/src/OpenSHC/Global/Init/Constructor_AICState.cpp b/src/OpenSHC/Global/Init/Constructor_AICState.cpp new file mode 100644 index 0000000000..da3086f7af --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_AICState.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_AIVState.cpp b/src/OpenSHC/Global/Init/Constructor_AIVState.cpp new file mode 100644 index 0000000000..2622da6112 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_AIVState.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_BitMapState.cpp b/src/OpenSHC/Global/Init/Constructor_BitMapState.cpp new file mode 100644 index 0000000000..adef7aa621 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_BitMapState.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_BuildingsState.cpp b/src/OpenSHC/Global/Init/Constructor_BuildingsState.cpp new file mode 100644 index 0000000000..9a99cb6090 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_BuildingsState.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_CRelated.cpp b/src/OpenSHC/Global/Init/Constructor_CRelated.cpp new file mode 100644 index 0000000000..2102257dae --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_CRelated.cpp @@ -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()); } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_CreateLocaleMemoryRelated.cpp b/src/OpenSHC/Global/Init/Constructor_CreateLocaleMemoryRelated.cpp new file mode 100644 index 0000000000..1517e71da4 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_CreateLocaleMemoryRelated.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_DecoderState.cpp b/src/OpenSHC/Global/Init/Constructor_DecoderState.cpp new file mode 100644 index 0000000000..bfe3e8bfbd --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_DecoderState.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_Empty1.cpp b/src/OpenSHC/Global/Init/Constructor_Empty1.cpp new file mode 100644 index 0000000000..e39278f8b4 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_Empty1.cpp @@ -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()); } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_Empty2.cpp b/src/OpenSHC/Global/Init/Constructor_Empty2.cpp new file mode 100644 index 0000000000..e898775b97 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_Empty2.cpp @@ -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()); } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_FilePackager.cpp b/src/OpenSHC/Global/Init/Constructor_FilePackager.cpp new file mode 100644 index 0000000000..e1b04a6724 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_FilePackager.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_GameSynchronyState.cpp b/src/OpenSHC/Global/Init/Constructor_GameSynchronyState.cpp new file mode 100644 index 0000000000..86fc2fd56f --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_GameSynchronyState.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_InsertKeyState.cpp b/src/OpenSHC/Global/Init/Constructor_InsertKeyState.cpp new file mode 100644 index 0000000000..eff1a22cb2 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_InsertKeyState.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_LandscapeState.cpp b/src/OpenSHC/Global/Init/Constructor_LandscapeState.cpp new file mode 100644 index 0000000000..0ed800ba78 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_LandscapeState.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModalComposition1.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModalComposition1.cpp new file mode 100644 index 0000000000..d8bf2b0514 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModalComposition1.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModalComposition2.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModalComposition2.cpp new file mode 100644 index 0000000000..7df0d01a53 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModalComposition2.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModalComposition3.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModalComposition3.cpp new file mode 100644 index 0000000000..26f77a13b3 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModalComposition3.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_Allies.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_Allies.cpp new file mode 100644 index 0000000000..0c102872cf --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_Allies.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesOrder.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesOrder.cpp new file mode 100644 index 0000000000..0b69df77f8 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesOrder.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesRequestGoods.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesRequestGoods.cpp new file mode 100644 index 0000000000..70dc97949d --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesRequestGoods.cpp @@ -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()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesSendGoods.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesSendGoods.cpp new file mode 100644 index 0000000000..c87797cba4 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_AlliesSendGoods.cpp @@ -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/AlliesSendGoods.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_AlliesSendGoods.hpp" +#include "OpenSHC/Globals/Menu_AlliesSendGoods.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C280 + void Init::Constructor_MenuModal_AlliesSendGoods() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_AlliesSendGoods::ptr)( + UI::Enums::MMT_ALLIES_SEND_GOODS, -1, -1, 600, 408, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::AlliesSendGoods_Func::MenuModalRenderFunction_AlliesSendGoods::get(), + Menu_AlliesSendGoods::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_AlliesSendGoods::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_BasicAiLordSelect.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_BasicAiLordSelect.cpp new file mode 100644 index 0000000000..791826a21d --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_BasicAiLordSelect.cpp @@ -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/AiLordSelect.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_BasicAiLordSelect.hpp" +#include "OpenSHC/Globals/Menu_BasicAiLordSelect.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C0A0 + void Init::Constructor_MenuModal_BasicAiLordSelect() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_BasicAiLordSelect::ptr)( + UI::Enums::MMT_BASIC_AI_LORD_SELECT, 200, 200, 648, 288, 4160, COL_WHITE::instance.shortValue, + UI::MenuModals::AiLordSelect_Func::MenuModalRenderFunction_AiLordSelect::get(), + Menu_BasicAiLordSelect::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_BasicAiLordSelect::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_BuildingAvailability.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_BuildingAvailability.cpp new file mode 100644 index 0000000000..bb83272dcc --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_BuildingAvailability.cpp @@ -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/BuildingAvailability.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_BuildingAvailability.hpp" +#include "OpenSHC/Globals/Menu_BuildingAvailability.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BBA0 + void Init::Constructor_MenuModal_BuildingAvailability() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_BuildingAvailability::ptr)( + UI::Enums::MMT_BUILDING_AVAILABILITY, -1, -1, 700, 540, 512, 6, + UI::MenuModals::BuildingAvailability_Func::MenuModalRenderFunction_BuildingAvailability::get(), + Menu_BuildingAvailability::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_BuildingAvailability::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_BuildingHelpText.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_BuildingHelpText.cpp new file mode 100644 index 0000000000..8ee75a3ffc --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_BuildingHelpText.cpp @@ -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/TextEditor.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_BuildingHelpText.hpp" +#include "OpenSHC/Globals/Menu_BuildingHelpText.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B720 + void Init::Constructor_MenuModal_BuildingHelpText() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_BuildingHelpText::ptr)( + UI::Enums::MMT_BUILDING_HELP_TEXT, -1, -1, 704, 336, 32, COL_BLACK::instance.shortValue, + UI::MenuModals::TextEditor_Func::MenuModalRenderFunction_TextEditor::get(), Menu_BuildingHelpText::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_BuildingHelpText::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_Chat.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_Chat.cpp new file mode 100644 index 0000000000..17ce5275fb --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_Chat.cpp @@ -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/Chat.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_Chat.hpp" +#include "OpenSHC/Globals/Menu_Chat.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BD60 + void Init::Constructor_MenuModal_Chat() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_Chat::ptr)(UI::Enums::MMT_CHAT, 16, 16, + 768, 224, 512, COL_BLACK::instance.shortValue, + UI::MenuModals::Chat_Func::MenuModalRenderFunction_Chat::get(), Menu_Chat::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_Chat::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_ChooseNetworkServiceProvider.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_ChooseNetworkServiceProvider.cpp new file mode 100644 index 0000000000..e6ed1a5017 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_ChooseNetworkServiceProvider.cpp @@ -0,0 +1,27 @@ +#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/ChooseNetworkServiceProvider.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_ChooseNetworkServiceProvider.hpp" +#include "OpenSHC/Globals/Menu_ChooseNetworkServiceProvider.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B7E0 + void Init::Constructor_MenuModal_ChooseNetworkServiceProvider() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_ChooseNetworkServiceProvider::ptr)( + UI::Enums::MMT_CHOOSE_NETWORK_SERVICE_PROVIDER, 150, 80, 500, 408, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::ChooseNetworkServiceProvider_Func::MenuModalRenderFunction_ChooseNetworkServiceProvider:: + get(), + Menu_ChooseNetworkServiceProvider::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_ChooseNetworkServiceProvider::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_ChooseRandomNumberOfEnemies.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_ChooseRandomNumberOfEnemies.cpp new file mode 100644 index 0000000000..4858a1820e --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_ChooseRandomNumberOfEnemies.cpp @@ -0,0 +1,27 @@ +#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/ChooseRandomNumberOfEnemies.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_ChooseRandomNumberOfEnemies.hpp" +#include "OpenSHC/Globals/Menu_ChooseRandomNumberOfEnemies.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C2C0 + void Init::Constructor_MenuModal_ChooseRandomNumberOfEnemies() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_ChooseRandomNumberOfEnemies::ptr)( + UI::Enums::MMT_CHOOSE_RANDOM_NUMBER_OF_ENEMIES, -1, -1, 600, 400, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::ChooseRandomNumberOfEnemies_Func::MenuModalRenderFunction_ChooseRandomNumberOfEnemies:: + get(), + Menu_ChooseRandomNumberOfEnemies::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_ChooseRandomNumberOfEnemies::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_CreditsScroll.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_CreditsScroll.cpp new file mode 100644 index 0000000000..eea334ee13 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_CreditsScroll.cpp @@ -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/CreditsScroll.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_CreditsScroll.hpp" +#include "OpenSHC/Globals/Menu_Credits.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BDA0 + void Init::Constructor_MenuModal_CreditsScroll() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_CreditsScroll::ptr)( + UI::Enums::MMT_CREDITS_SCROLL, 400, 0, 400, 600, 64, COL_BLACK::instance.shortValue, + UI::MenuModals::CreditsScroll_Func::MenuModalRenderFunction_CreditsScroll::get(), Menu_Credits::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_CreditsScroll::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataAiInfo.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataAiInfo.cpp new file mode 100644 index 0000000000..9c29acf235 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataAiInfo.cpp @@ -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/DebugDataAiInfo.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DebugDataAiInfo.hpp" +#include "OpenSHC/Globals/Menu_DebugModals.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B1E0 + void Init::Constructor_MenuModal_DebugDataAiInfo() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DebugDataAiInfo::ptr)( + UI::Enums::MMT_DEBUG_DATA_AI_INFO, 10, 3, 780, 240, 14, COL_WHITE::instance.shortValue, + UI::MenuModals::DebugDataAiInfo_Func::MenuModalRenderFunction_DebugDataAiInfo::get(), + Menu_DebugModals::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DebugDataAiInfo::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataAivStateUnk.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataAivStateUnk.cpp new file mode 100644 index 0000000000..fa2bb772eb --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataAivStateUnk.cpp @@ -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/DebugDataAivStateUnk.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DebugDataAivStateUnk.hpp" +#include "OpenSHC/Globals/Menu_DebugModals.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C380 + void Init::Constructor_MenuModal_DebugDataAivStateUnk() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DebugDataAivStateUnk::ptr)( + UI::Enums::MMT_DEBUG_DATA_AIV_STATEUnk, 267, 3, 400, 242, 14, COL_WHITE::instance.shortValue, + UI::MenuModals::DebugDataAivStateUnk_Func::MenuModalRenderFunction_DebugDataAivStateUnk::get(), + Menu_DebugModals::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DebugDataAivStateUnk::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataCurrentPlayerData.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataCurrentPlayerData.cpp new file mode 100644 index 0000000000..f44ad26e54 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataCurrentPlayerData.cpp @@ -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/DebugDataCurrentPlayerData.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DebugDataCurrentPlayerData.hpp" +#include "OpenSHC/Globals/Menu_DebugModals.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B1A0 + void Init::Constructor_MenuModal_DebugDataCurrentPlayerData() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DebugDataCurrentPlayerData::ptr)( + UI::Enums::MMT_DEBUG_DATA_CURRENT_PLAYER_DATA, 267, 3, 400, 242, 14, COL_WHITE::instance.shortValue, + UI::MenuModals::DebugDataCurrentPlayerData_Func::MenuModalRenderFunction_DebugDataCurrentPlayerData::get(), + Menu_DebugModals::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DebugDataCurrentPlayerData::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataMapData.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataMapData.cpp new file mode 100644 index 0000000000..2a636d61f5 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataMapData.cpp @@ -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/DebugDataMapData.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DebugDataMapData.hpp" +#include "OpenSHC/Globals/Menu_DebugModals.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B360 + void Init::Constructor_MenuModal_DebugDataMapData() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DebugDataMapData::ptr)( + UI::Enums::MMT_DEBUG_DATA_MAP_DATA, 4, 4, 600, 414, 14, COL_WHITE::instance.shortValue, + UI::MenuModals::DebugDataMapData_Func::MenuModalRenderFunction_DebugDataMapData::get(), + Menu_DebugModals::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DebugDataMapData::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataMousePointing.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataMousePointing.cpp new file mode 100644 index 0000000000..293e2403e6 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataMousePointing.cpp @@ -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/DebugDataMousePointing.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DebugDataMousePointing.hpp" +#include "OpenSHC/Globals/Menu_DebugModals.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B2E0 + void Init::Constructor_MenuModal_DebugDataMousePointing() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DebugDataMousePointing::ptr)( + UI::Enums::MMT_DEBUG_DATA_MOUSE_POINTING, 267, 3, 400, 142, 14, COL_WHITE::instance.shortValue, + UI::MenuModals::DebugDataMousePointing_Func::MenuModalRenderFunction_DebugDataMousePointing::get(), + Menu_DebugModals::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DebugDataMousePointing::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataNetwork.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataNetwork.cpp new file mode 100644 index 0000000000..890788ecd9 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataNetwork.cpp @@ -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/DebugDataNetwork.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DebugDataNetwork.hpp" +#include "OpenSHC/Globals/Menu_DebugModals.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B2A0 + void Init::Constructor_MenuModal_DebugDataNetwork() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DebugDataNetwork::ptr)( + UI::Enums::MMT_DEBUG_DATA_NETWORK, 167, 3, 500, 200, 14, COL_WHITE::instance.shortValue, + UI::MenuModals::DebugDataNetwork_Func::MenuModalRenderFunction_DebugDataNetwork::get(), + Menu_DebugModals::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DebugDataNetwork::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataSplitInfo.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataSplitInfo.cpp new file mode 100644 index 0000000000..b24110c803 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataSplitInfo.cpp @@ -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/DebugDataSplitInfo.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DebugDataSplitInfo.hpp" +#include "OpenSHC/Globals/Menu_DebugModals.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B320 + void Init::Constructor_MenuModal_DebugDataSplitInfo() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DebugDataSplitInfo::ptr)( + UI::Enums::MMT_DEBUG_DATA_SPLIT_INFO, 267, 3, 500, 302, 14, COL_WHITE::instance.shortValue, + UI::MenuModals::DebugDataSplitInfo_Func::MenuModalRenderFunction_DebugDataSplitInfo::get(), + Menu_DebugModals::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DebugDataSplitInfo::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataUnitData.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataUnitData.cpp new file mode 100644 index 0000000000..de081b7753 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataUnitData.cpp @@ -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/DebugDataUnitData.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DebugDataUnitData.hpp" +#include "OpenSHC/Globals/Menu_DebugModals.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B220 + void Init::Constructor_MenuModal_DebugDataUnitData() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DebugDataUnitData::ptr)( + UI::Enums::MMT_DEBUG_DATA_UNIT_DATA, 267, 3, 400, 142, 14, COL_WHITE::instance.shortValue, + UI::MenuModals::DebugDataUnitData_Func::MenuModalRenderFunction_DebugDataUnitData::get(), + Menu_DebugModals::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DebugDataUnitData::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataZoneDataUnk.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataZoneDataUnk.cpp new file mode 100644 index 0000000000..4fa0c3e9c5 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DebugDataZoneDataUnk.cpp @@ -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/DebugDataZoneDataUnk.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DebugDataZoneDataUnk.hpp" +#include "OpenSHC/Globals/Menu_DebugModals.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B260 + void Init::Constructor_MenuModal_DebugDataZoneDataUnk() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DebugDataZoneDataUnk::ptr)( + UI::Enums::MMT_DEBUG_DATA_ZONE_DATAUnk, 267, 3, 400, 200, 14, COL_WHITE::instance.shortValue, + UI::MenuModals::DebugDataZoneDataUnk_Func::MenuModalRenderFunction_DebugDataZoneDataUnk::get(), + Menu_DebugModals::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DebugDataZoneDataUnk::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DeleteGameRecord.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DeleteGameRecord.cpp new file mode 100644 index 0000000000..8a7bcb088c --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DeleteGameRecord.cpp @@ -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/DeleteGameRecord.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DeleteGameRecord.hpp" +#include "OpenSHC/Globals/Menu_DeleteGameRecord.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C300 + void Init::Constructor_MenuModal_DeleteGameRecord() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DeleteGameRecord::ptr)( + UI::Enums::MMT_DELETE_GAME_RECORD, -1, -1, 500, 150, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::DeleteGameRecord_Func::MenuModalRenderFunctionMenuModal_DeleteGameRecord::get(), + Menu_DeleteGameRecord::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DeleteGameRecord::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DisableArabTroops.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisableArabTroops.cpp new file mode 100644 index 0000000000..c03b1059bf --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisableArabTroops.cpp @@ -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/DisableTroops.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_DisableArabTroops.hpp" +#include "OpenSHC/Globals/Menu_DisableArabTroops.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BC20 + void Init::Constructor_MenuModal_DisableArabTroops() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DisableArabTroops::ptr)( + UI::Enums::MMT_DISABLE_ARAB_TROOPS, -1, -1, 400, 240, 512, 6, + UI::MenuModals::DisableTroops_Func::MenuModalRenderFunction_DisableTroops::get(), + Menu_DisableArabTroops::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DisableArabTroops::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DisableEuroTroops.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisableEuroTroops.cpp new file mode 100644 index 0000000000..aaa052d899 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisableEuroTroops.cpp @@ -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/DisableTroops.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_DisableEuroTroops.hpp" +#include "OpenSHC/Globals/Menu_DisableEuroTroops.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BBE0 + void Init::Constructor_MenuModal_DisableEuroTroops() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DisableEuroTroops::ptr)( + UI::Enums::MMT_DISABLE_EURO_TROOPS, -1, -1, 400, 240, 512, 6, + UI::MenuModals::DisableTroops_Func::MenuModalRenderFunction_DisableTroops::get(), + Menu_DisableEuroTroops::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DisableEuroTroops::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DisableWeapon.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisableWeapon.cpp new file mode 100644 index 0000000000..5000342476 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisableWeapon.cpp @@ -0,0 +1,24 @@ +#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/DisableWeapon.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_DisableWeapon.hpp" +#include "OpenSHC/Globals/Menu_DisableWeapon.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BC60 + void Init::Constructor_MenuModal_DisableWeapon() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DisableWeapon::ptr)( + UI::Enums::MMT_DISABLE_WEAPON, -1, -1, 400, 240, 512, 6, + UI::MenuModals::DisableWeapon_Func::MenuModalRenderFunction_DisableWeapon::get(), Menu_DisableWeapon::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DisableWeapon::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DisplayAiLordMessage.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisplayAiLordMessage.cpp new file mode 100644 index 0000000000..e6f35988a7 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisplayAiLordMessage.cpp @@ -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/DisplayAiLordMessage.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_DisplayAiLordMessage.hpp" +#include "OpenSHC/Globals/Menu_DisplayAiLordMessage.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B860 + void Init::Constructor_MenuModal_DisplayAiLordMessage() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DisplayAiLordMessage::ptr)( + UI::Enums::MMT_DISPLAY_AI_LORD_MESSAGE, 0, 0, 0, 0, 64, COL_WHITE::instance.shortValue, + UI::MenuModals::DisplayAiLordMessage_Func::MenuModalRenderFunction_DisplayAiLordMessage::get(), + Menu_DisplayAiLordMessage::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DisplayAiLordMessage::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_DisplayScenarioHelpText.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisplayScenarioHelpText.cpp new file mode 100644 index 0000000000..c3f6aa6d9b --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_DisplayScenarioHelpText.cpp @@ -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/TextEditor.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_DisplayScenarioHelpText.hpp" +#include "OpenSHC/Globals/Menu_DisplayScenarioHelpText.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BD20 + void Init::Constructor_MenuModal_DisplayScenarioHelpText() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_DisplayScenarioHelpText::ptr)( + UI::Enums::MMT_DISPLAY_SCENARIO_HELP_TEXT, -1, 30, 696, 408, 4608, COL_BLACK::instance.shortValue, + UI::MenuModals::TextEditor_Func::MenuModalRenderFunction_TextEditor::get(), + Menu_DisplayScenarioHelpText::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_DisplayScenarioHelpText::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_EditorMapTypeQuickChange.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_EditorMapTypeQuickChange.cpp new file mode 100644 index 0000000000..db122b3fe4 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_EditorMapTypeQuickChange.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global.func.hpp" +#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/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_EditorMapTypeQuickChange.hpp" +#include "OpenSHC/Globals/Menu_EditorMapTypeQuickChange.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BDE0 + void Init::Constructor_MenuModal_EditorMapTypeQuickChange() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_EditorMapTypeQuickChange::ptr)( + UI::Enums::MMT_EDITOR_MAP_TYPE_QUICK_CHANGE, -1, -1, 400, 300, 512, COL_BLACK::instance.shortValue, + (UI::MenuModalRenderFunction*)Global_Func::DoNothing::get(), Menu_EditorMapTypeQuickChange::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_EditorMapTypeQuickChange::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_EnterTitleOnGameStart.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_EnterTitleOnGameStart.cpp new file mode 100644 index 0000000000..73942d4151 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_EnterTitleOnGameStart.cpp @@ -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/EnterTitleOnGameStart.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_EnterTitleOnGameStart.hpp" +#include "OpenSHC/Globals/Menu_EnterTitleOnGameStart.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B6A0 + void Init::Constructor_MenuModal_EnterTitleOnGameStart() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_EnterTitleOnGameStart::ptr)( + UI::Enums::MMT_ENTER_TITLE_ON_GAME_START, -1, 100, 500, 200, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::EnterTitleOnGameStart_Func::MenuModalRenderFunction_EnterTitleOnGameStart::get(), + Menu_EnterTitleOnGameStart::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_EnterTitleOnGameStart::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_ExtendedAiLordSelect.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_ExtendedAiLordSelect.cpp new file mode 100644 index 0000000000..f129154c6c --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_ExtendedAiLordSelect.cpp @@ -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/AiLordSelect.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_ExtendedAiLordSelect.hpp" +#include "OpenSHC/Globals/Menu_ExtendedAiLordSelect.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C0F0 + void Init::Constructor_MenuModal_ExtendedAiLordSelect() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_ExtendedAiLordSelect::ptr)( + UI::Enums::MMT_EXTENDED_AI_LORD_SELECT, 200, 200, 648, 364, 4160, COL_WHITE::instance.shortValue, + UI::MenuModals::AiLordSelect_Func::MenuModalRenderFunction_AiLordSelect::get(), + Menu_ExtendedAiLordSelect::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_ExtendedAiLordSelect::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_FindingNetworkSessions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_FindingNetworkSessions.cpp new file mode 100644 index 0000000000..6cb288fe06 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_FindingNetworkSessions.cpp @@ -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/FindingNetworkSessions.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_FindingNetworkSessions.hpp" +#include "OpenSHC/Globals/Menu_FindingNetworkSessions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B820 + void Init::Constructor_MenuModal_FindingNetworkSessions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_FindingNetworkSessions::ptr)( + UI::Enums::MMT_FINDING_NETWORK_SESSIONS, -1, -1, 500, 360, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::FindingNetworkSessions_Func::MenuModalRenderFunction_FindingNetworkSessions::get(), + Menu_FindingNetworkSessions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_FindingNetworkSessions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_GameplayOptions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_GameplayOptions.cpp new file mode 100644 index 0000000000..2fefced3e0 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_GameplayOptions.cpp @@ -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/GameplayOptions.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_GameplayOptions.hpp" +#include "OpenSHC/Globals/Menu_GameplayOptions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B620 + void Init::Constructor_MenuModal_GameplayOptions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_GameplayOptions::ptr)( + UI::Enums::MMT_GAMEPLAY_OPTIONS, -1, -1, 500, 357, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::GameplayOptions_Func::MenuModalRenderFunction_GameplayOptions::get(), + Menu_GameplayOptions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_GameplayOptions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_GreatestLord.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_GreatestLord.cpp new file mode 100644 index 0000000000..f64e00b35f --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_GreatestLord.cpp @@ -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/GreatestLord.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_GreatestLord.hpp" +#include "OpenSHC/Globals/Menu_GreatestLord.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C240 + void Init::Constructor_MenuModal_GreatestLord() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_GreatestLord::ptr)( + UI::Enums::MMT_GREATEST_LORD, -1, -1, 600, 408, 512, COL_BLACK::instance.shortValue, + UI::MenuModals::GreatestLord_Func::MenuModalRenderFunction_GreatestLord::get(), Menu_GreatestLord::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_GreatestLord::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_IdentityOptions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_IdentityOptions.cpp new file mode 100644 index 0000000000..4a7d812248 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_IdentityOptions.cpp @@ -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/IdentityOptions.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_IdentityOptions.hpp" +#include "OpenSHC/Globals/Menu_IdentityOptions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B660 + void Init::Constructor_MenuModal_IdentityOptions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_IdentityOptions::ptr)( + UI::Enums::MMT_IDENTITY_OPTIONS, -1, -1, 500, 400, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::IdentityOptions_Func::MenuModalRenderFunction_IdentityOptions::get(), + Menu_IdentityOptions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_IdentityOptions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_InGameHelpText.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_InGameHelpText.cpp new file mode 100644 index 0000000000..b83a2cbff6 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_InGameHelpText.cpp @@ -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/TextEditor.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_InGameHelpText.hpp" +#include "OpenSHC/Globals/Menu_InGameHelpText.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B760 + void Init::Constructor_MenuModal_InGameHelpText() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_InGameHelpText::ptr)( + UI::Enums::MMT_IN_GAME_HELP_TEXT, -1, -1, 768, 432, 32, COL_BLACK::instance.shortValue, + UI::MenuModals::TextEditor_Func::MenuModalRenderFunction_TextEditor::get(), Menu_InGameHelpText::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_InGameHelpText::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_LoadMap.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_LoadMap.cpp new file mode 100644 index 0000000000..9ab5c42130 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_LoadMap.cpp @@ -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/LoadMap.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_LoadMap.hpp" +#include "OpenSHC/Globals/Menu_LoadMap.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B4A0 + void Init::Constructor_MenuModal_LoadMap() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_LoadMap::ptr)(UI::Enums::MMT_LOAD_MAP, + -1, -1, 700, 397, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::LoadMap_Func::MenuModalRenderFunction_LoadMap::get(), Menu_LoadMap::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_LoadMap::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_MainMenuOptions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_MainMenuOptions.cpp new file mode 100644 index 0000000000..62af17bb9f --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_MainMenuOptions.cpp @@ -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/OptionsMenu.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_MainMenuOptions.hpp" +#include "OpenSHC/Globals/Menu_MainMenuOptions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B5E0 + void Init::Constructor_MenuModal_MainMenuOptions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_MainMenuOptions::ptr)( + UI::Enums::MMT_MAIN_MENU_OPTIONS, -1, -1, 500, 357, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::OptionsMenu_Func::MenuModalRenderFunction_OptionsMenu::get(), Menu_MainMenuOptions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_MainMenuOptions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_MapDescriptionEditor.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_MapDescriptionEditor.cpp new file mode 100644 index 0000000000..1677774a72 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_MapDescriptionEditor.cpp @@ -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/TextEditor.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_MapDescriptionEditor.hpp" +#include "OpenSHC/Globals/Menu_MapDescriptionEditor.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B7A0 + void Init::Constructor_MenuModal_MapDescriptionEditor() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_MapDescriptionEditor::ptr)( + UI::Enums::MMT_MAP_DESCRIPTION_EDITOR, -1, -1, 400, 230, 32, COL_BLACK::instance.shortValue, + UI::MenuModals::TextEditor_Func::MenuModalRenderFunction_TextEditor::get(), Menu_MapDescriptionEditor::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_MapDescriptionEditor::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_NetworkOptions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_NetworkOptions.cpp new file mode 100644 index 0000000000..982e01356a --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_NetworkOptions.cpp @@ -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/NetworkOptions.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_NetworkOptions.hpp" +#include "OpenSHC/Globals/Menu_NetworkOptions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B460 + void Init::Constructor_MenuModal_NetworkOptions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_NetworkOptions::ptr)( + UI::Enums::MMT_NETWORK_OPTIONS, -1, -1, 500, 357, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::NetworkOptions_Func::MenuModalRenderFunction_NetworkOptions::get(), + Menu_NetworkOptions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_NetworkOptions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_NewEvent.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_NewEvent.cpp new file mode 100644 index 0000000000..26836abce8 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_NewEvent.cpp @@ -0,0 +1,24 @@ +#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/NewEvent.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_NewEvent.hpp" +#include "OpenSHC/Globals/Menu_NewEvent.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BAA0 + void Init::Constructor_MenuModal_NewEvent() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_NewEvent::ptr)(UI::Enums::MMT_NEW_EVENT, + -1, -1, 600, 470, 512, 6, UI::MenuModals::NewEvent_Func::MenuModalRenderFunction_NewEvent::get(), + Menu_NewEvent::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_NewEvent::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_NewEventAction.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_NewEventAction.cpp new file mode 100644 index 0000000000..e440bf81f9 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_NewEventAction.cpp @@ -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/NewEventAction.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_NewEventAction.hpp" +#include "OpenSHC/Globals/Menu_NewEventAction.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BB20 + void Init::Constructor_MenuModal_NewEventAction() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_NewEventAction::ptr)( + UI::Enums::MMT_NEW_EVENT_ACTION, -1, -1, 760, 540, 512, 6, + UI::MenuModals::NewEventAction_Func::MenuModalRenderFunction_NewEventAction::get(), + Menu_NewEventAction::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_NewEventAction::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_NewEventCondition.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_NewEventCondition.cpp new file mode 100644 index 0000000000..73c4cedd0c --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_NewEventCondition.cpp @@ -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/NewEventCondition.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_NewEventCondition.hpp" +#include "OpenSHC/Globals/Menu_NewEventCondition.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BAE0 + void Init::Constructor_MenuModal_NewEventCondition() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_NewEventCondition::ptr)( + UI::Enums::MMT_NEW_EVENT_CONDITION, -1, -1, 700, 540, 512, 6, + UI::MenuModals::NewEventCondition_Func::MenuModalRenderFunction_NewEventCondition::get(), + Menu_NewEventCondition::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_NewEventCondition::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_NewInvasion.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_NewInvasion.cpp new file mode 100644 index 0000000000..5124a114e6 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_NewInvasion.cpp @@ -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/CreateOrTriggerInvasion.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_NewInvasion.hpp" +#include "OpenSHC/Globals/Menu_NewInvasion.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BA20 + void Init::Constructor_MenuModal_NewInvasion() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_NewInvasion::ptr)( + UI::Enums::MMT_NEW_INVASION, -1, -1, 700, 440, 512, 6, + UI::MenuModals::CreateOrTriggerInvasion_Func::MenuModalRenderFunction_CreateOrTriggerInvasion::get(), + Menu_NewInvasion::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_NewInvasion::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_OnlineQuitGame.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_OnlineQuitGame.cpp new file mode 100644 index 0000000000..72edd86381 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_OnlineQuitGame.cpp @@ -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/OnlineQuitGame.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_OnlineQuitGame.hpp" +#include "OpenSHC/Globals/Menu_OnlineQuitGame.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BEA0 + void Init::Constructor_MenuModal_OnlineQuitGame() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_OnlineQuitGame::ptr)( + UI::Enums::MMT_ONLINE_QUIT_GAME, -1, -1, 400, 235, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::OnlineQuitGame_Func::MenuModalRenderFunction_OnlineQuitGame::get(), + Menu_OnlineQuitGame::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_OnlineQuitGame::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_OnlineVoteQuitGame.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_OnlineVoteQuitGame.cpp new file mode 100644 index 0000000000..916f1ce491 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_OnlineVoteQuitGame.cpp @@ -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/OnlineVoteQuitGame.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_OnlineVoteQuitGame.hpp" +#include "OpenSHC/Globals/Menu_OnlineVoteQuitGame.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BEE0 + void Init::Constructor_MenuModal_OnlineVoteQuitGame() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_OnlineVoteQuitGame::ptr)( + UI::Enums::MMT_ONLINE_VOTE_QUIT_GAME, -1, 10, 400, 200, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::OnlineVoteQuitGame_Func::MenuModalRenderFunction_OnlineVoteQuitGame::get(), + Menu_OnlineVoteQuitGame::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_OnlineVoteQuitGame::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_OverlaySlider.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_OverlaySlider.cpp new file mode 100644 index 0000000000..b180744882 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_OverlaySlider.cpp @@ -0,0 +1,24 @@ +#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/OverlaySlider.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_OverlaySlider.hpp" +#include "OpenSHC/Globals/Menu_OverlaySlider.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B120 + void Init::Constructor_MenuModal_OverlaySlider() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_OverlaySlider::ptr)( + UI::Enums::MMT_OVERLAY_SLIDER, 0, 0, 204, 17, 0, 0, + UI::MenuModals::OverlaySlider_Func::MenuModalRenderFunction_OverlaySlider::get(), Menu_OverlaySlider::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_OverlaySlider::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_PauseMenu.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_PauseMenu.cpp new file mode 100644 index 0000000000..954a05c127 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_PauseMenu.cpp @@ -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/OptionsMenu.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_PauseMenu.hpp" +#include "OpenSHC/Globals/Menu_PauseMenu.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B3A0 + void Init::Constructor_MenuModal_PauseMenu() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_PauseMenu::ptr)( + UI::Enums::MMT_PAUSE_MENU, -1, -1, 500, 357, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::OptionsMenu_Func::MenuModalRenderFunction_OptionsMenu::get(), Menu_PauseMenu::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_PauseMenu::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_PauseMenuOptions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_PauseMenuOptions.cpp new file mode 100644 index 0000000000..20f8a92636 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_PauseMenuOptions.cpp @@ -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/OptionsMenu.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_PauseMenuOptions.hpp" +#include "OpenSHC/Globals/Menu_PauseMenuOptions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B5A0 + void Init::Constructor_MenuModal_PauseMenuOptions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_PauseMenuOptions::ptr)( + UI::Enums::MMT_PAUSE_MENU_OPTIONS, -1, -1, 500, 357, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::OptionsMenu_Func::MenuModalRenderFunction_OptionsMenu::get(), Menu_PauseMenuOptions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_PauseMenuOptions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_ProgressBarBox.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_ProgressBarBox.cpp new file mode 100644 index 0000000000..aeb341e2e6 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_ProgressBarBox.cpp @@ -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/ProgressBarBox.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_ProgressBarBox.hpp" +#include "OpenSHC/Globals/Menu_ProgressBarBox.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B6E0 + void Init::Constructor_MenuModal_ProgressBarBox() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_ProgressBarBox::ptr)( + UI::Enums::MMT_PROGRESS_BAR_BOX, -1, 50, 400, 100, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::ProgressBarBox_Func::MenuModalRenderFunction_ProgressBarBox::get(), + Menu_ProgressBarBox::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_ProgressBarBox::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_QuitDialog.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_QuitDialog.cpp new file mode 100644 index 0000000000..c01f5086c3 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_QuitDialog.cpp @@ -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/YesNoDialog.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_QuitDialog.hpp" +#include "OpenSHC/Globals/Menu_QuitDialog.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B560 + void Init::Constructor_MenuModal_QuitDialog() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_QuitDialog::ptr)( + UI::Enums::MMT_QUIT_DIALOG, -1, -1, 500, 150, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::YesNoDialog_Func::MenuModalRenderFunction_YesNoDialog::get(), Menu_QuitDialog::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_QuitDialog::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_ReceiveMapFrom.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_ReceiveMapFrom.cpp new file mode 100644 index 0000000000..f8a3ea3b2c --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_ReceiveMapFrom.cpp @@ -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/ReceiveMapFrom.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_ReceiveMapFrom.hpp" +#include "OpenSHC/Globals/Menu_ReceiveMapFrom.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C060 + void Init::Constructor_MenuModal_ReceiveMapFrom() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_ReceiveMapFrom::ptr)( + UI::Enums::MMT_RECEIVE_MAP_FROM, -1, -1, 408, 200, 512, 6, + UI::MenuModals::ReceiveMapFrom_Func::MenuModalRenderFunction_ReceiveMapFrom::get(), + Menu_ReceiveMapFrom::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_ReceiveMapFromUnk::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_Roundtable.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_Roundtable.cpp new file mode 100644 index 0000000000..f06ce21acc --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_Roundtable.cpp @@ -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/Roundtable.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_Roundtable.hpp" +#include "OpenSHC/Globals/Menu_Roundtable.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C140 + void Init::Constructor_MenuModal_Roundtable() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_Roundtable::ptr)( + UI::Enums::MMT_ROUNDTABLE, 4, 4, 792, 432, 4608, COL_WHITE::instance.shortValue, + UI::MenuModals::Roundtable_Func::MenuModalRenderFunction_Roundtable::get(), Menu_Roundtable::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_Roundtable::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_SaveMap.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_SaveMap.cpp new file mode 100644 index 0000000000..171a9cb8d4 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_SaveMap.cpp @@ -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/SaveMap.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_SaveMap.hpp" +#include "OpenSHC/Globals/Menu_SaveMap.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B4E0 + void Init::Constructor_MenuModal_SaveMap() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_SaveMap::ptr)(UI::Enums::MMT_SAVE_MAP, + -1, -1, 700, 397, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::SaveMap_Func::MenuModalRenderFunction_SaveMap::get(), Menu_SaveMap::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_SaveMap::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_SendMapTo.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_SendMapTo.cpp new file mode 100644 index 0000000000..3e21bdf735 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_SendMapTo.cpp @@ -0,0 +1,24 @@ +#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/SendMapTo.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_SendMapTo.hpp" +#include "OpenSHC/Globals/Menu_SendMapTo.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C020 + void Init::Constructor_MenuModal_SendMapTo() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_SendMapTo::ptr)( + UI::Enums::MMT_SEND_MAP_TO, -1, 50, 504, 348, 512, 6, + UI::MenuModals::SendMapTo_Func::MenuModalRenderFunction_SendMapTo::get(), Menu_SendMapTo::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_SendMapTo::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_SkirmishConnectionOptions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_SkirmishConnectionOptions.cpp new file mode 100644 index 0000000000..24e041e1f8 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_SkirmishConnectionOptions.cpp @@ -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/SkirmishConnectionOptions.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_SkirmishConnectionOptions.hpp" +#include "OpenSHC/Globals/Menu_SkirmishConnectionOptions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BE20 + void Init::Constructor_MenuModal_SkirmishConnectionOptions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_SkirmishConnectionOptions::ptr)( + UI::Enums::MMT_SKIRMISH_CONNECTION_OPTIONS, -1, -1, 408, 200, 512, COL_BLACK::instance.shortValue, + UI::MenuModals::SkirmishConnectionOptions_Func::MenuModalRenderFunction_SkirmishConnectionOptions::get(), + Menu_SkirmishConnectionOptions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_SkirmishConnectionOptions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_SkirmishPlayOptions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_SkirmishPlayOptions.cpp new file mode 100644 index 0000000000..cb74be6a4e --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_SkirmishPlayOptions.cpp @@ -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/SkirmishPlayOptions.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_BLACK.hpp" +#include "OpenSHC/Globals/MenuModal_SkirmishPlayOptions.hpp" +#include "OpenSHC/Globals/Menu_SkirmishPlayOptions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BE60 + void Init::Constructor_MenuModal_SkirmishPlayOptions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_SkirmishPlayOptions::ptr)( + UI::Enums::MMT_SKIRMISH_PLAY_OPTIONS, -1, -1, 408, 370, 512, COL_BLACK::instance.shortValue, + UI::MenuModals::SkirmishPlayOptions_Func::MenuModalRenderFunction_SkirmishPlayOptions::get(), + Menu_SkirmishPlayOptions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_SkirmishPlayOptions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_SoundOptions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_SoundOptions.cpp new file mode 100644 index 0000000000..4d37a6930c --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_SoundOptions.cpp @@ -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/SoundOptions.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_SoundOptions.hpp" +#include "OpenSHC/Globals/Menu_SoundOptions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B420 + void Init::Constructor_MenuModal_SoundOptions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_SoundOptions::ptr)( + UI::Enums::MMT_SOUND_OPTIONS, -1, -1, 500, 357, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::SoundOptions_Func::MenuModalRenderFunction_SoundOptions::get(), Menu_SoundOptions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_SoundOptions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_StartGoods.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_StartGoods.cpp new file mode 100644 index 0000000000..a8a547ced5 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_StartGoods.cpp @@ -0,0 +1,24 @@ +#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/StartGoods.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_StartGoods.hpp" +#include "OpenSHC/Globals/Menu_StartGoods.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B9A0 + void Init::Constructor_MenuModal_StartGoods() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_StartGoods::ptr)( + UI::Enums::MMT_START_GOODS, -1, -1, 600, 390, 512, 6, + UI::MenuModals::StartGoods_Func::MenuModalRenderFunction_StartGoods::get(), Menu_StartGoods::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_StartGoods::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_TacticalPowerBar.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_TacticalPowerBar.cpp new file mode 100644 index 0000000000..74a7c313fb --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_TacticalPowerBar.cpp @@ -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/TacticalPowerBar.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModa_TacticalPowerBar.hpp" +#include "OpenSHC/Globals/Menu_TacticalPowerBar.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C340 + void Init::Constructor_MenuModal_TacticalPowerBar() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModa_TacticalPowerBar::ptr)( + UI::Enums::MMT_TACTICAL_POWER_BAR, 745, 50, 55, 320, 4096, COL_WHITE::instance.shortValue, + UI::MenuModals::TacticalPowerBar_Func::MenuModalRenderFunction_TacticalPowerBar::get(), + Menu_TacticalPowerBar::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_TacticalPowerBar::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_TraderSettings.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_TraderSettings.cpp new file mode 100644 index 0000000000..5de6e1a9eb --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_TraderSettings.cpp @@ -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/TraderSettings.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_TraderSettings.hpp" +#include "OpenSHC/Globals/Menu_TraderSettings.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B960 + void Init::Constructor_MenuModal_TraderSettings() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_TraderSettings::ptr)( + UI::Enums::MMT_TRADER_SETTINGS, -1, -1, 600, 390, 512, 6, + UI::MenuModals::TraderSettings_Func::MenuModalRenderFunction_TraderSettings::get(), + Menu_TraderSettings::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_TraderSettings::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerEvent.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerEvent.cpp new file mode 100644 index 0000000000..b0dfe04338 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerEvent.cpp @@ -0,0 +1,24 @@ +#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/TriggerEvent.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_TriggerEvent.hpp" +#include "OpenSHC/Globals/Menu_TriggerEvent.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BF60 + void Init::Constructor_MenuModal_TriggerEvent() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_TriggerEvent::ptr)( + UI::Enums::MMT_TRIGGER_EVENT, -1, -1, 408, 442, 512, 6, + UI::MenuModals::TriggerEvent_Func::MenuModalRenderFunction_TriggerEvent::get(), Menu_TriggerEvent::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_TriggerEvent::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerEventOrInvasion.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerEventOrInvasion.cpp new file mode 100644 index 0000000000..851f20a6dc --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerEventOrInvasion.cpp @@ -0,0 +1,24 @@ +#include "OpenSHC/Global.func.hpp" +#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/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_TriggerEventOrInvasion.hpp" +#include "OpenSHC/Globals/Menu_TriggerEventOrInvasion.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BFA0 + void Init::Constructor_MenuModal_TriggerEventOrInvasion() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_TriggerEventOrInvasion::ptr)( + UI::Enums::MMT_TRIGGER_EVENT_OR_INVASION, -1, -1, 408, 144, 512, 6, + (UI::MenuModalRenderFunction*)Global_Func::DoNothing::get(), Menu_TriggerEventOrInvasion::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_TriggerEventOrInvasion::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerEventSlider.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerEventSlider.cpp new file mode 100644 index 0000000000..4dee729184 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerEventSlider.cpp @@ -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/TriggerEventSlider.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_TriggerEventSlider.hpp" +#include "OpenSHC/Globals/Menu_TriggerEventSlider.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BFE0 + void Init::Constructor_MenuModal_TriggerEventSlider() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_TriggerEventSlider::ptr)( + UI::Enums::MMT_TRIGGER_EVENT_SLIDER, -1, -1, 408, 168, 512, 6, + UI::MenuModals::TriggerEventSlider_Func::MenuModalRenderFunction_TriggerEventSlider::get(), + Menu_TriggerEventSlider::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_TriggerEventSlider::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerInvasion.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerInvasion.cpp new file mode 100644 index 0000000000..fad37bc027 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_TriggerInvasion.cpp @@ -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/CreateOrTriggerInvasion.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_TriggerInvasion.hpp" +#include "OpenSHC/Globals/Menu_TriggerInvasion.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BF20 + void Init::Constructor_MenuModal_TriggerInvasion() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_TriggerInvasion::ptr)( + UI::Enums::MMT_CREATE_OR_TRIGGER_INVASION, -1, -1, 700, 440, 512, 6, + UI::MenuModals::CreateOrTriggerInvasion_Func::MenuModalRenderFunction_CreateOrTriggerInvasion::get(), + Menu_TriggerInvasion::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_TriggerInvasion::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_TutorialBox.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_TutorialBox.cpp new file mode 100644 index 0000000000..72d64cce80 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_TutorialBox.cpp @@ -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/TutorialBox.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_TutorialBox.hpp" +#include "OpenSHC/Globals/Menu_TutorialBox.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BCA0 + void Init::Constructor_MenuModal_TutorialBox() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_TutorialBox::ptr)( + UI::Enums::MMT_TUTORIAL_BOX, -1, 20, 600, 150, 2112, COL_WHITE::instance.shortValue, + UI::MenuModals::TutorialBox_Func::MenuModalRenderFunction_TutorialBox_Thunk::get(), Menu_TutorialBox::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_TutorialBox::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_TutorialBoxWithLeave.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_TutorialBoxWithLeave.cpp new file mode 100644 index 0000000000..5b19f29ca2 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_TutorialBoxWithLeave.cpp @@ -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/TutorialBox.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_TutorialBoxWithLeave.hpp" +#include "OpenSHC/Globals/Menu_TutorialBoxWithLeave.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BCE0 + void Init::Constructor_MenuModal_TutorialBoxWithLeave() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_TutorialBoxWithLeave::ptr)( + UI::Enums::MMT_TUTORIAL_BOX_WITH_LEAVE, -1, 20, 600, 150, 2112, COL_WHITE::instance.shortValue, + UI::MenuModals::TutorialBox_Func::MenuModalRenderFunction_TutorialBox_Thunk::get(), + Menu_TutorialBoxWithLeave::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_TutorialBoxWithLeave::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedChooseMessageBox.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedChooseMessageBox.cpp new file mode 100644 index 0000000000..506b4ef659 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedChooseMessageBox.cpp @@ -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/UnusedChooseMessageBox.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_UnusedChooseMessageBox.hpp" +#include "OpenSHC/Globals/Menu_UnusedChooseMessageBox.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B920 + void Init::Constructor_MenuModal_UnusedChooseMessageBox() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_UnusedChooseMessageBox::ptr)( + UI::Enums::MMT_UNUSED_CHOOSE_MESSAGE_BOX, -1, -1, 663, 440, 512, 6, + UI::MenuModals::UnusedChooseMessageBox_Func::MenuModalRenderFunction_UnusedChooseMessageBox::get(), + Menu_UnusedChooseMessageBox::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_UnusedChooseMessageBox::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedCreateMessageEvent.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedCreateMessageEvent.cpp new file mode 100644 index 0000000000..0f1b82c15e --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedCreateMessageEvent.cpp @@ -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/UnusedCreateMessageEvent.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_UnusedCreateMessageEvent.hpp" +#include "OpenSHC/Globals/Menu_UnusedCreateMessageEvent.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BB60 + void Init::Constructor_MenuModal_UnusedCreateMessageEvent() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_UnusedCreateMessageEvent::ptr)( + UI::Enums::MMT_UNUSED_CREATE_MESSAGE_EVENT, -1, -1, 700, 460, 512, 6, + UI::MenuModals::UnusedCreateMessageEvent_Func::MenuModalRenderFunction_UnusedCreateMessageEvent::get(), + Menu_UnusedCreateMessageEvent::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_UnusedCreateMessageEvent::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedCreateTimedMessageEvent.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedCreateTimedMessageEvent.cpp new file mode 100644 index 0000000000..e8639c0081 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedCreateTimedMessageEvent.cpp @@ -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/UnusedCreateTimedMessageEvent.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_UnusedCreateTimedMessageEvent.hpp" +#include "OpenSHC/Globals/Menu_UnusedCreateTimedMessageEvent.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059BA60 + void Init::Constructor_MenuModal_UnusedCreateTimedMessageEvent() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_UnusedCreateTimedMessageEvent::ptr)( + UI::Enums::MMT_UNUSED_CREATE_TIMED_MESSAGE_EVENT, -1, -1, 700, 510, 512, 6, + UI::MenuModals::UnusedCreateTimedMessageEvent_Func::MenuModalRenderFunction_UnusedCreateTimedMessageEvent:: + get(), + Menu_UnusedCreateTimedMessageEvent::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_UnusedCreateTimedMessageEvent::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedSetName.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedSetName.cpp new file mode 100644 index 0000000000..0be4a365a1 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedSetName.cpp @@ -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/UnusedSetName.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_UnusedSetName.hpp" +#include "OpenSHC/Globals/Menu_UnusedSetName.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B8E0 + void Init::Constructor_MenuModal_UnusedSetName() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_UnusedSetName::ptr)( + UI::Enums::MMT_UNUSED_SET_NAME, -1, -1, 500, 150, 16, COL_WHITE::instance.shortValue, + UI::MenuModals::UnusedSetName_Func::MenuModalRenderFunction_UnusedSetName::get(), Menu_UnusedSetName::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_UnusedSetName::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedSiegeAttackingForceUnk.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedSiegeAttackingForceUnk.cpp new file mode 100644 index 0000000000..1444408301 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedSiegeAttackingForceUnk.cpp @@ -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/UnusedSiegeAttackingForceUnk.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_UnusedSiegeAttackingForceUnk.hpp" +#include "OpenSHC/Globals/Menu_UnusedSiegeAttackingForceUnk.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B9E0 + void Init::Constructor_MenuModal_UnusedSiegeAttackingForceUnk() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_UnusedSiegeAttackingForceUnk::ptr)( + UI::Enums::MMT_UNUSED_SIEGE_ATTACKING_FORCEUnk, -1, -1, 600, 440, 512, 6, + UI::MenuModals::UnusedSiegeAttackingForceUnk_Func::MenuModalRenderFunction_UnusedSiegeAttackingForceUnk:: + get(), + Menu_UnusedSiegeAttackingForceUnk::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_UnusedSiegeAttackingForceUnk::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedWinCondition.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedWinCondition.cpp new file mode 100644 index 0000000000..ac93f3f119 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_UnusedWinCondition.cpp @@ -0,0 +1,24 @@ +#include "OpenSHC/Global.func.hpp" +#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/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/MenuModal_UnusedWinCondition.hpp" +#include "OpenSHC/Globals/Menu_UnusedWinCondition.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B160 + void Init::Constructor_MenuModal_UnusedWinCondition() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_UnusedWinCondition::ptr)( + UI::Enums::MMT_UNUSED_WIN_CONDITION, 0, 0, 240, 0, 0, 0, + (UI::MenuModalRenderFunction*)Global_Func::DoNothing::get(), Menu_UnusedWinCondition::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_UnusedWinCondition::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_VideoOptions.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_VideoOptions.cpp new file mode 100644 index 0000000000..fe5fc698a2 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_VideoOptions.cpp @@ -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/VideoOptions.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_VideoOptions.hpp" +#include "OpenSHC/Globals/Menu_VideoOptions.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B3E0 + void Init::Constructor_MenuModal_VideoOptions() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_VideoOptions::ptr)( + UI::Enums::MMT_VIDEO_OPTIONS, -1, -1, 500, 357, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::VideoOptions_Func::MenuModalRenderFunction_VideoOptions::get(), Menu_VideoOptions::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_VideoOptions::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_WaitingForHost.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_WaitingForHost.cpp new file mode 100644 index 0000000000..607aac4938 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_WaitingForHost.cpp @@ -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/WaitingForHost.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_WaitingForHost.hpp" +#include "OpenSHC/Globals/Menu_WaitingForHost.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B8A0 + void Init::Constructor_MenuModal_WaitingForHost() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_WaitingForHost::ptr)( + UI::Enums::MMT_WAITING_FOR_HOST, -1, -1, 500, 100, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::WaitingForHost_Func::MenuModalRenderFunction_WaitingForHost::get(), + Menu_WaitingForHost::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_WaitingForHost::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuModal_YesNoDialog.cpp b/src/OpenSHC/Global/Init/Constructor_MenuModal_YesNoDialog.cpp new file mode 100644 index 0000000000..716b6b14e3 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuModal_YesNoDialog.cpp @@ -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/YesNoDialog.func.hpp" +#include "OpenSHC/UI/Enums/MenuModalType.hpp" + +#include "OpenSHC/Globals/COL_WHITE.hpp" +#include "OpenSHC/Globals/MenuModal_YesNoDialog.hpp" +#include "OpenSHC/Globals/Menu_YesNoDialog.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059B520 + void Init::Constructor_MenuModal_YesNoDialog() + { + MACRO_CALL_MEMBER(UI::MenuModal_Func::Constructor_MenuModal, MenuModal_YesNoDialog::ptr)( + UI::Enums::MMT_YES_NO_DIALOG, -1, -1, 450, 150, 512, COL_WHITE::instance.shortValue, + UI::MenuModals::YesNoDialog_Func::MenuModalRenderFunction_YesNoDialog::get(), Menu_YesNoDialog::ptr); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuModal_YesNoDialog::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuTextInputState.cpp b/src/OpenSHC/Global/Init/Constructor_MenuTextInputState.cpp new file mode 100644 index 0000000000..6f044ad5c1 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuTextInputState.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuTextInputState.func.hpp" + +#include "OpenSHC/Globals/DAT_MenuTextInputState.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059CC40 + void Init::Constructor_MenuTextInputState() + { + MACRO_CALL_MEMBER(UI::MenuTextInputState_Func::Constructor_MenuTextInputState, DAT_MenuTextInputState::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d770::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_BuildMenu.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_BuildMenu.cpp new file mode 100644 index 0000000000..75a0cf14a6 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_BuildMenu.cpp @@ -0,0 +1,24 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/BuildMenu.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_BuildMenu.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A400 + void Init::Constructor_MenuView_BuildMenu() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_BuildMenu::ptr)(UI::Enums::MVT_BUILD_MENU, + UI::MenuViews::BuildMenu_Func::MenuView_BuildMenu_Prepare::get(), + UI::MenuViews::BuildMenu_Func::MenuView_BuildMenu_DoInitial::get(), + UI::MenuViews::BuildMenu_Func::MenuView_BuildMenu_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_BuildMenu::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_BuildingAndStatusMenu.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_BuildingAndStatusMenu.cpp new file mode 100644 index 0000000000..cd83f46891 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_BuildingAndStatusMenu.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/BuildingAndStatusMenu.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_BuildingAndStatusMenu.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A430 + void Init::Constructor_MenuView_BuildingAndStatusMenu() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_BuildingAndStatusMenu::ptr)( + UI::Enums::MVT_BUILDING_AND_STATUS_MENU, + UI::MenuViews::BuildingAndStatusMenu_Func::MenuView_BuildingAndStatusMenu_Prepare::get(), + UI::MenuViews::BuildingAndStatusMenu_Func::MenuView_BuildingAndStatusMenu_DoInitial::get(), + UI::MenuViews::BuildingAndStatusMenu_Func::MenuView_BuildingAndStatusMenu_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_BuildingAndStatusMenu::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_CampaignUnk.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_CampaignUnk.cpp new file mode 100644 index 0000000000..4aa8637700 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_CampaignUnk.cpp @@ -0,0 +1,24 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/CampaignUnk.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_CampaignUnk.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A5E0 + void Init::Constructor_MenuView_CampaignUnk() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_CampaignUnk::ptr)( + UI::Enums::MVT_UNKNOWN_27_CAMPAIGNUnk, UI::MenuViews::CampaignUnk_Func::MenuView_CampaignUnk_Prepare::get(), + UI::MenuViews::CampaignUnk_Func::MenuView_CampaignUnk_DoInitial::get(), + UI::MenuViews::CampaignUnk_Func::MenuView_CampaignUnk_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_CampaignUnk::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_Credits.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_Credits.cpp new file mode 100644 index 0000000000..45233cee45 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_Credits.cpp @@ -0,0 +1,24 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/Credits.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_Credits.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A7F0 + void Init::Constructor_MenuView_Credits() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_Credits::ptr)(UI::Enums::MVT_CREDITS, + UI::MenuViews::Credits_Func::MenuView_Credits_Prepare::get(), + UI::MenuViews::Credits_Func::MenuView_Credits_DoInitial::get(), + UI::MenuViews::Credits_Func::MenuView_Credits_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_Credits::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_CrusadeEndscreen.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_CrusadeEndscreen.cpp new file mode 100644 index 0000000000..51de3930d7 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_CrusadeEndscreen.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/CrusadeEndscreen.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_CrusadeEndscreen.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059AA30 + void Init::Constructor_MenuView_CrusadeEndscreen() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_CrusadeEndscreen::ptr)( + UI::Enums::MVT_CRUSADE_ENDSCREEN, + UI::MenuViews::CrusadeEndscreen_Func::MenuView_CrusadeEndscreen_Prepare::get(), + UI::MenuViews::CrusadeEndscreen_Func::MenuView_CrusadeEndscreen_DoInitial::get(), + UI::MenuViews::CrusadeEndscreen_Func::MenuView_CrusadeEndscreen_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_CrusadeEndscreen::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_CrusadeMap.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_CrusadeMap.cpp new file mode 100644 index 0000000000..1e447b3e9d --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_CrusadeMap.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/CrusadeMap.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_CrusadeMap.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A9D0 + void Init::Constructor_MenuView_CrusadeMap() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_CrusadeMap::ptr)(UI::Enums::MVT_CRUSADE_MAP, + UI::MenuViews::CrusadeMap_Func::MenuView_CrusadeMap_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_CrusadeAndRankMenu::get(), + UI::MenuViews::CrusadeMap_Func::MenuView_CrusadeMap_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_CrusadeMap::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_CrusadeMissionIntro.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_CrusadeMissionIntro.cpp new file mode 100644 index 0000000000..b846c16e5b --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_CrusadeMissionIntro.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/CrusadeMissionIntro.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_CrusadeMissionIntro.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A9A0 + void Init::Constructor_MenuView_CrusadeMissionIntro() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_CrusadeMissionIntro::ptr)( + UI::Enums::MVT_CRUSADE_MISSION_INTRO, + UI::MenuViews::CrusadeMissionIntro_Func::MenuView_CrusadeMissionIntro_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_CrusadeAndRankMenu::get(), + UI::MenuViews::CrusadeMissionIntro_Func::MenuView_CrusadeMissionIntro_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_CrusadeMissionIntro::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_CustomScenarios.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_CustomScenarios.cpp new file mode 100644 index 0000000000..dc881eaaf5 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_CustomScenarios.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/CustomScenarios.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_CustomScenarios.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A7C0 + void Init::Constructor_MenuView_CustomScenarios() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_CustomScenarios::ptr)( + UI::Enums::MVT_CUSTOM_SCENARIOS, + UI::MenuViews::CustomScenarios_Func::MenuView_CustomScenarios_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_BlackBoxDefaultBorderAndPicture::get(), + UI::MenuViews::CustomScenarios_Func::MenuView_CustomScenarios_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_CustomScenarios::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_EditScenario.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_EditScenario.cpp new file mode 100644 index 0000000000..4adba8fe46 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_EditScenario.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/EditScenario.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_EditScenario.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A6D0 + void Init::Constructor_MenuView_EditScenario() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_EditScenario::ptr)( + UI::Enums::MVT_EDIT_SCENARIO, UI::MenuViews::EditScenario_Func::MenuView_EditScenario_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_OnlySetMenuXY::get(), + UI::MenuViews::EditScenario_Func::MenuView_EditScenario_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_EditScenario::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_GameLost.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_GameLost.cpp new file mode 100644 index 0000000000..f6f0b93e00 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_GameLost.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/GameLost.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_GameLost.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A670 + void Init::Constructor_MenuView_GameLost() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_GameLost::ptr)(UI::Enums::MVT_GAME_LOSTUnk, + UI::MenuViews::GameLost_Func::MenuView_GameLost_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::GameLost_Func::MenuView_GameLost_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_GameLost::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_GameStartEnterName.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_GameStartEnterName.cpp new file mode 100644 index 0000000000..b218e7f0df --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_GameStartEnterName.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/GameStartEnterName.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_GameStartEnterName.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A700 + void Init::Constructor_MenuView_GameStartEnterName() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_GameStartEnterName::ptr)( + UI::Enums::MVT_GAME_START_ENTER_NAME, + UI::MenuViews::GameStartEnterName_Func::MenuView_GameStartEnterName_Prepare::get(), + UI::MenuViews::GameStartEnterName_Func::MenuView_GameStartEnterName_DoInitial::get(), + UI::MenuViews::GameStartEnterName_Func::MenuView_GameStartEnterName_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_GameStartEnterName::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricCampaignIntro.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricCampaignIntro.cpp new file mode 100644 index 0000000000..c6d96b56ef --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricCampaignIntro.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/HistoricCampaignIntro.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_HistoricCampaignIntro.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A8E0 + void Init::Constructor_MenuView_HistoricCampaignIntro() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_HistoricCampaignIntro::ptr)( + UI::Enums::MVT_HISTORIC_CAMPAIGN_INTRO, + UI::MenuViews::HistoricCampaignIntro_Func::MenuView_HistoricCampaignIntro_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_BlackBorderAndGfx::get(), + UI::MenuViews::HistoricCampaignIntro_Func::MenuView_HistoricCampaignIntro_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_HistoricCampaignIntro::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricCampaignOutro.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricCampaignOutro.cpp new file mode 100644 index 0000000000..5a9e70a20e --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricCampaignOutro.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/HistoricCampaignOutro.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_HistoricCampaignOutro.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A910 + void Init::Constructor_MenuView_HistoricCampaignOutro() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_HistoricCampaignOutro::ptr)( + UI::Enums::MVT_HISTORIC_CAMPAIGN_OUTRO, + UI::MenuViews::HistoricCampaignOutro_Func::MenuView_HistoricCampaignOutro_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_BlackBorderAndGfx::get(), + UI::MenuViews::HistoricCampaignOutro_Func::MenuView_HistoricCampaignOutro_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_HistoricCampaignOutro::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricCampaignSelect.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricCampaignSelect.cpp new file mode 100644 index 0000000000..9420af078d --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricCampaignSelect.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/HistoricCampaignSelect.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_HistoricCampaignSelect.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A760 + void Init::Constructor_MenuView_HistoricCampaignSelect() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_HistoricCampaignSelect::ptr)( + UI::Enums::MVT_HISTORIC_CAMPAIGN_SELECT, + UI::MenuViews::HistoricCampaignSelect_Func::MenuView_HistoricCampaignSelect_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_BlackBoxDefaultBorderAndPicture::get(), + UI::MenuViews::HistoricCampaignSelect_Func::MenuView_HistoricCampaignSelect_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_HistoricCampaignSelect::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricMissionIntro.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricMissionIntro.cpp new file mode 100644 index 0000000000..4d884da9b0 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricMissionIntro.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/HistoricMissionIntro.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_HistoricMissionIntro.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A8B0 + void Init::Constructor_MenuView_HistoricMissionIntro() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_HistoricMissionIntro::ptr)( + UI::Enums::MVT_HISTORIC_MISSION_INTRO, + UI::MenuViews::HistoricMissionIntro_Func::MenuView_HistoricMissionIntro_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_BlackBorderAndGfx::get(), + UI::MenuViews::HistoricMissionIntro_Func::MenuView_HistoricMissionIntro_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_HistoricMissionIntro::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricMissionPicture.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricMissionPicture.cpp new file mode 100644 index 0000000000..9b2901236d --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricMissionPicture.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/HistoricMissionPicture.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_HistoricMissionPicture.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A880 + void Init::Constructor_MenuView_HistoricMissionPicture() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_HistoricMissionPicture::ptr)( + UI::Enums::MVT_HISTORIC_MISSION_PICTURE, + UI::MenuViews::HistoricMissionPicture_Func::MenuView_HistoricMissionPicture_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_BlackBorderAndGfx::get(), + UI::MenuViews::HistoricMissionPicture_Func::MenuView_HistoricMissionPicture_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_HistoricMissionPicture::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricMissionSelect.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricMissionSelect.cpp new file mode 100644 index 0000000000..8daa4d5ecc --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_HistoricMissionSelect.cpp @@ -0,0 +1,27 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/HistoricMissionSelect.func.hpp" +#include "OpenSHC/UI/MenuViews/MissionSelect.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_HistoricMissionSelect.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A1C0 + void Init::Constructor_MenuView_HistoricMissionSelect() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_HistoricMissionSelect::ptr)( + UI::Enums::MVT_HISTORIC_MISSION_SELECT, + UI::MenuViews::HistoricMissionSelect_Func::MenuView_HistoricMissionSelect_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::MissionSelect_Func::MenuView_MissionSelect_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_HistoricMissionSelect::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_IntroLogos.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_IntroLogos.cpp new file mode 100644 index 0000000000..413289dec8 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_IntroLogos.cpp @@ -0,0 +1,24 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/IntroLogos.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_IntroLogos.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A190 + void Init::Constructor_MenuView_IntroLogos() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_IntroLogos::ptr)(UI::Enums::MVT_INTRO_LOGOS, + UI::MenuViews::IntroLogos_Func::MenuView_IntroLogos_Prepare::get(), + UI::MenuViews::IntroLogos_Func::MenuView_IntroLogos_DoInitial::get(), + UI::MenuViews::IntroLogos_Func::MenuView_IntroLogos_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_IntroLogos::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_IntroVideo.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_IntroVideo.cpp new file mode 100644 index 0000000000..f0e12879e9 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_IntroVideo.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/IntroVideo.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_IntroVideo.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A850 + void Init::Constructor_MenuView_IntroVideo() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_IntroVideo::ptr)(UI::Enums::MVT_INTRO_VIDEO, + UI::MenuViews::IntroVideo_Func::MenuView_IntroVideo_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_OnlySetMenuXY::get(), + UI::MenuViews::IntroVideo_Func::MenuView_IntroVideo_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_IntroVideo::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_LobbyMenu.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_LobbyMenu.cpp new file mode 100644 index 0000000000..5bbc123453 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_LobbyMenu.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/LobbyMenu.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_LobbyMenu.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A2E0 + void Init::Constructor_MenuView_LobbyMenu() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_LobbyMenu::ptr)(UI::Enums::MVT_LOBBY_MENU, + UI::MenuViews::LobbyMenu_Func::MenuView_LobbyMenu_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::LobbyMenu_Func::MenuView_LobbyMenu_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_LobbyMenu::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_MainMenu.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_MainMenu.cpp new file mode 100644 index 0000000000..758c191b59 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_MainMenu.cpp @@ -0,0 +1,24 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/MainMenu.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_MainMenu.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A730 + void Init::Constructor_MenuView_MainMenu() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_MainMenu::ptr)(UI::Enums::MVT_MAIN_MENU, + UI::MenuViews::MainMenu_Func::MenuView_MainMenu_Prepare::get(), + UI::MenuViews::MainMenu_Func::MenuView_MainMenu_DoInitial::get(), + UI::MenuViews::MainMenu_Func::MenuView_MainMenu_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_MainMenu::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_MapEditorLandscaping.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_MapEditorLandscaping.cpp new file mode 100644 index 0000000000..5d60b350fa --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_MapEditorLandscaping.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/MapEditorLandscaping.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_MapEditorLandscaping.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A3D0 + void Init::Constructor_MenuView_MapEditorLandscaping() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_MapEditorLandscaping::ptr)( + UI::Enums::MVT_MAP_EDITOR_LANDSCAPING, + UI::MenuViews::MapEditorLandscaping_Func::MenuView_MapEditorLandscaping_Prepare::get(), + UI::MenuViews::MapEditorLandscaping_Func::MenuView_MapEditorLandscaping_DoInitial::get(), + UI::MenuViews::MapEditorLandscaping_Func::MenuView_MapEditorLandscaping_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_MapEditorLandscaping::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_MapEditorProperties.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_MapEditorProperties.cpp new file mode 100644 index 0000000000..08a117593e --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_MapEditorProperties.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/MapEditorProperties.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_MapEditorProperties.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A490 + void Init::Constructor_MenuView_MapEditorProperties() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_MapEditorProperties::ptr)( + UI::Enums::MVT_MAP_EDITOR_PROPERTIES, + UI::MenuViews::MapEditorProperties_Func::MenuView_MapEditorProperties_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::MapEditorProperties_Func::MenuView_MapEditorProperties_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_MapEditorProperties::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_MissionFinishedTransition.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_MissionFinishedTransition.cpp new file mode 100644 index 0000000000..e9abde2248 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_MissionFinishedTransition.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/MissionFinishedTransition.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_MissionFinishedTransition.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A640 + void Init::Constructor_MenuView_MissionFinishedTransition() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_MissionFinishedTransition::ptr)( + UI::Enums::MVT_MISSION_FINISHED_TRANSITION, + UI::MenuViews::MissionFinishedTransition_Func::MenuView_MissionFinishedTransition_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::MissionFinishedTransition_Func::MenuView_MissionFinishedTransition_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Global::Init_Func::Destructor_MenuView_MissionFinishedTransition::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_MpConnection.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_MpConnection.cpp new file mode 100644 index 0000000000..b7326e8c9a --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_MpConnection.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/MpConnection.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_MpConnection.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A280 + void Init::Constructor_MenuView_MpConnection() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_MpConnection::ptr)( + UI::Enums::MVT_MP_CONNECTION, UI::MenuViews::MpConnection_Func::MenuView_MpConnection_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::General_Func::MenuView_General_DoEveryFrame_FirstGfxCentered::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_MpConnection::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_NewMapMapsize.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_NewMapMapsize.cpp new file mode 100644 index 0000000000..a2837c6d3f --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_NewMapMapsize.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/NewMapMapsize.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_NewMapMapsize.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A4F0 + void Init::Constructor_MenuView_NewMapMapsize() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_NewMapMapsize::ptr)( + UI::Enums::MVT_NEW_MAP_MAPSIZE, UI::MenuViews::NewMapMapsize_Func::MenuView_NewMapMapsize_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::NewMapMapsize_Func::MenuView_NewMapMapsize_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_NewMapMapsize::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_NewMapMaptype.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_NewMapMaptype.cpp new file mode 100644 index 0000000000..2b93d3924b --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_NewMapMaptype.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/NewMapMaptype.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_NewMapMaptype.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A4C0 + void Init::Constructor_MenuView_NewMapMaptype() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_NewMapMaptype::ptr)( + UI::Enums::MVT_NEW_MAP_MAPTYPE, UI::MenuViews::NewMapMaptype_Func::MenuView_NewMapMaptype_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::General_Func::MenuView_General_DoEveryFrame_FirstGfxCentered::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_NewMapMaptype::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_RankingGames.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_RankingGames.cpp new file mode 100644 index 0000000000..d5b2156ce7 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_RankingGames.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/RankingGames.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_RankingGames.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059AA00 + void Init::Constructor_MenuView_RankingGames() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_RankingGames::ptr)( + UI::Enums::MVT_RANKING_GAMES, UI::MenuViews::RankingGames_Func::MenuView_RankingGames_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_CrusadeAndRankMenu::get(), + UI::MenuViews::RankingGames_Func::MenuView_RankingGames_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_RankingGames::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_ScenarioDescription.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_ScenarioDescription.cpp new file mode 100644 index 0000000000..04e3cb72e0 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_ScenarioDescription.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/ScenarioDescription.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_ScenarioDescription.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A610 + void Init::Constructor_MenuView_ScenarioDescription() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_ScenarioDescription::ptr)( + UI::Enums::MVT_SCENARIO_DESCRIPTION, + UI::MenuViews::ScenarioDescription_Func::MenuView_ScenarioDescription_Prepare::get(), + UI::MenuViews::ScenarioDescription_Func::MenuView_ScenarioDescription_DoInitial::get(), + UI::MenuViews::ScenarioDescription_Func::MenuView_ScenarioDescription_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_ScenarioDescription::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_SelectCrusade.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_SelectCrusade.cpp new file mode 100644 index 0000000000..ba42f0ae13 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_SelectCrusade.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/SelectCrusade.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_SelectCrusade.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A970 + void Init::Constructor_MenuView_SelectCrusade() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_SelectCrusade::ptr)( + UI::Enums::MVT_SELECT_CRUSADE, + UI::MenuViews::General_Func::MenuView_General_Prepare_SwordShieldAndBorder::get(), + UI::MenuViews::SelectCrusade_Func::MenuView_SelectCrusade_DoInitial::get(), + UI::MenuViews::SelectCrusade_Func::MenuView_SelectCrusade_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_SelectCrusade::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_SingleplayerMapChoice.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_SingleplayerMapChoice.cpp new file mode 100644 index 0000000000..574e2e4703 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_SingleplayerMapChoice.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/SingleplayerMapChoice.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_SingleplayerMapChoice.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A370 + void Init::Constructor_MenuView_SingleplayerMapChoice() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_SingleplayerMapChoice::ptr)( + UI::Enums::MVT_SINGLEPLAYER_MAP_CHOICE, + UI::MenuViews::SingleplayerMapChoice_Func::MenuView_SingleplayerMapChoice_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::SingleplayerMapChoice_Func::MenuView_SingleplayerMapChoice_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_SingleplayerMapChoice::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown21.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown21.cpp new file mode 100644 index 0000000000..3e65acc012 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown21.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/Helpers.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_Unknown21.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A2B0 + void Init::Constructor_MenuView_Unknown21() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_Unknown21::ptr)(UI::Enums::MVT_UNKNOWN_21, + UI::Helpers_Func::MainMenu_Unknown21_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::General_Func::MenuView_General_DoEveryFrame_FirstGfxCentered::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_Unknown21::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown26_CampaignRelatedUnk.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown26_CampaignRelatedUnk.cpp new file mode 100644 index 0000000000..0daec58a10 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown26_CampaignRelatedUnk.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/Unknown26.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_Unknown26_CampaignRelatedUnk.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A5B0 + void Init::Constructor_MenuView_Unknown26_CampaignRelatedUnk() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_Unknown26_CampaignRelatedUnk::ptr)( + UI::Enums::MVT_UNKNOWN_26_CAMPAIGN_RELATEDUnk, + UI::MenuViews::Unknown26_Func::MenuView_Unknown26_CampaignRelatedUnk_Prepare::get(), + UI::MenuViews::Unknown26_Func::MenuView_Unknown26_CampaignRelatedUnk_DoInitial::get(), + UI::MenuViews::Unknown26_Func::MenuView_Unknown26_CampaignRelatedUnk_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_Unknown26_CampaignRelatedUnk::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown33.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown33.cpp new file mode 100644 index 0000000000..367f2614c0 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown33.cpp @@ -0,0 +1,24 @@ +#include "OpenSHC/Global.func.hpp" +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/Unknown33.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_Unknown33.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A310 + void Init::Constructor_MenuView_Unknown33() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_Unknown33::ptr)(UI::Enums::MVT_UNKNOWN_33, + Global_Func::DoNothing::get(), Global_Func::DoNothing::get(), + UI::MenuViews::Unknown33_Func::MenuView_Unknown33_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_Unknown33::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown49DoesNothingUnk.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown49DoesNothingUnk.cpp new file mode 100644 index 0000000000..197c1a7c85 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown49DoesNothingUnk.cpp @@ -0,0 +1,23 @@ +#include "OpenSHC/Global.func.hpp" +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_Unknown49DoesNothingUnk.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A3A0 + void Init::Constructor_MenuView_Unknown49DoesNothingUnk() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_Unknown49DoesNothingUnk::ptr)( + UI::Enums::MVT_UNKNOWN_49_DOES_NOTHINGUnk, Global_Func::DoNothing::get(), Global_Func::DoNothing::get(), + Global_Func::DoNothing::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_Unknown49DoesNothingUnk::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown61ReturnToSkrimishMenuUnk.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown61ReturnToSkrimishMenuUnk.cpp new file mode 100644 index 0000000000..53fdd7e3eb --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_Unknown61ReturnToSkrimishMenuUnk.cpp @@ -0,0 +1,28 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/Unknown61ReturnToSkrimishMenuUnk.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_Unknown61ReturnToSkrimishMenuUnk.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A340 + void Init::Constructor_MenuView_Unknown61ReturnToSkrimishMenuUnk() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_Unknown61ReturnToSkrimishMenuUnk::ptr)( + UI::Enums::MVT_UNKNOWN_61_RETURN_TO_SKIRMISH_MENUUnk, + UI::MenuViews::Unknown61ReturnToSkrimishMenuUnk_Func::MenuView_Unknown61ReturnToSkrimishMenuUnk_Prepare:: + get(), + UI::MenuViews::Unknown61ReturnToSkrimishMenuUnk_Func::MenuView_Unknown61ReturnToSkrimishMenuUnk_DoInitial:: + get(), + UI::MenuViews::Unknown61ReturnToSkrimishMenuUnk_Func:: + MenuView_Unknown61ReturnToSkrimishMenuUnk_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_Unknown61ReturnToSkrimishMenuUnk::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedChooseAvailableKeeps.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedChooseAvailableKeeps.cpp new file mode 100644 index 0000000000..84404f2288 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedChooseAvailableKeeps.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedChooseAvailableKeeps.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedChooseAvailableKeeps.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A520 + void Init::Constructor_MenuView_UnusedChooseAvailableKeeps() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedChooseAvailableKeeps::ptr)( + UI::Enums::MVT_UNUSED_CHOOSE_AVAILABLE_KEEPS, + UI::MenuViews::UnusedChooseAvailableKeeps_Func::MenuView_UnusedChooseAvailableKeeps_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_ScreenToBlack::get(), + UI::MenuViews::UnusedChooseAvailableKeeps_Func::MenuView_UnusedChooseAvailableKeeps_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedChooseAvailableKeeps::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedChooseGameType.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedChooseGameType.cpp new file mode 100644 index 0000000000..8f5aa3a4b2 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedChooseGameType.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global.func.hpp" +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedChooseGameType.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedChooseGameType.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A550 + void Init::Constructor_MenuView_UnusedChooseGameType() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedChooseGameType::ptr)( + UI::Enums::MVT_UNUSED_CHOOSE_GAME_TYPE, Global_Func::DoNothing::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_ScreenToBlack::get(), + UI::MenuViews::UnusedChooseGameType_Func::MenuView_UnusedChooseGameType_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedChooseGameType::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedCreateSiege.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedCreateSiege.cpp new file mode 100644 index 0000000000..67fb158eb7 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedCreateSiege.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedCreateSiege.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedCreateSiege.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A580 + void Init::Constructor_MenuView_UnusedCreateSiege() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedCreateSiege::ptr)( + UI::Enums::MVT_UNUSED_CREATE_SIEGE, + UI::MenuViews::UnusedCreateSiege_Func::MenuView_UnusedCreateSiege_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::UnusedCreateSiege_Func::MenuView_UnusedCreateSiege_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedCreateSiege::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedDemoBuyItScreen.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedDemoBuyItScreen.cpp new file mode 100644 index 0000000000..d7c13d927f --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedDemoBuyItScreen.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedDemoBuyItScreen.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedDemoBuyItScreen.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A820 + void Init::Constructor_MenuView_UnusedDemoBuyItScreen() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedDemoBuyItScreen::ptr)( + UI::Enums::MVT_UNUSED_DEMO_BUY_IT_SCREEN, + UI::MenuViews::UnusedDemoBuyItScreen_Func::MenuView_UnusedDemoBuyItScreen_Prepare::get(), + UI::MenuViews::UnusedDemoBuyItScreen_Func::MenuView_UnusedDemoBuyItScreen_DoInitial::get(), + UI::MenuViews::UnusedDemoBuyItScreen_Func::MenuView_UnusedDemoBuyItScreen_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedDemoBuyItScreen::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedEconomicGametypeSelect.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedEconomicGametypeSelect.cpp new file mode 100644 index 0000000000..cd0e06ba1d --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedEconomicGametypeSelect.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedEconomicGametypeSelect.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedEconomicGametypeSelect.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A790 + void Init::Constructor_MenuView_UnusedEconomicGametypeSelect() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedEconomicGametypeSelect::ptr)( + UI::Enums::MVT_UNUSED_ECONOMIC_GAMETYPE_SELECT, + UI::MenuViews::UnusedEconomicGametypeSelect_Func::MenuView_UnusedEconomicGametypeSelect_Prepare::get(), + UI::MenuViews::UnusedEconomicGametypeSelect_Func::MenuView_UnusedEconomicGametypeSelect_DoInitial::get(), + UI::MenuViews::General_Func::MenuView_General_DoEveryFrame_FirstGfxCentered::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedEconomicGametypeSelect::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedEconomicMissionSelect.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedEconomicMissionSelect.cpp new file mode 100644 index 0000000000..d8dd1edbfe --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedEconomicMissionSelect.cpp @@ -0,0 +1,27 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/MissionSelect.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedEconomicMissionSelect.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedEconomicMissionSelect.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A1F0 + void Init::Constructor_MenuView_UnusedEconomicMissionSelect() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedEconomicMissionSelect::ptr)( + UI::Enums::MVT_UNUSED_ECONOMIC_MISSION_SELECTUnk, + UI::MenuViews::UnusedEconomicMissionSelect_Func::MenuView_UnusedEconomicMissionSelect_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::MissionSelect_Func::MenuView_MissionSelect_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedEconomicMissionSelect::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedExtremeAd.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedExtremeAd.cpp new file mode 100644 index 0000000000..d23df63093 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedExtremeAd.cpp @@ -0,0 +1,25 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedExtremeAd.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedExtremeAd.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A6A0 + void Init::Constructor_MenuView_UnusedExtremeAd() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedExtremeAd::ptr)( + UI::Enums::MVT_UNUSED_EXTREME_AD, + UI::MenuViews::UnusedExtremeAd_Func::MenuView_UnusedExtremeAd_Prepare::get(), + UI::MenuViews::UnusedExtremeAd_Func::MenuView_UnusedExtremeAd_DoInitial::get(), + UI::MenuViews::UnusedExtremeAd_Func::MenuView_UnusedExtremeAd_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedExtremeAd::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedHelpTextEditor.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedHelpTextEditor.cpp new file mode 100644 index 0000000000..0048f09f4c --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedHelpTextEditor.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedHelpTextEditor.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedHelpTextEditor.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A460 + void Init::Constructor_MenuView_UnusedHelpTextEditor() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedHelpTextEditor::ptr)( + UI::Enums::MVT_UNUSED_HELP_TEXT_EDITOR, + UI::MenuViews::UnusedHelpTextEditor_Func::MenuView_UnusedHelpTextEditor_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_OnlySetMenuXY::get(), + UI::MenuViews::UnusedHelpTextEditor_Func::MenuView_UnusedHelpTextEditor_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedHelpTextEditor::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedOldTitleMenu.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedOldTitleMenu.cpp new file mode 100644 index 0000000000..bb4a088c6c --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedOldTitleMenu.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global.func.hpp" +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedOldTitleMenu.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedOldTitleMenu.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A250 + void Init::Constructor_MenuView_UnusedOldTitleMenu() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedOldTitleMenu::ptr)( + UI::Enums::MVT_UNUSED_OLD_TITLE_MENU, + UI::MenuViews::UnusedOldTitleMenu_Func::MenuView_UnusedOldTitleMenu_Prepare::get(), + UI::MenuViews::UnusedOldTitleMenu_Func::MenuView_UnusedOldTitleMenu_DoInitial::get(), + Global_Func::DoNothing::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedOldTitleMenu::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedSelectRandomNumberOfEnemies.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedSelectRandomNumberOfEnemies.cpp new file mode 100644 index 0000000000..b9906d1f03 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedSelectRandomNumberOfEnemies.cpp @@ -0,0 +1,27 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedSelectRandomNumberOfEnemies.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedSelectRandomNumberOfEnemies.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A940 + void Init::Constructor_MenuView_UnusedSelectRandomNumberOfEnemies() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedSelectRandomNumberOfEnemies::ptr)( + UI::Enums::MVT_UNUSED_SELECT_RANDOM_NUMBER_OF_ENEMIES, + UI::MenuViews::General_Func::MenuView_General_Prepare_SwordShieldAndBorder::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::UnusedSelectRandomNumberOfEnemies_Func:: + MenuView_UnusedSelectRandomNumberOfEnemies_DoEveryFrame::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedSelectRandomNumberOfEnemies::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedSomeMissionStartUnk.cpp b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedSomeMissionStartUnk.cpp new file mode 100644 index 0000000000..992fe2867d --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MenuView_UnusedSomeMissionStartUnk.cpp @@ -0,0 +1,26 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MenuView.func.hpp" +#include "OpenSHC/UI/MenuViews/General.func.hpp" +#include "OpenSHC/UI/MenuViews/UnusedSomeMissionStartUnk.func.hpp" +#include "OpenSHC/UI/Enums/MenuViewType.hpp" + +#include "OpenSHC/Globals/MenuView_UnusedSomeMissionStartUnk.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059A220 + void Init::Constructor_MenuView_UnusedSomeMissionStartUnk() + { + MACRO_CALL_MEMBER(UI::MenuView_Func::Constructor_MenuView, MenuView_UnusedSomeMissionStartUnk::ptr)( + UI::Enums::MVT_UNUSED_SOME_MISSION_STARTUnk, + UI::MenuViews::UnusedSomeMissionStartUnk_Func::MenuView_UnusedSomeMissionStartUnk_Prepare::get(), + UI::MenuViews::General_Func::MenuView_General_DoInitial_DefaultMainMenuStructure::get(), + UI::MenuViews::General_Func::MenuView_General_DoEveryFrame_FirstGfxCentered::get()); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_MenuView_UnusedSomeMissionStartUnk::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MiniMapView.cpp b/src/OpenSHC/Global/Init/Constructor_MiniMapView.cpp new file mode 100644 index 0000000000..2037c6fb16 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MiniMapView.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/UI/MinimapViewState.func.hpp" + +#include "OpenSHC/Globals/DAT_MinimapViewState.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059CA40 + void Init::Constructor_MiniMapView() + { + MACRO_CALL_MEMBER(UI::MinimapViewState_Func::Constructor_MinimapViewState, DAT_MinimapViewState::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d670::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_ModifierKeyState.cpp b/src/OpenSHC/Global/Init/Constructor_ModifierKeyState.cpp new file mode 100644 index 0000000000..9169099115 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_ModifierKeyState.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Input/ModifierKeyState.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" + +#include "OpenSHC/Globals/DAT_ModifierKeyState.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C780 + void Init::Constructor_ModifierKeyState() + { + MACRO_CALL_MEMBER(Input::ModifierKeyState_Func::Constructor_ModifierKeyState, DAT_ModifierKeyState::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d510::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_MouseState.cpp b/src/OpenSHC/Global/Init/Constructor_MouseState.cpp new file mode 100644 index 0000000000..d558ade148 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_MouseState.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Input/MouseState.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" + +#include "OpenSHC/Globals/DAT_MouseState.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C760 + void Init::Constructor_MouseState() + { + MACRO_CALL_MEMBER(Input::MouseState_Func::Constructor_MouseState, DAT_MouseState::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d500::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_PathFindingState.cpp b/src/OpenSHC/Global/Init/Constructor_PathFindingState.cpp new file mode 100644 index 0000000000..0fd4d86a1e --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_PathFindingState.cpp @@ -0,0 +1,20 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Map/Navigation/PathFindingState.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" + +#include "OpenSHC/Globals/DAT_PathFindingState.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059CB00 + void Init::Constructor_PathFindingState() + { + MACRO_CALL_MEMBER( + Map::Navigation::PathFindingState_Func::Constructor_PathFindingState, DAT_PathFindingState::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d6d0::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_RNGState.cpp b/src/OpenSHC/Global/Init/Constructor_RNGState.cpp new file mode 100644 index 0000000000..fc3c2260a0 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_RNGState.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/Random/RNG.func.hpp" + +#include "OpenSHC/Globals/SEC_RNG.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C860 + void Init::Constructor_RNGState() + { + MACRO_CALL_MEMBER(Random::RNG_Func::Constructor_RNG, SEC_RNG::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d580::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_ResourceManager.cpp b/src/OpenSHC/Global/Init/Constructor_ResourceManager.cpp new file mode 100644 index 0000000000..2b335a8bbd --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_ResourceManager.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/IO/ResourceManager.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" + +#include "OpenSHC/Globals/DAT_ResourceManager.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C8C0 + void Init::Constructor_ResourceManager() + { + MACRO_CALL_MEMBER(IO::ResourceManager_Func::Constructor_ResourceManager, DAT_ResourceManager::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d5b0::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_Stopwatch_Gameloop.cpp b/src/OpenSHC/Global/Init/Constructor_Stopwatch_Gameloop.cpp new file mode 100644 index 0000000000..a318ab9e7e --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_Stopwatch_Gameloop.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/Util/Timing/Stopwatch.func.hpp" + +#include "OpenSHC/Globals/DAT_GameLoopStopwatch.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C920 + void Init::Constructor_Stopwatch_Gameloop() + { + MACRO_CALL_MEMBER(Util::Timing::Stopwatch_Func::Constructor_Stopwatch, DAT_GameLoopStopwatch::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_Stopwatch_Gameloop::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_Stopwatch_Unknown.cpp b/src/OpenSHC/Global/Init/Constructor_Stopwatch_Unknown.cpp new file mode 100644 index 0000000000..fc2997e455 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_Stopwatch_Unknown.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" +#include "OpenSHC/Util/Timing/Stopwatch.func.hpp" + +#include "OpenSHC/Globals/DAT_UnknownStopwatch.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C940 + void Init::Constructor_Stopwatch_Unknown() + { + MACRO_CALL_MEMBER(Util::Timing::Stopwatch_Func::Constructor_Stopwatch, DAT_UnknownStopwatch::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_Stopwatch_Unknown::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_TribesState.cpp b/src/OpenSHC/Global/Init/Constructor_TribesState.cpp new file mode 100644 index 0000000000..8cd0c75a34 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_TribesState.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Map/Units/TribesState.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" + +#include "OpenSHC/Globals/DAT_TribesState.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059CB60 + void Init::Constructor_TribesState() + { + MACRO_CALL_MEMBER(Map::Units::TribesState_Func::Constructor_TribesState, DAT_TribesState::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d700::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/Constructor_UnitsState.cpp b/src/OpenSHC/Global/Init/Constructor_UnitsState.cpp new file mode 100644 index 0000000000..a3e9174786 --- /dev/null +++ b/src/OpenSHC/Global/Init/Constructor_UnitsState.cpp @@ -0,0 +1,19 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/Map/Units/UnitsState.func.hpp" +#include "OpenSHC/Meta.func.hpp" +#include "OpenSHC/OS.func.hpp" + +#include "OpenSHC/Globals/DAT_UnitsState.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059CB20 + void Init::Constructor_UnitsState() + { + MACRO_CALL_MEMBER(Map::Units::UnitsState_Func::Constructor_UnitsState, DAT_UnitsState::ptr)(); + MACRO_CALL(OS_Func::_atexit)(Meta_Func::Destructor_0059d6e0::get()); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateBottomLeftDateDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateBottomLeftDateDisplayElement.cpp new file mode 100644 index 0000000000..ffa2785cb9 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateBottomLeftDateDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/BottomLeftDateDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C3E0 + void Init::CreateBottomLeftDateDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, BottomLeftDateDisplayElement::ptr)( + DE::SHCDE::OST_DATE, 4, 424, 0, UI::DisplayElements_Func::RenderBottomLeftDateDisplayElement::get(), + (UI::Enums::DisplayElementPositionModifier)6); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateConnectAndPathLinkageInfoTextDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateConnectAndPathLinkageInfoTextDisplayElement.cpp new file mode 100644 index 0000000000..9819857091 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateConnectAndPathLinkageInfoTextDisplayElement.cpp @@ -0,0 +1,22 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/ConnectAndPathLinkageInfoTextDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C440 + void Init::CreateConnectAndPathLinkageInfoTextDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, + ConnectAndPathLinkageInfoTextDisplayElement::ptr)((DE::SHCDE::eOnScreenText)2, 630, 9, 0, + UI::DisplayElements_Func::RenderConnectAndPathLinkageInfoTextDisplayElement::get(), + (UI::Enums::DisplayElementPositionModifier)9); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateDebugNumbersDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateDebugNumbersDisplayElement.cpp new file mode 100644 index 0000000000..662cef631e --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateDebugNumbersDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/DebugNumbersDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C4C0 + void Init::CreateDebugNumbersDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, DebugNumbersDisplayElement::ptr)( + DE::SHCDE::OST_FRAMERATE, 730, 9, 0, UI::DisplayElements_Func::RenderDebugNumbersDisplayElement::get(), + (UI::Enums::DisplayElementPositionModifier)9); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateGamePausedTextDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateGamePausedTextDisplayElement.cpp new file mode 100644 index 0000000000..7fb3480bda --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateGamePausedTextDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/GamePausedTextDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C600 + void Init::CreateGamePausedTextDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, GamePausedTextDisplayElement::ptr)( + DE::SHCDE::OST_GAME_PAUSED, 400, 230, 0, + UI::DisplayElements_Func::RenderGamePausedTextDisplayElement::get(), UI::Enums::DEPM_MAIN_MENU_X_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateGameSpeedTextDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateGameSpeedTextDisplayElement.cpp new file mode 100644 index 0000000000..364f7cea2f --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateGameSpeedTextDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/GameSpeedTextDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C620 + void Init::CreateGameSpeedTextDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, GameSpeedTextDisplayElement::ptr)( + DE::SHCDE::OST_GAME_SPEED, 770, 9, 0, UI::DisplayElements_Func::RenderGameSpeedTextDisplayElement::get(), + UI::Enums::DEPM_MAIN_MENU_X_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateInGameChatDisplayElementUnk.cpp b/src/OpenSHC/Global/Init/CreateInGameChatDisplayElementUnk.cpp new file mode 100644 index 0000000000..678feabd65 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateInGameChatDisplayElementUnk.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/InGameChatDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C460 + void Init::CreateInGameChatDisplayElementUnk() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, InGameChatDisplayElement::ptr)( + DE::SHCDE::OST_MULTI_CHAT, 4, 367, 1, UI::DisplayElements_Func::RenderInGameChatDisplayElement::get(), + (UI::Enums::DisplayElementPositionModifier)6); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateInGameStartingGoodsCounterDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateInGameStartingGoodsCounterDisplayElement.cpp new file mode 100644 index 0000000000..d6dc846303 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateInGameStartingGoodsCounterDisplayElement.cpp @@ -0,0 +1,22 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/InGameStartingGoodsCounterDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C420 + void Init::CreateInGameStartingGoodsCounterDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, + InGameStartingGoodsCounterDisplayElement::ptr)(DE::SHCDE::OST_STARTING_GOODS, 4, 4, 1, + UI::DisplayElements_Func::RenderStartingGoodDisplayElement::get(), + (UI::Enums::DisplayElementPositionModifier)5); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateInGameWinDefeatWindowDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateInGameWinDefeatWindowDisplayElement.cpp new file mode 100644 index 0000000000..ca3cbd6087 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateInGameWinDefeatWindowDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/InGameWinDefeatWindowDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C540 + void Init::CreateInGameWinDefeatWindowDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, + InGameWinDefeatWindowDisplayElement::ptr)(DE::SHCDE::OST_MP_GAME_OVER, 400, 240, 0, + UI::DisplayElements_Func::RenderInGameWinDefeatWindowDisplayElement::get(), UI::Enums::DEPM_MAIN_MENU_X_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateKeepAndGranaryPlacementInfoDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateKeepAndGranaryPlacementInfoDisplayElement.cpp new file mode 100644 index 0000000000..ac285273fb --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateKeepAndGranaryPlacementInfoDisplayElement.cpp @@ -0,0 +1,22 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/KeepAndGranaryPlacementInfoDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C5A0 + void Init::CreateKeepAndGranaryPlacementInfoDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, + KeepAndGranaryPlacementInfoDisplayElement::ptr)(DE::SHCDE::OST_KEEP_MESSAGE, 725, 447, 0, + UI::DisplayElements_Func::RenderAndPlayKeepAndGranaryPlacementInfoDisplayElement::get(), + UI::Enums::DEPM_TOWARDS_MID_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateMissionWinDefeatBannerDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateMissionWinDefeatBannerDisplayElement.cpp new file mode 100644 index 0000000000..2dc28e0a35 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateMissionWinDefeatBannerDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/MissionWinDefeatBannerDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C560 + void Init::CreateMissionWinDefeatBannerDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, + MissionWinDefeatBannerDisplayElement::ptr)(DE::SHCDE::OST_MISSION_FINISHED, 400, 30, 0, + UI::DisplayElements_Func::RenderMissionWinDefeatBannerDisplayElement::get(), UI::Enums::DEPM_RESOLUTION_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateNoRushDisplayElementUnk.cpp b/src/OpenSHC/Global/Init/CreateNoRushDisplayElementUnk.cpp new file mode 100644 index 0000000000..71af8d72f3 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateNoRushDisplayElementUnk.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/NoRushDisplayElementUnk.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C680 + void Init::CreateNoRushDisplayElementUnk() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, NoRushDisplayElementUnk::ptr)( + DE::SHCDE::OST_MESSAGE_BAR, 0, 8, 0, UI::DisplayElements_Func::RenderNoRushDisplayElementUnk::get(), + UI::Enums::DEPM_RESOLUTION_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateNoTreeGrowthTextDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateNoTreeGrowthTextDisplayElement.cpp new file mode 100644 index 0000000000..da980936a1 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateNoTreeGrowthTextDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/NoTreeGrowthTextDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C520 + void Init::CreateNoTreeGrowthTextDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, NoTreeGrowthTextDisplayElement::ptr)( + (DE::SHCDE::eOnScreenText)14, 200, 34, 0, + UI::DisplayElements_Func::RenderNoTreeGrowthTextDisplayElement::get(), UI::Enums::DEPM_RESOLUTION_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreatePeopleLeftToPlaceDisplayElement.cpp b/src/OpenSHC/Global/Init/CreatePeopleLeftToPlaceDisplayElement.cpp new file mode 100644 index 0000000000..1ef388f9bf --- /dev/null +++ b/src/OpenSHC/Global/Init/CreatePeopleLeftToPlaceDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/PeopleLeftToPlaceDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C6E0 + void Init::CreatePeopleLeftToPlaceDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, PeopleLeftToPlaceDisplayElement::ptr)( + DE::SHCDE::OST_PEOPLE_LEFT, 400, 10, 0, + UI::DisplayElements_Func::RenderPeopleLeftToPlaceDisplayElement::get(), UI::Enums::DEPM_RESOLUTION_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreatePlayerInfoOnHoverDisplayElement.cpp b/src/OpenSHC/Global/Init/CreatePlayerInfoOnHoverDisplayElement.cpp new file mode 100644 index 0000000000..eb33da107d --- /dev/null +++ b/src/OpenSHC/Global/Init/CreatePlayerInfoOnHoverDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/PlayerInfoOnHoverDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C5C0 + void Init::CreatePlayerInfoOnHoverDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, PlayerInfoOnHoverDisplayElement::ptr)( + DE::SHCDE::OST_WHO_OWNS, 400, 430, 0, + UI::DisplayElements_Func::RenderPlayerInfoOnHoverDisplayElement::get(), UI::Enums::DEPM_TOWARDS_MID_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreatePlayerPingUnkDisplayElement22.cpp b/src/OpenSHC/Global/Init/CreatePlayerPingUnkDisplayElement22.cpp new file mode 100644 index 0000000000..710f624304 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreatePlayerPingUnkDisplayElement22.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/PlayerPingUnkDisplayElement22.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C5E0 + void Init::CreatePlayerPingUnkDisplayElement22() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, PlayerPingUnkDisplayElement22::ptr)( + DE::SHCDE::OST_PINGS, 660, 40, 0, UI::DisplayElements_Func::RenderPlayerPingUnkDisplayElement22::get(), + UI::Enums::DEPM_TOWARDS_MID_X); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateResourceMissing1DisplayElement.cpp b/src/OpenSHC/Global/Init/CreateResourceMissing1DisplayElement.cpp new file mode 100644 index 0000000000..d2fa67aac3 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateResourceMissing1DisplayElement.cpp @@ -0,0 +1,22 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/ResourceMissing1DisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C480 + void Init::CreateResourceMissing1DisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, ResourceMissing1DisplayElement::ptr)( + DE::SHCDE::OST_FEEDBACK_1, 10, 403, 0, + UI::DisplayElements_Func::RenderResourceMissing1DisplayElement::get(), + (UI::Enums::DisplayElementPositionModifier)6); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateResourceMissing2DisplayElement.cpp b/src/OpenSHC/Global/Init/CreateResourceMissing2DisplayElement.cpp new file mode 100644 index 0000000000..2263f7d16e --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateResourceMissing2DisplayElement.cpp @@ -0,0 +1,22 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/ResourceMissing2DisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C4A0 + void Init::CreateResourceMissing2DisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, ResourceMissing2DisplayElement::ptr)( + DE::SHCDE::OST_FEEDBACK_2, 10, 367, 0, + UI::DisplayElements_Func::RenderResourceMissing2DisplayElement::get(), + (UI::Enums::DisplayElementPositionModifier)6); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateSomeMissionNumberUnkDisplayElement9.cpp b/src/OpenSHC/Global/Init/CreateSomeMissionNumberUnkDisplayElement9.cpp new file mode 100644 index 0000000000..c7c038b1a0 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateSomeMissionNumberUnkDisplayElement9.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/SomeMissionNumberUnkDisplayElement9.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C500 + void Init::CreateSomeMissionNumberUnkDisplayElement9() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, + SomeMissionNumberUnkDisplayElement9::ptr)((DE::SHCDE::eOnScreenText)9, 290, 225, 0, + UI::DisplayElements_Func::RenderSomeMissionNumberUnkDisplayElement9::get(), UI::Enums::DEPM_MAIN_MENU_X_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateSomeMultiplayerInfoUnkDisplayElement19.cpp b/src/OpenSHC/Global/Init/CreateSomeMultiplayerInfoUnkDisplayElement19.cpp new file mode 100644 index 0000000000..979ba41ea9 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateSomeMultiplayerInfoUnkDisplayElement19.cpp @@ -0,0 +1,22 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/SomeMultiplayerInfoUnkDisplayElement19.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C580 + void Init::CreateSomeMultiplayerInfoUnkDisplayElement19() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, + SomeMultiplayerInfoUnkDisplayElement19::ptr)(DE::SHCDE::OST_SPLIT_MESSAGE, 400, 10, 0, + UI::DisplayElements_Func::RenderSomeMultiplayerInfoUnkDisplayElement19::get(), + UI::Enums::DEPM_RESOLUTION_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateSomeMultiplayerInfoUnkDisplayElement28.cpp b/src/OpenSHC/Global/Init/CreateSomeMultiplayerInfoUnkDisplayElement28.cpp new file mode 100644 index 0000000000..54cd9d7b0e --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateSomeMultiplayerInfoUnkDisplayElement28.cpp @@ -0,0 +1,22 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/SomeMultiplayerInfoUnkDisplayElement28.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C6C0 + void Init::CreateSomeMultiplayerInfoUnkDisplayElement28() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, + SomeMultiplayerInfoUnkDisplayElement28::ptr)(DE::SHCDE::OST_PING_ERROR, 400, 10, 0, + UI::DisplayElements_Func::RenderSomeMultiplayerInfoUnkDisplayElement28::get(), + UI::Enums::DEPM_RESOLUTION_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateTimeUntilDefeatDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateTimeUntilDefeatDisplayElement.cpp new file mode 100644 index 0000000000..b93eec483e --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateTimeUntilDefeatDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/TimeUntilDefeatDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C6A0 + void Init::CreateTimeUntilDefeatDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, TimeUntilDefeatDisplayElement::ptr)( + DE::SHCDE::OST_TIMETODEFEAT, 0, 8, 0, UI::DisplayElements_Func::RenderTimeUntilDefeatDisplayElement::get(), + UI::Enums::DEPM_RESOLUTION_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateTimeUntilVictoryDisplayElement.cpp b/src/OpenSHC/Global/Init/CreateTimeUntilVictoryDisplayElement.cpp new file mode 100644 index 0000000000..50de032827 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateTimeUntilVictoryDisplayElement.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/TimeUntilVictoryDisplayElement.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C660 + void Init::CreateTimeUntilVictoryDisplayElement() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, TimeUntilVictoryDisplayElement::ptr)( + DE::SHCDE::OST_WIN_TIMER, 0, 8, 0, UI::DisplayElements_Func::RenderTimeUntilVictoryDisplayElement::get(), + UI::Enums::DEPM_RESOLUTION_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateUnknownDisplayElement0.cpp b/src/OpenSHC/Global/Init/CreateUnknownDisplayElement0.cpp new file mode 100644 index 0000000000..bdfa6886a1 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateUnknownDisplayElement0.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global.func.hpp" +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/UnknownDisplayElement0.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C3C0 + void Init::CreateUnknownDisplayElement0() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, UnknownDisplayElement0::ptr)( + DE::SHCDE::OST_CHAT, 4, 408, 1, (UI::DisplayElementRenderFunc*)Global_Func::DoNothing::get(), + (UI::Enums::DisplayElementPositionModifier)6); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateUnknownDisplayElement18.cpp b/src/OpenSHC/Global/Init/CreateUnknownDisplayElement18.cpp new file mode 100644 index 0000000000..1719257758 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateUnknownDisplayElement18.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global.func.hpp" +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/UnknownDisplayElement18.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C400 + void Init::CreateUnknownDisplayElement18() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, UnknownDisplayElement18::ptr)( + (DE::SHCDE::eOnScreenText)18, 200, 4, 1, (UI::DisplayElementRenderFunc*)Global_Func::DoNothing::get(), + (UI::Enums::DisplayElementPositionModifier)5); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateUnknownDisplayElement25.cpp b/src/OpenSHC/Global/Init/CreateUnknownDisplayElement25.cpp new file mode 100644 index 0000000000..e80ed2f779 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateUnknownDisplayElement25.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/UnknownDisplayElement25.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C640 + void Init::CreateUnknownDisplayElement25() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, UnknownDisplayElement25::ptr)( + DE::SHCDE::OST_KING_OF_THE_HILL, 100, 10, 0, UI::DisplayElements_Func::RenderUnknownDisplayElement25::get(), + UI::Enums::DEPM_RESOLUTION_Y); + } + +} +} diff --git a/src/OpenSHC/Global/Init/CreateUnknownDisplayElement7.cpp b/src/OpenSHC/Global/Init/CreateUnknownDisplayElement7.cpp new file mode 100644 index 0000000000..8ff30a1222 --- /dev/null +++ b/src/OpenSHC/Global/Init/CreateUnknownDisplayElement7.cpp @@ -0,0 +1,21 @@ +#include "OpenSHC/Global/Init.func.hpp" +#include "OpenSHC/UI/DisplayElement.func.hpp" +#include "OpenSHC/UI/DisplayElements.func.hpp" +#include "OpenSHC/DE/SHCDE/eOnScreenText.hpp" +#include "OpenSHC/UI/Enums/DisplayElementPositionModifier.hpp" + +#include "OpenSHC/Globals/UnknownDisplayElement7.hpp" + +namespace OpenSHC { +namespace Global { + + // FUNCTION: STRONGHOLDCRUSADER 0x0059C4E0 + void Init::CreateUnknownDisplayElement7() + { + MACRO_CALL_MEMBER(UI::DisplayElement_Func::Constructor_DisplayElement, UnknownDisplayElement7::ptr)( + (DE::SHCDE::eOnScreenText)7, 700, 9, 0, UI::DisplayElements_Func::RenderUnknownDisplayElement7::get(), + (UI::Enums::DisplayElementPositionModifier)9); + } + +} +} diff --git a/src/OpenSHC/Meta/Destructor_MenuModal_UnusedWinCondition.cpp b/src/OpenSHC/Meta/Destructor_MenuModal_UnusedWinCondition.cpp new file mode 100644 index 0000000000..3e733895c8 --- /dev/null +++ b/src/OpenSHC/Meta/Destructor_MenuModal_UnusedWinCondition.cpp @@ -0,0 +1,8 @@ +#include "OpenSHC/Meta.func.hpp" + +namespace OpenSHC { + +// FUNCTION: STRONGHOLDCRUSADER 0x0059D040 +void Meta::Destructor_MenuModal_UnusedWinCondition() {} + +} diff --git a/status/addresses-SHC-3BB0A8C1.txt b/status/addresses-SHC-3BB0A8C1.txt index a70f614bd4..c974d68f5f 100644 --- a/status/addresses-SHC-3BB0A8C1.txt +++ b/status/addresses-SHC-3BB0A8C1.txt @@ -20991,7 +20991,7 @@ SHC_3BB0A8C1_0x0046D270 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0046D300 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0046D390 | 0.0% | Pending +SHC_3BB0A8C1_0x0046D390 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0046F3AC | 0.0% | Pending @@ -69575,99 +69575,99 @@ SHC_3BB0A8C1_0x0059A155 | 0.0% | Pending SHC_3BB0A8C1_0x0059A170 | 0.0% | Pending -SHC_3BB0A8C1_0x0059A190 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A190 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A1C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A1C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A1F0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A1F0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A220 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A220 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A250 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A250 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A280 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A280 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A2B0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A2B0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A2E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A2E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A310 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A310 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A340 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A340 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A370 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A370 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A3A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A3A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A3D0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A3D0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A400 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A400 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A430 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A430 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A460 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A460 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A490 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A490 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A4C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A4C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A4F0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A4F0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A520 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A520 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A550 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A550 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A580 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A580 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A5B0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A5B0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A5E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A5E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A610 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A610 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A640 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A640 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A670 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A670 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A6A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A6A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A6D0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A6D0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A700 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A700 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A730 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A730 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A760 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A760 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A790 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A790 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A7C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A7C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A7F0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A7F0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A820 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A820 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A850 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A850 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A880 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A880 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A8B0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A8B0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A8E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A8E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A910 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A910 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A940 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A940 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A970 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A970 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A9A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A9A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059A9D0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059A9D0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059AA00 | 0.0% | Pending +SHC_3BB0A8C1_0x0059AA00 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059AA30 | 0.0% | Pending +SHC_3BB0A8C1_0x0059AA30 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059AA60 | 100.0% | Reimplemented @@ -69885,205 +69885,205 @@ SHC_3BB0A8C1_0x0059B100 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0059B110 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059B120 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B120 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B160 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B160 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B1A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B1A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B1E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B1E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B220 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B220 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B260 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B260 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B2A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B2A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B2E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B2E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B320 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B320 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B360 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B360 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B3A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B3A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B3E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B3E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B420 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B420 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B460 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B460 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B4A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B4A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B4E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B4E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B520 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B520 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B560 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B560 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B5A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B5A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B5E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B5E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B620 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B620 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B660 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B660 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B6A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B6A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B6E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B6E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B720 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B720 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B760 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B760 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B7A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B7A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B7E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B7E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B820 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B820 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B860 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B860 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B8A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B8A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B8E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B8E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B920 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B920 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B960 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B960 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B9A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B9A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059B9E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059B9E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BA20 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BA20 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BA60 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BA60 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BAA0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BAA0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BAE0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BAE0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BB20 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BB20 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BB60 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BB60 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BBA0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BBA0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BBE0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BBE0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BC20 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BC20 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BC60 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BC60 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BCA0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BCA0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BCE0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BCE0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BD20 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BD20 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BD60 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BD60 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BDA0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BDA0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BDE0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BDE0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BE20 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BE20 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BE60 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BE60 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BEA0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BEA0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BEE0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BEE0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BF20 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BF20 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BF60 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BF60 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BFA0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BFA0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059BFE0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059BFE0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C020 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C020 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C060 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C060 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C0A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C0A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C0F0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C0F0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C140 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C140 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C180 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C180 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C1C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C1C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C200 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C200 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C240 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C240 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C280 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C280 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C2C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C2C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C300 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C300 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C340 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C340 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C380 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C380 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C3C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C3C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C3E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C3E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C400 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C400 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C420 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C420 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C440 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C440 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C460 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C460 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C480 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C480 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C4A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C4A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C4C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C4C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C4E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C4E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C500 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C500 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C520 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C520 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C540 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C540 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C560 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C560 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C580 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C580 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C5A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C5A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C5C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C5C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C5E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C5E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C600 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C600 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C620 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C620 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C640 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C640 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C660 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C660 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C680 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C680 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C6A0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C6A0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C6C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C6C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C6E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C6E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059C700 | 100.0% | Reimplemented @@ -70091,13 +70091,13 @@ SHC_3BB0A8C1_0x0059C720 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0059C740 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059C760 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C760 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C780 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C780 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059C7A0 | 0.0% | Pending -SHC_3BB0A8C1_0x0059C7C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C7C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059C7E0 | 100.0% | Reimplemented @@ -70107,25 +70107,25 @@ SHC_3BB0A8C1_0x0059C820 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0059C840 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059C860 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C860 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059C880 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0059C8A0 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059C8C0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C8C0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C8E0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C8E0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059C900 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059C920 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C920 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C940 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C940 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C960 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C960 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059C980 | 0.0% | Pending +SHC_3BB0A8C1_0x0059C980 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059C9A0 | 0.0% | Pending @@ -70133,63 +70133,63 @@ SHC_3BB0A8C1_0x0059C9D0 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0059C9F0 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059CA10 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CA10 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CA20 | 0.0% | Pending -SHC_3BB0A8C1_0x0059CA40 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CA40 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059CA60 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CA60 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059CA80 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CA80 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059CAA0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CAA0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CAC0 | 0.0% | Pending SHC_3BB0A8C1_0x0059CAE0 | 0.0% | Pending -SHC_3BB0A8C1_0x0059CB00 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CB00 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059CB20 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CB20 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CB40 | 0.0% | Pending -SHC_3BB0A8C1_0x0059CB60 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CB60 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CB80 | 0.0% | Pending -SHC_3BB0A8C1_0x0059CBA0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CBA0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059CBC0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CBC0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059CBE0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CBE0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) -SHC_3BB0A8C1_0x0059CC00 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CC00 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CC20 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059CC40 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CC40 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CC60 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0059CC80 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059CC90 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CC90 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CCA0 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0059CCB0 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059CCD0 | 0.0% | Pending +SHC_3BB0A8C1_0x0059CCD0 | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CCE6 | 0.0% | Pending -SHC_3BB0A8C1_0x0059CCFC | 0.0% | Pending +SHC_3BB0A8C1_0x0059CCFC | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CD08 | 0.0% | Pending -SHC_3BB0A8C1_0x0059CD1E | 0.0% | Pending +SHC_3BB0A8C1_0x0059CD1E | 100.0% | Reimplemented (counted: only the pushed callback address is unnamed in the original) SHC_3BB0A8C1_0x0059CD30 | 100.0% | Reimplemented @@ -70289,7 +70289,7 @@ SHC_3BB0A8C1_0x0059D020 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0059D030 | 100.0% | Reimplemented -SHC_3BB0A8C1_0x0059D040 | 0.0% | Pending +SHC_3BB0A8C1_0x0059D040 | 100.0% | Reimplemented SHC_3BB0A8C1_0x0059D050 | 100.0% | Reimplemented