diff options
author | Erich Eckner <git@eckner.net> | 2021-06-03 22:19:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-06-03 22:19:53 +0200 |
commit | 7d3768609214f71b1f3736145675fb89a3236a96 (patch) | |
tree | db58e925cd724fd6893f4cf37f7828c3ba1ae8da /openttd-git/signaltunnel.patch | |
parent | a02fd923a8a3786668a0dddf578c6eb88b4a3cf6 (diff) | |
download | archlinuxewe-7d3768609214f71b1f3736145675fb89a3236a96.tar.xz |
openttd-git 30779.7b5c0b423-1 -> 30826.5e44da301-1
Diffstat (limited to 'openttd-git/signaltunnel.patch')
-rw-r--r-- | openttd-git/signaltunnel.patch | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/openttd-git/signaltunnel.patch b/openttd-git/signaltunnel.patch index 319f1d691..b257ccc1a 100644 --- a/openttd-git/signaltunnel.patch +++ b/openttd-git/signaltunnel.patch @@ -1,5 +1,5 @@ diff --git a/src/lang/english.txt b/src/lang/english.txt -index db74c230b..824e4679e 100644 +index 4a92eba89..e07ab0084 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -1612,6 +1612,8 @@ STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES :Minimum company @@ -11,7 +11,7 @@ index db74c230b..824e4679e 100644 STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY :When dragging, place signals every: {STRING2} STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_HELPTEXT :Set the distance at which signals will be built on a track up to the next obstacle (signal, junction), if signals are dragged STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_VALUE :{COMMA} tile{P 0 "" s} -@@ -2772,8 +2774,10 @@ STR_LAI_WATER_DESCRIPTION_SHIP_DEPOT :Ship depot +@@ -2773,8 +2775,10 @@ STR_LAI_WATER_DESCRIPTION_SHIP_DEPOT :Ship depot # Industries come directly from their industry names STR_LAI_TUNNEL_DESCRIPTION_RAILROAD :Railway tunnel @@ -23,7 +23,7 @@ index db74c230b..824e4679e 100644 STR_LAI_BRIDGE_DESCRIPTION_RAIL_GIRDER_STEEL :Steel girder rail bridge STR_LAI_BRIDGE_DESCRIPTION_RAIL_CANTILEVER_STEEL :Steel cantilever rail bridge diff --git a/src/lang/russian.txt b/src/lang/russian.txt -index b9b5bc5fb..fb8860467 100644 +index 1752a0cf8..108c1fb07 100644 --- a/src/lang/russian.txt +++ b/src/lang/russian.txt @@ -1763,6 +1763,8 @@ STR_CONFIG_SETTING_MIN_YEARS_FOR_SHARES :Мин. воз @@ -35,7 +35,7 @@ index b9b5bc5fb..fb8860467 100644 STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY :При перетаскивании ставить сигналы каждые: {STRING} STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_HELPTEXT :Настройка периодичности расстановки сигналов методом перетаскивания. Сигналы будут устанавливаться до первого встреченного препятствия (пересечения или другого сигнала). STR_CONFIG_SETTING_DRAG_SIGNALS_DENSITY_VALUE :{COMMA} клет{P ку ки ок} -@@ -2947,8 +2949,10 @@ STR_LAI_WATER_DESCRIPTION_SHIP_DEPOT :Верфь +@@ -2948,8 +2950,10 @@ STR_LAI_WATER_DESCRIPTION_SHIP_DEPOT :Верфь # Industries come directly from their industry names STR_LAI_TUNNEL_DESCRIPTION_RAILROAD :Железнодорожный туннель @@ -69,7 +69,7 @@ index 7e5e0e39b..c175eadb9 100644 return false; } diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp -index 72ae0724c..293d6ffd9 100644 +index 59c1d27ab..ee7d0423d 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1069,9 +1069,12 @@ CommandCost CmdBuildSingleSignal(TileIndex tile, DoCommandFlag flags, uint32 p1, @@ -195,7 +195,7 @@ index 72ae0724c..293d6ffd9 100644 if (ret.GetErrorMessage() != STR_ERROR_THERE_IS_NO_RAILROAD_TRACK || last_error.GetErrorMessage() == INVALID_STRING_ID) { @@ -1471,22 +1528,48 @@ CommandCost CmdBuildSignalTrack(TileIndex tile, DoCommandFlag flags, uint32 p1, - CommandCost CmdRemoveSingleSignal(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text) + CommandCost CmdRemoveSingleSignal(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const std::string &text) { Track track = Extract<Track, 0, 3>(p1); + Money cost = _price[PR_CLEAR_SIGNALS]; @@ -260,10 +260,10 @@ index 72ae0724c..293d6ffd9 100644 /** diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp -index 559c39587..1af5bd6ec 100644 +index f038617d1..73609bc45 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp -@@ -1622,6 +1622,7 @@ static SettingsContainer &GetSettingsTree() +@@ -1623,6 +1623,7 @@ static SettingsContainer &GetSettingsTree() SettingsPage *construction = interface->Add(new SettingsPage(STR_CONFIG_SETTING_INTERFACE_CONSTRUCTION)); { construction->Add(new SettingEntry("gui.link_terraform_toolbar")); @@ -272,10 +272,10 @@ index 559c39587..1af5bd6ec 100644 construction->Add(new SettingEntry("gui.persistent_buildingtools")); construction->Add(new SettingEntry("gui.quick_goto")); diff --git a/src/settings_type.h b/src/settings_type.h -index 39a73b3ed..4888ba754 100644 +index 802368384..5cfbd1ee6 100644 --- a/src/settings_type.h +++ b/src/settings_type.h -@@ -331,6 +331,7 @@ struct ConstructionSettings { +@@ -334,6 +334,7 @@ struct ConstructionSettings { bool freeform_edges; ///< allow terraforming the tiles at the map edges uint8 extra_tree_placement; ///< (dis)allow building extra trees in-game uint8 command_pause_level; ///< level/amount of commands that can't be executed while paused @@ -364,11 +364,11 @@ index d6795e3b5..6a7eca6b6 100644 break; case MP_RAILWAY: -diff --git a/src/table/settings.ini b/src/table/settings.ini -index 4f105b5f6..00782dbaf 100644 ---- a/src/table/settings.ini -+++ b/src/table/settings.ini -@@ -561,6 +561,20 @@ str = STR_CONFIG_SETTING_MAX_TUNNEL_LENGTH +diff --git a/src/table/settings/settings.ini b/src/table/settings/settings.ini +index 9281ed662..9d318ba52 100644 +--- a/src/table/settings/settings.ini ++++ b/src/table/settings/settings.ini +@@ -527,6 +527,20 @@ str = STR_CONFIG_SETTING_MAX_TUNNEL_LENGTH strhelp = STR_CONFIG_SETTING_MAX_TUNNEL_LENGTH_HELPTEXT strval = STR_CONFIG_SETTING_TILE_LENGTH @@ -390,7 +390,7 @@ index 4f105b5f6..00782dbaf 100644 [SDT_NULL] length = 1 diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp -index 0a3a5db9e..4d2b4924a 100644 +index 47895122b..9120f924c 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -1859,6 +1859,17 @@ void ReverseTrainDirection(Train *v) @@ -662,7 +662,7 @@ index 0a3a5db9e..4d2b4924a 100644 /* Perform look-ahead on tunnel exit. */ if (v->IsFrontEngine()) { diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp -index dd8d731ee..76af1e07e 100644 +index 5181dfdca..e9df7e23b 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -28,6 +28,7 @@ @@ -845,7 +845,7 @@ index dd8d731ee..76af1e07e 100644 static TrackStatus GetTileTrackStatus_TunnelBridge(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side) { TransportType transport_type = GetTunnelBridgeTransportType(tile); -@@ -2048,8 +2174,8 @@ extern const TileTypeProcs _tile_type_tunnelbridge_procs = { +@@ -2047,8 +2173,8 @@ extern const TileTypeProcs _tile_type_tunnelbridge_procs = { nullptr, // add_accepted_cargo_proc GetTileDesc_TunnelBridge, // get_tile_desc_proc GetTileTrackStatus_TunnelBridge, // get_tile_track_status_proc |