diff --git a/src/settings.c b/src/settings.c index 26eb6c1..c2680b8 100644 --- a/src/settings.c +++ b/src/settings.c @@ -160,86 +160,124 @@ static void CreateSettingsIni() if (fh) { fputs( + "; cnc-ddraw - https://github.com/CnCNet/cnc-ddraw - https://cncnet.org\n" + "\n" "[ddraw]\n" - "; stretch to custom resolution, 0 = defaults to the size game requests\n" + "; Stretch to custom resolution, 0 = defaults to the size game requests\n" "width=0\n" "height=0\n" - "; override width/height and always stretch to fullscreen\n" + "\n" + "; Override width/height and always stretch to fullscreen\n" + "; Note: Can be combined with 'windowed=true' to get windowed-fullscreen aka borderless mode\n" "fullscreen=false\n" - "; bits per pixel, possible values: 16, 24 and 32, 0 = auto\n" + "\n" + "; Bits per pixel, possible values: 16, 24 and 32, 0 = auto\n" "bpp=0\n" + "\n" "; Run in windowed mode rather than going fullscreen\n" + "; Note: Can be combined with 'fullscreen=true' to get windowed-fullscreen aka borderless mode\n" "windowed=false\n" - "; show window borders in windowed mode\n" + "\n" + "; Show window borders in windowed mode\n" "border=true\n" - "; maintain aspect ratio\n" + "\n" + "; Maintain aspect ratio\n" "maintas=false\n" - "; use letter- or windowboxing to make a best fit (Integer Scaling)\n" + "\n" + "; Windowboxing / Integer Scaling\n" "boxing=false\n" - "; real rendering rate, -1 = screen rate, 0 = unlimited, n = cap (OpenGL / Direct3D only)\n" + "\n" + "; Real rendering rate, -1 = screen rate, 0 = unlimited, n = cap (OpenGL / Direct3D only)\n" "maxfps=125\n" - "; vertical synchronization, enable if you get tearing (OpenGL / Direct3D only)\n" + "\n" + "; Vertical synchronization, enable if you get tearing (OpenGL / Direct3D only)\n" "vsync=false\n" - "; automatic mouse sensitivity scaling\n" + "\n" + "; Automatic mouse sensitivity scaling\n" + "; Note: Only works if stretching is enabled. Sensitivity will be adjusted according to the size of the window\n" "adjmouse=false\n" - "; enable C&C video resize hack\n" + "\n" + "; Enable C&C video resize hack - Stretches C&C cutscenes to fullscreen\n" "vhack=false\n" + "\n" "; auto, opengl, gdi, direct3d9 (auto = try opengl/direct3d9, fallback = gdi)\n" "renderer=auto\n" - "; force CPU0 affinity, avoids crashes with RA, *might* have a performance impact\n" + "\n" + "; Force CPU0 affinity, avoids crashes/freezing, *might* have a performance impact\n" "singlecpu=true\n" + "\n" "; Window position, -32000 = center to screen\n" "posX=-32000\n" "posY=-32000\n" - "; Hide WM_ACTIVATEAPP messages to prevent freezing on alt+tab (Carmageddon)\n" + "\n" + "; Hide WM_ACTIVATEAPP messages to prevent problems on alt+tab\n" "noactivateapp=false\n" - "; developer mode (don't lock the cursor)\n" + "\n" + "; Developer mode (don't lock the cursor)\n" "devmode=false\n" - "; preliminary libretro shader support - e.g. cubic.glsl (OpenGL only) https://github.com/libretro/glsl-shaders\n" + "\n" + "; Preliminary libretro shader support - e.g. cubic.glsl (OpenGL only) https://github.com/libretro/glsl-shaders\n" "shader=\n" - "; Max game ticks per second (Can be used to slow down a too fast running game)\n" + "\n" + "; Max game ticks per second, possible values: 1-1000 (Can be used to slow down a too fast running game)\n" "maxgameticks=0\n" + "\n" "; Hide/Show the mouse cursor on lock/unlock (Ctrl+Tab)\n" "hidemouse=true\n" "\n" + "\n" + "; Game specific settings - The following settings override all settings above, section name = executable name\n" + "\n" + "; Carmageddon\n" "[CARMA95]\n" "renderer=opengl\n" "noactivateapp=true\n" "maxgameticks=30\n" "\n" + "; Command & Conquer Gold\n" "[C&C95]\n" "maxgameticks=60\n" "\n" + "; Age of Empires\n" "[empires]\n" "hidemouse=false\n" "\n" + "; Age of Empires: The Rise of Rome\n" "[empiresx]\n" "hidemouse=false\n" "\n" + "; Age of Empires II\n" "[EMPIRES2]\n" "hidemouse=false\n" "\n" + "; Age of Empires II: The Conquerors\n" "[age2_x1]\n" "hidemouse=false\n" "\n" + "; Outlaws\n" "[olwin]\n" "noactivateapp=true\n" "maxgameticks=60\n" "\n" + "; Dark Reign: The Future of War\n" "[DKReign]\n" "maxgameticks=60\n" "\n" + "; Star Wars: Galactic Battlegrounds\n" "[battlegrounds]\n" "hidemouse=false\n" "\n" + "; Star Wars: Galactic Battlegrounds: Clone Campaigns\n" "[battlegrounds_x1]\n" "hidemouse=false\n" "\n" + "; Carmageddon 2\n" "[Carma2_SW]\n" "renderer=opengl\n" "noactivateapp=true\n" "maxgameticks=60\n" "\n" + "; Atomic Bomberman\n" "[BM]\n" "maxgameticks=60\n" "\n"