diff options
author | frosch <frosch@openttd.org> | 2011-05-03 20:30:26 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-05-03 20:30:26 +0000 |
commit | bfd09004fe040c16b679637f0c2b0f6354438d9b (patch) | |
tree | 4a213a13643837f69b74afe1e2b59a83bae2f79e /src/table | |
parent | dbfd156eb6df4648b05661beb152735ad05fb28e (diff) | |
download | openttd-bfd09004fe040c16b679637f0c2b0f6354438d9b.tar.xz |
(svn r22417) -Add: an advanced setting to specify the default palette to use for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics and '-i' option.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings.ini | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini index b5ea7293b..c5fe20ee4 100644 --- a/src/table/settings.ini +++ b/src/table/settings.ini @@ -38,6 +38,7 @@ static bool InvalidateCompanyLiveryWindow(int32 p1); static bool InvalidateNewGRFChangeWindows(int32 p1); static bool InvalidateIndustryViewWindow(int32 p1); static bool RedrawTownAuthority(int32 p1); +extern bool UpdateNewGRFConfigPalette(int32 p1); #ifdef ENABLE_NETWORK static bool UpdateClientName(int32 p1); @@ -2396,6 +2397,18 @@ flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC def = false [SDTC_VAR] +var = gui.newgrf_default_palette +type = SLE_UINT8 +flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC +guiflags = SGF_MULTISTRING +def = 1 +min = 0 +max = 1 +str = STR_CONFIG_SETTING_NEWGRF_DEFAULT_PALETTE +strval = STR_CONFIG_SETTING_NEWGRF_DEFAULT_PALETTE_DOS +proc = UpdateNewGRFConfigPalette + +[SDTC_VAR] var = gui.console_backlog_timeout type = SLE_UINT16 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC |