Remove modpacks tab and MINIMALIST config

This commit is contained in:
nastys
2021-09-19 17:14:28 +02:00
parent 650296c8ac
commit bb9301978b
20 changed files with 12 additions and 1109 deletions
@@ -1,5 +1,4 @@
#pragma once
#ifndef MINIMALIST
void ApplyExPatches() {
//// Graphics
@@ -304,7 +303,7 @@ void ApplyExPatches() {
// modpack redirection
/*{
{
wchar_t* mpstr = NULL;
mpstr = (wchar_t*)malloc(256);
memset(mpstr, 0, 256);
@@ -332,10 +331,5 @@ void ApplyExPatches() {
InjectCode((void*)0x000000014066CE9C, { (unsigned char)modpack_mdata.size() });
InjectCode((void*)0x000000014066CEAE, { (unsigned char)modpack_mdata.size() });
}
}*/
}
#else
void ApplyExPatches() {
return;
};
#endif
}
}
@@ -105,7 +105,7 @@ auto nNoTimer = GetPrivateProfileIntW(L"patches", L"no_timer", TRUE, CONFIG_FILE
auto nHardwareSlider = GetPrivateProfileIntW(L"patches", L"hardware_slider", FALSE, CONFIG_FILE);
auto nDwguiScaling = GetPrivateProfileIntW(L"patches", L"dwgui_scaling", FALSE, CONFIG_FILE);
#ifndef MINIMALIST
// Non-essential
auto nNoTimerSprite = GetPrivateProfileIntW(L"patches", L"no_timer_sprite", TRUE, CONFIG_FILE);
auto nUnlockPseudo = GetPrivateProfileIntW(L"patches", L"unlock_pseudo", FALSE, CONFIG_FILE);
auto nCard = GetPrivateProfileIntW(L"patches", L"card", TRUE, CONFIG_FILE);
@@ -129,4 +129,3 @@ auto nRefractResHeight = GetPrivateProfileIntW(L"graphics", L"refract_res_height
auto nNoMessageBar = GetPrivateProfileIntW(L"patches", L"no_message_bar", FALSE, CONFIG_FILE);
auto nNoStageText = GetPrivateProfileIntW(L"patches", L"no_stage_text", FALSE, CONFIG_FILE);
auto nNoOpd = GetPrivateProfileIntW(L"patches", L"no_opd", FALSE, CONFIG_FILE);
#endif