(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.
This commit is contained in:
@@ -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);
|
||||
@@ -2395,6 +2396,18 @@ var = gui.newgrf_show_old_versions
|
||||
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
|
||||
|
Reference in New Issue
Block a user