(svn r23415) -Feature: Infrastructure maintenance costs.
This commit is contained in:
@@ -39,6 +39,7 @@ static bool InvalidateNewGRFChangeWindows(int32 p1);
|
||||
static bool InvalidateIndustryViewWindow(int32 p1);
|
||||
static bool InvalidateAISettingsWindow(int32 p1);
|
||||
static bool RedrawTownAuthority(int32 p1);
|
||||
static bool InvalidateCompanyInfrastructureWindow(int32 p1);
|
||||
extern bool UpdateNewGRFConfigPalette(int32 p1);
|
||||
static bool ZoomMinMaxChanged(int32 p1);
|
||||
|
||||
@@ -1237,6 +1238,14 @@ def = 4000
|
||||
min = 800
|
||||
max = 65535
|
||||
|
||||
[SDT_BOOL]
|
||||
base = GameSettings
|
||||
var = economy.infrastructure_maintenance
|
||||
from = 166
|
||||
def = false
|
||||
str = STR_CONFIG_SETTING_INFRASTRUCTURE_MAINTENANCE
|
||||
proc = InvalidateCompanyInfrastructureWindow
|
||||
|
||||
##
|
||||
[SDT_VAR]
|
||||
base = GameSettings
|
||||
|
||||
Reference in New Issue
Block a user