rename hidemouse to handlemouse since it got a lot more functionality now
This commit is contained in:
parent
ec435d21d3
commit
55328cb497
7 changed files with 33 additions and 29 deletions
|
@ -54,7 +54,7 @@ void Settings_Load()
|
|||
if ((ddraw->fullscreen = GetBool("fullscreen", FALSE)))
|
||||
WindowRect.left = WindowRect.top = -32000;
|
||||
|
||||
if (!(ddraw->hidemouse = GetBool("hidemouse", TRUE)))
|
||||
if (!(ddraw->handlemouse = GetBool("handlemouse", TRUE)))
|
||||
ddraw->adjmouse = TRUE;
|
||||
|
||||
if (GetBool("singlecpu", TRUE))
|
||||
|
@ -182,9 +182,11 @@ static void CreateSettingsIni()
|
|||
"border=true\n"
|
||||
"\n"
|
||||
"; Maintain aspect ratio\n"
|
||||
"; Note: Works only for games that support 'handlemouse=true'\n"
|
||||
"maintas=false\n"
|
||||
"\n"
|
||||
"; Windowboxing / Integer Scaling\n"
|
||||
"; Note: Works only for games that support 'handlemouse=true'\n"
|
||||
"boxing=false\n"
|
||||
"\n"
|
||||
"; Real rendering rate, -1 = screen rate, 0 = unlimited, n = cap (OpenGL / Direct3D only)\n"
|
||||
|
@ -195,6 +197,7 @@ static void CreateSettingsIni()
|
|||
"\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"
|
||||
"; Note: Works only for games that support 'handlemouse=true'\n"
|
||||
"adjmouse=false\n"
|
||||
"\n"
|
||||
"; Enable C&C video resize hack - Stretches C&C cutscenes to fullscreen\n"
|
||||
|
@ -222,8 +225,9 @@ static void CreateSettingsIni()
|
|||
"; 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"
|
||||
"; Gives cnc-ddraw full control over the mouse cursor (required for adjmouse/boxing/maintas)\n"
|
||||
"; Note: This option only works for games that draw their own cursor and must be disabled for all other games\n"
|
||||
"handlemouse=true\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"; Game specific settings - The following settings override all settings above, section name = executable name\n"
|
||||
|
@ -244,19 +248,19 @@ static void CreateSettingsIni()
|
|||
"\n"
|
||||
"; Age of Empires\n"
|
||||
"[empires]\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
"; Age of Empires: The Rise of Rome\n"
|
||||
"[empiresx]\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
"; Age of Empires II\n"
|
||||
"[EMPIRES2]\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
"; Age of Empires II: The Conquerors\n"
|
||||
"[age2_x1]\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
"; Outlaws\n"
|
||||
"[olwin]\n"
|
||||
|
@ -269,11 +273,11 @@ static void CreateSettingsIni()
|
|||
"\n"
|
||||
"; Star Wars: Galactic Battlegrounds\n"
|
||||
"[battlegrounds]\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
"; Star Wars: Galactic Battlegrounds: Clone Campaigns\n"
|
||||
"[battlegrounds_x1]\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
"; Carmageddon 2\n"
|
||||
"[Carma2_SW]\n"
|
||||
|
@ -296,22 +300,22 @@ static void CreateSettingsIni()
|
|||
"; Command & Conquer: Tiberian Sun\n"
|
||||
"[game]\n"
|
||||
"noactivateapp=true\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
"; Command & Conquer: Tiberian Sun Online\n"
|
||||
"[ts-spawn]\n"
|
||||
"noactivateapp=true\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
"; Command & Conquer: Red Alert 2: Yuri's Revenge\n"
|
||||
"[gamemd]\n"
|
||||
"noactivateapp=true\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
"; Command & Conquer: Red Alert 2: Yuri's Revenge Online\n"
|
||||
"[gamemd-spawn]\n"
|
||||
"noactivateapp=true\n"
|
||||
"hidemouse=false\n"
|
||||
"handlemouse=false\n"
|
||||
"\n"
|
||||
|
||||
, fh);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue