(svn r23415) -Feature: Infrastructure maintenance costs.

This commit is contained in:
michi_cc
2011-12-03 23:40:46 +00:00
parent f98312eb77
commit d3b7b89493
21 changed files with 300 additions and 32 deletions

View File

@@ -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