summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
AgeCommit message (Collapse)Author
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.
2014-09-21(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵rubidium
data is now always accessible
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-02-07(svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity ↵frosch
when they are not supposed to, and truncate cargo appropiately if they are allowed to.
2014-02-02(svn r26291) -Fix [FS#5866, FS#5888]: Correctly identify opposite ends of ↵fonsinchen
bridges and tunnels when converting rails (adf88)
2014-01-26(svn r26279) -Fix [FS#5853]: [NoAI] Some RemoveRail methods required to set ↵frosch
a valid railtype, though it was not used anyway. Remove the need to set one.
2013-11-12(svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in ↵rubidium
multiplayer (adf88)
2013-10-12(svn r25832) -Codechange: Reduce variety of object type test functions.frosch
2013-05-29(svn r25302) -Fix [FS#5565]: Build railway fences next to objects, even if ↵frosch
they are owned by the same company.
2013-03-11(svn r25082) -Codechange [FS#5501]: Simplify some code. (adf88)frosch
2013-02-23(svn r25038) -Fix [FS#5479]: minimise gaps feature caused removal to only ↵rubidium
happen at the signal build interval instead of the implicit interval of 1
2013-02-23(svn r25037) -Fix [FS#5480]: green path signals would be shown when building ↵rubidium
them 'under' a train, and they would keep showing green until they were passed again
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-26(svn r24857) -Fix: Don't let UFOs and coal mines clear water.frosch
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-07-30(svn r24449) -Fix [FS#5254]: Coast and sea are not the same.frosch
2012-07-27(svn r24439) -Fix [FS#5254]: In some cases ships could be covered with land.frosch
2012-07-01(svn r24367) -Feature: [NewGRF] Customisable signals for rail types.michi_cc
2012-06-23(svn r24356) -Change: Allow building/modifying/removing signals even if a ↵frosch
train is on the belonging track.
2012-05-01(svn r24194) -Change: Rename the 'signal_side' setting to ↵frosch
'train_signal_side', and add a third option while doing so.