summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
AgeCommit message (Collapse)Author
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::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-10Feature: Railtype flags to allow/disallow 90 degree curves. (#7352)Michael Lutz
2019-02-21Fix #7159, e934f09: Waiting time at red one-way signals was too short.Michael Lutz
This is not an exact fix as previously, the wait time was speed/acceleration dependant. This simple fix ignores that and just makes the 'days' from the settings comment to be actually days.
2019-01-31Cleanup: [NPF] Remove unused parameter.J0an Josep
2019-01-31Cleanup: [NPF] Remove unused parameters.J0an Josep
2019-01-12Codechange #5859: Simplify CheckTrainStayInDepot() (#7045)Joan Josep
2019-01-09Fix: Don't increase motion counter while train is waiting at non-path ↵Andy
signals (Author: frosch123) #5877 (#7018)
2018-10-31Codechange: Some more null checksCharles Pigott
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-07-19Feature: Framerate display window (#6822)Niels Martin Hansen
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
2018-06-14Fix: Prevent ships moving into docks after finishing (un)loading. (#6791)PeterN
2018-05-22Change: Remove direction parameter from Vehicle::UpdateDeltaXY. (#6792)PeterN
The value is either unused or always the same as this->direction.
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-03-20(svn r27811) -Change: Remove unused parameters in FreeTrainTrackReservationpeter1138
FreeTrainTrackReservation is always called with INVALID_TILE and INVALID_TRACKDIR as second and third arguments, so remove them and just use those constants instead. (cirdan)
2017-03-20(svn r27809) -Codechange: Improve check in UpdateLevelCrossingpeter1138
In UpdateLevelCrossing, checking if a level crossing is reserved is cheaper than finding trains on it or approaching it, so do it first. (cirdan)
2016-10-16(svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw.frosch
2016-10-16(svn r27666) -Codechange: Pass vehicle sprites around using a struct ↵frosch
VehicleSpriteSeq.
2016-10-16(svn r27663) -Codechange: Deduplicate code when rotating crashed vehicles.frosch
2016-05-22(svn r27580) -Fix [FS#6395]: Set date of last service on construction also ↵frosch
for wagons and articulated parts.
2015-10-30(svn r27419) -Fix [FS#6369]: CmdSellRailWagon did not revert all actions ↵frosch
properly when no orderlist could be allocated. (Juanjo)
2015-03-28(svn r27209) -Add: Draw path reservation on the whole bridge, not only on ↵frosch
the bridge heads.
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-10-15(svn r27020) -Cleanup: some coding style consistency improvements (mostly ↵rubidium
spaces)
2014-10-04(svn r26951) -Codechange: Do the GUI-scale dance for vehicle, depot, and ↵peter1138
purchase lists.
2014-09-22(svn r26907) -Codechange: Scale engine purchase list to GUI zoom level for ↵peter1138
multihead engines.
2014-09-20(svn r26863) -Codechange: move a number of Vehicle* functions into the ↵rubidium
Vehicle class
2014-05-01(svn r26546) -Codechange: Make order wait_time, travel_time and max_speed ↵fonsinchen
private
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.
2013-11-26(svn r26130) -Codechange: add some guards against using invalid image indicesrubidium
2013-11-26(svn r26129) -Fix: remove dead code; it could be made to do what it did, but ↵rubidium
then it would be inconsistent with moving vehicles around
2013-11-26(svn r26126) -Cleanup: remove unneeded check for NULLrubidium
2013-11-17(svn r26026) -Fix (r25648) [FS#5775-ish]: Invalidate vehicle colour palette ↵frosch
again when rearranging consist, reversing, ...
2013-11-08(svn r25955) -Fix [FS#5723]: Train's "force proceed" status gets reset when ↵rubidium
the track on the other side of the tile has a signal (adf88)
2013-11-07(svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain.frosch
2013-08-25(svn r25744) -Fix (r25648): [NewGRF] Also invalidate vehicle colour palette ↵frosch
when rearranging consists.
2013-08-06(svn r25698) -Fix [FS#5700]: Autoreplace/renew also refits free wagons.frosch
2013-08-04(svn r25648) -Change [FS#5669]: [NewGRF] Invalidate vehicle recolour palette ↵frosch
during (un)loading.
2013-06-04(svn r25319) -Fix [FS#5570]: crash when train with reserved cargo vanishesrubidium
2013-05-19(svn r25259) -Codechange: track capacities and usage of linksrubidium
2013-04-24(svn r25200) -Fix (r24846): The level crossing sound is an ambient sound and ↵michi_cc
not a new year sound.
2013-04-13(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() ↵frosch
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2013-04-08(svn r25167) -Fix [FS#5523] (r24832): Original train and rv acceleration did ↵frosch
no longer respect bridge speed limits.
2013-02-14(svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag ↵rubidium
appropriately on creation (peter1138)
2013-02-14(svn r24994) -Codechange: Replace access to service_interval with accessors ↵rubidium
(peter1138)
2013-01-11(svn r24905) -Feature(ish): Implement station randomisation triggers.peter1138