mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 16:24:35 +01:00
Rename public general config data members
This commit is contained in:
@@ -473,7 +473,7 @@ static void ShortcutOpenSceneryPicker()
|
||||
|
||||
static void ShortcutScaleUp()
|
||||
{
|
||||
gConfigGeneral.window_scale += 0.25f;
|
||||
gConfigGeneral.WindowScale += 0.25f;
|
||||
config_save_default();
|
||||
gfx_invalidate_screen();
|
||||
context_trigger_resize();
|
||||
@@ -482,8 +482,8 @@ static void ShortcutScaleUp()
|
||||
|
||||
static void ShortcutScaleDown()
|
||||
{
|
||||
gConfigGeneral.window_scale -= 0.25f;
|
||||
gConfigGeneral.window_scale = std::max(0.5f, gConfigGeneral.window_scale);
|
||||
gConfigGeneral.WindowScale -= 0.25f;
|
||||
gConfigGeneral.WindowScale = std::max(0.5f, gConfigGeneral.WindowScale);
|
||||
config_save_default();
|
||||
gfx_invalidate_screen();
|
||||
context_trigger_resize();
|
||||
@@ -623,7 +623,7 @@ static void ShortcutToggleConsole()
|
||||
{
|
||||
console.Toggle();
|
||||
}
|
||||
else if (gConfigGeneral.debugging_tools && !context_is_input_active())
|
||||
else if (gConfigGeneral.DebuggingTools && !context_is_input_active())
|
||||
{
|
||||
window_cancel_textbox();
|
||||
console.Toggle();
|
||||
@@ -730,7 +730,7 @@ static void ShortcutToggleTransparentWater()
|
||||
if (gScreenFlags & SCREEN_FLAGS_TITLE_DEMO)
|
||||
return;
|
||||
|
||||
gConfigGeneral.transparent_water ^= 1;
|
||||
gConfigGeneral.TransparentWater ^= 1;
|
||||
config_save_default();
|
||||
gfx_invalidate_screen();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user