1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

adjust default settings

This commit is contained in:
FunkyFr3sh 2019-08-07 03:31:01 +02:00
parent c8fc032cd2
commit 57df372da1

View File

@ -101,7 +101,7 @@ void Settings_Load()
// to do: read .glslp config file instead of the shader and apply the correct settings // to do: read .glslp config file instead of the shader and apply the correct settings
GetString("shader", "", ddraw->shader, sizeof(ddraw->shader)); GetString("shader", "", ddraw->shader, sizeof(ddraw->shader));
GetString("renderer", "auto", tmp, sizeof(tmp)); GetString("renderer", "opengl", tmp, sizeof(tmp));
printf("Using %s renderer\n", tmp); printf("Using %s renderer\n", tmp);
if (ddraw->bnetHack && tolower(tmp[0]) == 'd') if (ddraw->bnetHack && tolower(tmp[0]) == 'd')
@ -210,7 +210,7 @@ static void CreateSettingsIni()
"\n" "\n"
"; Override the width/height settings shown above and always stretch to fullscreen\n" "; Override the width/height settings shown above and always stretch to fullscreen\n"
"; Note: Can be combined with 'windowed=true' to get windowed-fullscreen aka borderless mode\n" "; Note: Can be combined with 'windowed=true' to get windowed-fullscreen aka borderless mode\n"
"fullscreen=true\n" "fullscreen=false\n"
"\n" "\n"
"; Run in windowed mode rather than going fullscreen\n" "; Run in windowed mode rather than going fullscreen\n"
"windowed=true\n" "windowed=true\n"
@ -241,7 +241,7 @@ static void CreateSettingsIni()
"posY=-32000\n" "posY=-32000\n"
"\n" "\n"
"; Renderer, possible values: auto, opengl, gdi, direct3d9 (auto = try direct3d9/opengl, fallback = gdi)\n" "; Renderer, possible values: auto, opengl, gdi, direct3d9 (auto = try direct3d9/opengl, fallback = gdi)\n"
"renderer=auto\n" "renderer=opengl\n"
"\n" "\n"
"; Developer mode (don't lock the cursor)\n" "; Developer mode (don't lock the cursor)\n"
"devmode=false\n" "devmode=false\n"
@ -283,7 +283,6 @@ static void CreateSettingsIni()
"; Note: Can be used to fix issues related to new features added by cnc-ddraw such as windowed mode or stretching\n" "; Note: Can be used to fix issues related to new features added by cnc-ddraw such as windowed mode or stretching\n"
"hotpatch=false\n" "hotpatch=false\n"
"\n" "\n"
"\n"
"; Workaround for battle.net on Diablo and Warcraft 2 BNE\n" "; Workaround for battle.net on Diablo and Warcraft 2 BNE\n"
"; Note: This hack as a negative side-effect, you can only play fullscreen with 'renderer=gdi' or via 'fullscreen=true'\n" "; Note: This hack as a negative side-effect, you can only play fullscreen with 'renderer=gdi' or via 'fullscreen=true'\n"
"bnetHack=true\n" "bnetHack=true\n"