Add roadstop GRF properties to set bridge heights and disallowed pillars
This commit is contained in:
@@ -1433,7 +1433,7 @@ class NIHRoadStop : public NIHelper {
|
||||
output.print(buffer);
|
||||
seprintf(buffer, lastof(buffer), " spec: stop type: %X, draw mode: %X, cargo triggers: " OTTD_PRINTFHEX64, spec->stop_type, spec->draw_mode, spec->cargo_triggers);
|
||||
output.print(buffer);
|
||||
seprintf(buffer, lastof(buffer), " spec: callback mask: %X, flags: %X", spec->callback_mask, spec->flags);
|
||||
seprintf(buffer, lastof(buffer), " spec: callback mask: %X, flags: %X, intl flags: %X", spec->callback_mask, spec->flags, spec->internal_flags);
|
||||
output.print(buffer);
|
||||
seprintf(buffer, lastof(buffer), " animation: frames: %u, status: %u, speed: %u, triggers: 0x%X", spec->animation.frames, spec->animation.status, spec->animation.speed, spec->animation.triggers);
|
||||
output.print(buffer);
|
||||
|
@@ -82,6 +82,7 @@ static int64 LinkGraphDistModeXrefChillPP(int64 val);
|
||||
static bool LinkGraphDistributionSettingGUI(SettingOnGuiCtrlData &data);
|
||||
static bool OrderTownGrowthRate(SettingOnGuiCtrlData &data);
|
||||
static bool SpriteZoomMinSettingGUI(SettingOnGuiCtrlData &data);
|
||||
static bool AllowRoadStopsUnderBridgesSettingGUI(SettingOnGuiCtrlData &data);
|
||||
|
||||
/* End - GUI callbacks */
|
||||
|
||||
@@ -2044,6 +2045,7 @@ cat = SC_ADVANCED
|
||||
str = STR_CONFIG_SETTING_ALLOW_ROAD_STATIONS_UNDER_BRIDGES
|
||||
strhelp = STR_CONFIG_SETTING_ALLOW_ROAD_STATIONS_UNDER_BRIDGES_HELPTEXT
|
||||
patxname = ""allow_stations_under_bridges.construction.allow_road_stops_under_bridges""
|
||||
guiproc = AllowRoadStopsUnderBridgesSettingGUI
|
||||
|
||||
[SDT_BOOL]
|
||||
var = construction.allow_docks_under_bridges
|
||||
|
Reference in New Issue
Block a user