2011-03-06 09:54:20 +00:00
; This file is part of OpenTTD.
; OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
; OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
; See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
;
2011-03-03 21:04:17 +00:00
[pre-amble]
/* win32_v.cpp only settings */
2018-12-09 01:28:14 +00:00
#if defined(_WIN32) && !defined(DEDICATED)
2011-03-03 21:04:17 +00:00
extern bool _force_full_redraw, _window_maximize;
2014-04-27 12:15:14 +00:00
extern uint _display_hz;
2011-03-03 21:04:17 +00:00
static const SettingDescGlobVarList _win32_settings[] = {
[post-amble]
};
2018-12-09 01:28:14 +00:00
#endif /* _WIN32 */
2011-03-03 21:04:17 +00:00
[templates]
2020-12-13 23:14:37 +00:00
SDTG_BOOL = SDTG_BOOL($name, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra),
SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra),
2011-03-03 21:04:17 +00:00
SDTG_END = SDTG_END()
2011-03-05 10:12:03 +00:00
[defaults]
2011-03-05 11:34:31 +00:00
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
2019-04-22 10:10:44 +00:00
guiflags = SGF_NONE
2011-03-05 10:12:03 +00:00
interval = 0
str = STR_NULL
2012-05-12 10:09:00 +00:00
strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
2011-03-06 15:51:44 +00:00
strval = STR_NULL
2019-04-11 11:24:02 +00:00
proc = nullptr
load = nullptr
2019-01-26 01:48:40 +00:00
from = SL_MIN_VERSION
2011-03-05 10:20:49 +00:00
to = SL_MAX_VERSION
2012-11-08 10:04:00 +00:00
cat = SC_ADVANCED
2020-12-13 23:14:37 +00:00
extra = 0
2011-03-05 10:12:03 +00:00
2011-03-03 21:04:17 +00:00
[SDTG_VAR]
name = ""display_hz""
type = SLE_UINT
var = _display_hz
def = 0
min = 0
max = 120
2012-11-08 10:04:00 +00:00
cat = SC_EXPERT
2011-03-03 21:04:17 +00:00
[SDTG_BOOL]
name = ""force_full_redraw""
var = _force_full_redraw
def = false
2012-11-08 10:04:00 +00:00
cat = SC_EXPERT
2011-03-03 21:04:17 +00:00
[SDTG_BOOL]
name = ""window_maximize""
var = _window_maximize
def = false
2012-11-08 10:04:00 +00:00
cat = SC_BASIC
2011-03-03 21:04:17 +00:00
[SDTG_END]