diff options
author | frosch <frosch@openttd.org> | 2015-02-14 21:55:30 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2015-02-14 21:55:30 +0000 |
commit | 310258f2834693e2794c1e6fbe88ba9cca2af77a (patch) | |
tree | 0021d307f253de199af72928dc6ab93796f87f4b /src/table | |
parent | 64e943d32af130641380a2099b494e8b2a9b0f43 (diff) | |
download | openttd-310258f2834693e2794c1e6fbe88ba9cca2af77a.tar.xz |
(svn r27151) -Add: Allow changing max heightlevel in scenario editor.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings.ini | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini index d7f24d625..f6134deca 100644 --- a/src/table/settings.ini +++ b/src/table/settings.ini @@ -28,6 +28,7 @@ static bool TownFoundingChanged(int32 p1); static bool DifficultyNoiseChange(int32 i); static bool MaxNoAIsChange(int32 i); static bool CheckRoadSide(int p1); +static bool ChangeMaxHeightLevel(int32 p1); static bool CheckFreeformEdges(int32 p1); static bool ChangeDynamicEngines(int32 p1); static bool StationCatchmentChanged(int32 p1); @@ -382,7 +383,7 @@ base = GameSettings var = construction.max_heightlevel type = SLE_UINT8 from = 194 -guiflags = SGF_NEWGAME_ONLY | SGF_NO_NETWORK +guiflags = SGF_NEWGAME_ONLY | SGF_SCENEDIT_TOO def = DEF_MAX_HEIGHTLEVEL min = MIN_MAX_HEIGHTLEVEL max = MAX_MAX_HEIGHTLEVEL @@ -390,6 +391,7 @@ interval = 1 str = STR_CONFIG_SETTING_MAX_HEIGHTLEVEL strhelp = STR_CONFIG_SETTING_MAX_HEIGHTLEVEL_HELPTEXT strval = STR_JUST_INT +proc = ChangeMaxHeightLevel cat = SC_BASIC [SDT_BOOL] |