Add setting to disable continuously updating NewGRF vehicle image
This commit is contained in:
@@ -56,6 +56,7 @@ static bool CheckYapfRailSignalPenalties(int32 p1);
|
||||
static bool ViewportMapShowTunnelModeChanged(int32 p1);
|
||||
static bool ViewportMapLandscapeModeChanged(int32 p1);
|
||||
static bool UpdateLinkgraphColours(int32 p1);
|
||||
static bool InvalidateAllVehicleImageCaches(int32 p1);
|
||||
|
||||
static bool UpdateClientName(int32 p1);
|
||||
static bool UpdateServerPassword(int32 p1);
|
||||
@@ -5025,6 +5026,15 @@ strval = STR_CONFIG_SETTING_LINKGRAPH_COLOURS_GREEN_TO_RED
|
||||
proc = UpdateLinkgraphColours
|
||||
cat = SC_BASIC
|
||||
|
||||
[SDTC_BOOL]
|
||||
var = gui.disable_vehicle_image_update
|
||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
def = false
|
||||
str = STR_CONFIG_SETTING_DISABLE_VEHICLE_IMAGE_UPDATE
|
||||
strhelp = STR_CONFIG_SETTING_DISABLE_VEHICLE_IMAGE_UPDATE_HELPTEXT
|
||||
proc = InvalidateAllVehicleImageCaches
|
||||
cat = SC_ADVANCED
|
||||
|
||||
; For the dedicated build we'll enable dates in logs by default.
|
||||
[SDTC_BOOL]
|
||||
ifdef = DEDICATED
|
||||
|
Reference in New Issue
Block a user