summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
2021-06-01Fix b791ffc6: use the correct parameter in CmdSignalTrackHelperVít Šefl
2021-05-29Codechange: move from C-string to std::string for DoCommandrubidium42
2021-05-27Fix: do not hide parameter by local variable with the same namerubidium42
2021-04-11Fix #8981: Don't attempt to re-reserve path if already entering/entered depot.Peter Nelson
2021-03-31Fix #8803: Only auto-remove signals when rail can be built (#8904)Charles Pigott
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2021-01-07Feature: option to auto remove signals when in the way during rail ↵Kuhnovic
construction (#8274)
2021-01-05Codechange: DC_NO_RAIL_OVERLAP is a remnant of the OldAI. (#8496)Patric Stout
The OldAI was removed in 2009. Pretty sure we can remove this flag now too.
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-05-10Fix #8119: Update docking area when clearing a shore rail tileglx
2020-05-09Fix #8119, f538179: Update docking tile area when placing a diagonal rail ↵SamuXarick
next to a dock end (#8124)
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-08Fix #6407: Show snowy ground sprites for depots (#7671)stormcone
This is a quick fix by @KeldorKatarn: https://github.com/KeldorKatarn/OpenTTD_PatchPack/commit/65e656b9d6b24476d074ec6b41830a8f197d535b It has the drawback that snow is draw to the inside the depots as well, as the removed comment suggests.
2019-07-06Fix #7633: Allow zero-cost track conversion to succeedNiels Martin Hansen
2019-06-30Feature: Multi-tile docks and docking points.peter1138
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott
2019-04-18Codechange: use std::vector for _sorted_railtypesglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Include() with include()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-13Cleanup: Remove questionable syntax in track drawingJohannes E. Krause
2019-03-09Add: Add flag and railtype sprite type to draw pre-combined ground sprites. ↵PeterN
(#7231)
2019-02-16Codechange: Re-arrange VehicleEnter_Track in rail_cmd. (#7239)Joan Josep
2019-02-06Add #5006: Flag to hide rail type from construction.Peter Nelson
2018-10-31Remove: A few bits of dead codeCharles Pigott
2018-08-14Fix #6875: Depot building cost does not include foundation build cost (#6883)Jonathan G Rennison
2018-07-26Change: Extend rail types to 64 (6 bit storage)Peter Nelson
2018-04-30Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.J0an Josep
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-03-12(svn r27784) -Fix [FS#6505]: Allow rail conversion even if ship is on tile ↵peter1138
(Samu).
2017-01-08(svn r27726) -Fix: Improve error message when trying to build rail track ↵frosch
over a depot. (adf88)
2016-12-10(svn r27690) -Fix: Old compilers do not zero-initialise POD members when ↵frosch
explicitly calling implicitly created default constructors.
2016-12-10(svn r27688) -Fix-ish: Initialise new railtypes with the original railtype ↵frosch
data, though strictly NewGRF could only have modified 'label' and 'alternate_labels' at the time AllocateRailType is called, which are reset anyway.
2016-12-10(svn r27687) -Fix: RailtypeInfo::alternate_labels leaked when reloading ↵frosch
NewGRF. (adf88)
2016-12-09(svn r27686) -Change: List railtype of rail tiles explicitly in the tile ↵frosch
info window.
2016-11-05(svn r27676) -Codechange: Rename catenary functions, so that they refer ↵frosch
unambiguously to either RoadCatenary or RailCatenary.
2015-10-30(svn r27427) -Fix: Use the NewGRF railtype sorting order in the ↵frosch
infrastructure window.
2015-07-31(svn r27354) -Fix (r27343): Actually make it work. (rubidium)frosch
2015-07-26(svn r27343) -Feature [FS#6315]: [NewGRF] Allow railtype NewGRF to define ↵frosch
separate sprites for the fences on either track side.
2015-06-20(svn r27309) -Change [FS#6283]: Auto-complete partial roads when building ↵frosch
level-crossings. (adf88)
2015-04-26(svn r27253) -Fix [FS#6282]: When crossing tram tracks with railroads, cost ↵frosch
of extra roads was not being counted. (adf88)
2015-04-26(svn r27252) -Fix [FS#6281]: Invalid infrastructure counting when crossing ↵frosch
tram tracks with railroads. (adf88)
2015-03-28(svn r27207) -Codechange: Replace some magic integers with the appropiate ↵frosch
symbols.
2015-02-22(svn r27157) -Fix: Mark bridge middle tiles dirty when ↵frosch
building/removing/changing bridges.
2014-09-22(svn r26906) -Codechange: Scale depot and station picker buttons by GUI zoom ↵peter1138
level.