summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-20 11:30:09 +0100
committerPatric Stout <github@truebrain.nl>2021-02-20 17:08:44 +0100
commit7996fadb91b6ff9a8ca17791d03677ddb438fc07 (patch)
treef693c87a820624fa57bf02afdac4bf20410e52fa /src/table
parent23d6f4eac9c85b050bf9efa8f0e94e333d969244 (diff)
downloadopenttd-7996fadb91b6ff9a8ca17791d03677ddb438fc07.tar.xz
Change: [Win32] Remove force_full_redraw and display_hz settings
These were special settings only for the win32-drivers, and introduced in the very first version we track. Time kinda had caught up with those variables, so it is time to say farewell. force_full_redraw was most likely a debug functionality "in case our dirty-rect fails". This should no longer be needed. display_hz was cute, as it had a max of 120. That is kinda out-dated information, but I also doubt anyone was really using this.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/win32_settings.ini19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/table/win32_settings.ini b/src/table/win32_settings.ini
index cfa186804..406e8dd8f 100644
--- a/src/table/win32_settings.ini
+++ b/src/table/win32_settings.ini
@@ -7,8 +7,7 @@
[pre-amble]
/* win32_v.cpp only settings */
#if defined(_WIN32) && !defined(DEDICATED)
-extern bool _force_full_redraw, _window_maximize;
-extern uint _display_hz;
+extern bool _window_maximize;
static const SettingDescGlobVarList _win32_settings[] = {
[post-amble]
@@ -35,22 +34,6 @@ extra = 0
startup = true
-
-[SDTG_VAR]
-name = ""display_hz""
-type = SLE_UINT
-var = _display_hz
-def = 0
-min = 0
-max = 120
-cat = SC_EXPERT
-
-[SDTG_BOOL]
-name = ""force_full_redraw""
-var = _force_full_redraw
-def = false
-cat = SC_EXPERT
-
[SDTG_BOOL]
name = ""window_maximize""
var = _window_maximize