1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

Revert "remove obsolete settings"

This reverts commit 97718b9a19be15990cdad4d0d9e8f94eb34e08b1.
This commit is contained in:
FunkyFr3sh 2024-09-10 15:41:04 +02:00
parent 8b96d0d34b
commit 8425f81597
2 changed files with 27 additions and 0 deletions

View File

@ -57,6 +57,8 @@ typedef struct CNCDDRAWCONFIG
BOOL singlecpu;
int resolutions;
int fixchilds;
BOOL hook_peekmessage;
BOOL hook_getmessage;
/* Undocumented settings */

View File

@ -67,6 +67,8 @@ void cfg_load()
GET_BOOL(g_config.singlecpu, "singlecpu", TRUE);
GET_INT(g_config.resolutions, "resolutions", RESLIST_NORMAL);
GET_INT(g_config.fixchilds, "fixchilds", FIX_CHILDS_DETECT_PAINT);
GET_BOOL(g_config.hook_peekmessage, "hook_peekmessage", FALSE);
GET_BOOL(g_config.hook_getmessage, "hook_getmessage", FALSE);
GET_STRING("win_version", "", g_config.win_version, sizeof(g_config.win_version));
/* Undocumented settings */
@ -298,6 +300,10 @@ static void cfg_create_ini()
"; Note: Disables upscaling if a child window was detected (to ensure the game is fully playable, may look weird though)\n"
"fixchilds=2\n"
"\n"
"; Enable one of the following settings if your cursor doesn't work properly when upscaling is enabled\n"
"hook_peekmessage=false\n"
"hook_getmessage=false\n"
"\n"
"\n"
"; Undocumented settings - You may or may not change these (You should rather focus on the settings above)\n"
"releasealt=false\n"
@ -477,6 +483,7 @@ static void cfg_create_ini()
"\n"
"; Axis & Allies\n"
"[AxisAllies]\n"
"hook_peekmessage=true\n"
"maxgameticks=60\n"
"\n"
"; Barney - Secret of the Rainbow\n"
@ -820,6 +827,7 @@ static void cfg_create_ini()
"; Escape Velocity Nova\n"
"[EV Nova]\n"
"nonexclusive=true\n"
"hook_peekmessage=true\n"
"rgb555=true\n"
"keytogglefullscreen=0x46\n"
"adjmouse=true\n"
@ -834,10 +842,18 @@ static void cfg_create_ini()
"nonexclusive=true\n"
"adjmouse=true\n"
"\n"
"; Enemy Infestation\n"
"[EI]\n"
"hook_getmessage=true\n"
"\n"
"; Fairy Tale About Father Frost, Ivan and Nastya\n"
"[mrazik]\n"
"guard_lines=0\n"
"\n"
"; Final Liberation: Warhammer Epic 40000\n"
"[Epic40k]\n"
"hook_peekmessage=true\n"
"\n"
"; Future Cop - L.A.P.D.\n"
"[FCopLAPD]\n"
"nonexclusive=true\n"
@ -1102,6 +1118,10 @@ static void cfg_create_ini()
"maintas=false\n"
"boxing=false\n"
"\n"
"; Lionheart\n"
"[Lionheart]\n"
"hook_peekmessage=true\n"
"\n"
"; Madeline 1st Grade Math\n"
"[madmath1]\n"
"nonexclusive=true\n"
@ -1158,6 +1178,7 @@ static void cfg_create_ini()
"; New Robinson\n"
"[ROBY]\n"
"adjmouse=true\n"
"hook_peekmessage=true\n"
"\n"
"; Nancy Drew (All games)\n"
"[Game/3]\n"
@ -1378,6 +1399,10 @@ static void cfg_create_ini()
"[StarCraft]\n"
"game_handles_close=true\n"
"\n"
"; Space Rangers\n"
"[Rangers]\n"
"hook_peekmessage=true\n"
"\n"
"; SPYFox: Hold the Mustard\n"
"[mustard]\n"
"renderer=gdi\n"