2011-03-06 09:54:20 +00:00
; $Id$
;
; 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 */
#if defined(WIN32) && !defined(DEDICATED)
extern bool _force_full_redraw, _window_maximize;
extern uint _display_hz, _fullscreen_bpp;
static const SettingDescGlobVarList _win32_settings[] = {
[post-amble]
};
#endif /* WIN32 */
[templates]
2012-11-08 10:04:00 +00:00
SDTG_BOOL = SDTG_BOOL($name, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
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
2011-03-05 10:12:03 +00:00
guiflags = 0
interval = 0
str = STR_NULL
2012-05-12 11:09:00 +01:00
strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
2011-03-06 15:51:44 +00:00
strval = STR_NULL
2011-03-05 10:12:03 +00:00
proc = NULL
load = NULL
2011-03-05 10:20:49 +00:00
from = 0
to = SL_MAX_VERSION
2012-11-08 10:04:00 +00:00
cat = SC_ADVANCED
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_VAR]
name = ""fullscreen_bpp""
type = SLE_UINT
var = _fullscreen_bpp
def = 8
min = 8
max = 32
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]