Mercurial > hg > openttd
annotate src/table/win32_settings.ini @ 19738:5b91901482c1 draft
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
author | frosch <frosch@openttd.org> |
---|---|
date | Thu, 08 Nov 2012 10:04:00 +0000 |
parents | f112223f5607 |
children |
rev | line source |
---|---|
17453
5fe3ac651010
(svn r22207) -Add: Add the copyright message to the new ini files.
alberth <alberth@openttd.org>
parents:
17445
diff
changeset
|
1 ; $Id$ |
5fe3ac651010
(svn r22207) -Add: Add the copyright message to the new ini files.
alberth <alberth@openttd.org>
parents:
17445
diff
changeset
|
2 ; |
5fe3ac651010
(svn r22207) -Add: Add the copyright message to the new ini files.
alberth <alberth@openttd.org>
parents:
17445
diff
changeset
|
3 ; This file is part of OpenTTD. |
5fe3ac651010
(svn r22207) -Add: Add the copyright message to the new ini files.
alberth <alberth@openttd.org>
parents:
17445
diff
changeset
|
4 ; 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. |
5fe3ac651010
(svn r22207) -Add: Add the copyright message to the new ini files.
alberth <alberth@openttd.org>
parents:
17445
diff
changeset
|
5 ; 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. |
5fe3ac651010
(svn r22207) -Add: Add the copyright message to the new ini files.
alberth <alberth@openttd.org>
parents:
17445
diff
changeset
|
6 ; 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/>. |
5fe3ac651010
(svn r22207) -Add: Add the copyright message to the new ini files.
alberth <alberth@openttd.org>
parents:
17445
diff
changeset
|
7 ; |
5fe3ac651010
(svn r22207) -Add: Add the copyright message to the new ini files.
alberth <alberth@openttd.org>
parents:
17445
diff
changeset
|
8 |
17422
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
9 [pre-amble] |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
10 /* win32_v.cpp only settings */ |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
11 #if defined(WIN32) && !defined(DEDICATED) |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
12 extern bool _force_full_redraw, _window_maximize; |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
13 extern uint _display_hz, _fullscreen_bpp; |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
14 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
15 static const SettingDescGlobVarList _win32_settings[] = { |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
16 [post-amble] |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
17 }; |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
18 #endif /* WIN32 */ |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
19 [templates] |
19738
5b91901482c1
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
frosch <frosch@openttd.org>
parents:
19337
diff
changeset
|
20 SDTG_BOOL = SDTG_BOOL($name, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat), |
5b91901482c1
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
frosch <frosch@openttd.org>
parents:
19337
diff
changeset
|
21 SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat), |
17422
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
22 SDTG_END = SDTG_END() |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
23 |
17440
18f27a7c7f1b
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
rubidium <rubidium@openttd.org>
parents:
17422
diff
changeset
|
24 [defaults] |
17445
f4b87d29bafd
(svn r22199) -Cleanup-ish: replace the shortcut macros for (gui)flags with their more clearly named (longer) constant names
rubidium <rubidium@openttd.org>
parents:
17443
diff
changeset
|
25 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC |
17440
18f27a7c7f1b
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
rubidium <rubidium@openttd.org>
parents:
17422
diff
changeset
|
26 guiflags = 0 |
18f27a7c7f1b
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
rubidium <rubidium@openttd.org>
parents:
17422
diff
changeset
|
27 interval = 0 |
18f27a7c7f1b
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
rubidium <rubidium@openttd.org>
parents:
17422
diff
changeset
|
28 str = STR_NULL |
19337
f112223f5607
(svn r24234) -Add: Add help-string infrastructure to the ini files
alberth <alberth@openttd.org>
parents:
17456
diff
changeset
|
29 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT |
17456
6dce16791f02
(svn r22210) -Add: Add a variable for the value strings in the settings tables.
alberth <alberth@openttd.org>
parents:
17453
diff
changeset
|
30 strval = STR_NULL |
17440
18f27a7c7f1b
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
rubidium <rubidium@openttd.org>
parents:
17422
diff
changeset
|
31 proc = NULL |
18f27a7c7f1b
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
rubidium <rubidium@openttd.org>
parents:
17422
diff
changeset
|
32 load = NULL |
17442
c13686e3a5dc
(svn r22196) -Codechange: use default values for the from and to of savegame versions as well
rubidium <rubidium@openttd.org>
parents:
17440
diff
changeset
|
33 from = 0 |
c13686e3a5dc
(svn r22196) -Codechange: use default values for the from and to of savegame versions as well
rubidium <rubidium@openttd.org>
parents:
17440
diff
changeset
|
34 to = SL_MAX_VERSION |
19738
5b91901482c1
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
frosch <frosch@openttd.org>
parents:
19337
diff
changeset
|
35 cat = SC_ADVANCED |
17440
18f27a7c7f1b
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
rubidium <rubidium@openttd.org>
parents:
17422
diff
changeset
|
36 |
18f27a7c7f1b
(svn r22194) -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
rubidium <rubidium@openttd.org>
parents:
17422
diff
changeset
|
37 |
17422
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
38 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
39 [SDTG_VAR] |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
40 name = ""display_hz"" |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
41 type = SLE_UINT |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
42 var = _display_hz |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
43 def = 0 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
44 min = 0 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
45 max = 120 |
19738
5b91901482c1
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
frosch <frosch@openttd.org>
parents:
19337
diff
changeset
|
46 cat = SC_EXPERT |
17422
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
47 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
48 [SDTG_BOOL] |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
49 name = ""force_full_redraw"" |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
50 var = _force_full_redraw |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
51 def = false |
19738
5b91901482c1
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
frosch <frosch@openttd.org>
parents:
19337
diff
changeset
|
52 cat = SC_EXPERT |
17422
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
53 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
54 [SDTG_VAR] |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
55 name = ""fullscreen_bpp"" |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
56 type = SLE_UINT |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
57 var = _fullscreen_bpp |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
58 def = 8 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
59 min = 8 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
60 max = 32 |
19738
5b91901482c1
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
frosch <frosch@openttd.org>
parents:
19337
diff
changeset
|
61 cat = SC_EXPERT |
17422
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
62 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
63 [SDTG_BOOL] |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
64 name = ""window_maximize"" |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
65 var = _window_maximize |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
66 def = false |
19738
5b91901482c1
(svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow)
frosch <frosch@openttd.org>
parents:
19337
diff
changeset
|
67 cat = SC_BASIC |
17422
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
68 |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
69 [SDTG_END] |
859ac1712288
(svn r22172) -Add: Add ini files containing the table/settings data.
alberth <alberth@openttd.org>
parents:
diff
changeset
|
70 |