summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
AgeCommit message (Collapse)Author
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-05-22Change: Remove direction parameter from Vehicle::UpdateDeltaXY. (#6792)PeterN
The value is either unused or always the same as this->direction.
2018-04-30Codechange: Use TileAddBy(Diag)Dir when possible.J0anJosep
2017-03-20(svn r27814) -Change: Remove _roadveh_depot_exit_trackdirpeter1138
_roadveh_depot_exit_trackdir was just a copy of DiagDirToDiagTrackdir. (cirdan)
2017-03-20(svn r27813) -Change: Remove _road_enter_dir_to_reachable_trackdirspeter1138
_road_enter_dir_to_reachable_trackdirs was just a copy of DiagdirReachesTrackdirs. (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.
2015-03-16(svn r27190) -Fix [FS#6255] (r27106): Original road vehicle acceleration ↵frosch
crashed for vehicles taking over.
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2015-01-01(svn r27106) -Fix [FS#6176]: Use the actual max speed of the vehicle in ↵michi_cc
front when determining if a RV can overtake.
2014-10-04(svn r26951) -Codechange: Do the GUI-scale dance for vehicle, depot, and ↵peter1138
purchase lists.
2014-09-21(svn r26888) -Codechange: use ints for some z-levels of vehicles (ic111)rubidium
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
2013-12-25(svn r26180) -Fix: Visual effects did not work for articulated RV parts.frosch
2013-12-22(svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel ↵frosch
through a curve.
2013-12-08(svn r26152) -Revert/Fix (r26118) [FS#5822]: While the condition is ↵frosch
non-sense, the 'true' case is required for articulated parts and the 'false' case is required for savegame compatibility.
2013-11-26(svn r26130) -Codechange: add some guards against using invalid image indicesrubidium
2013-11-26(svn r26118) -Fix-ish?: comparing the old Direction to the possibly new ↵rubidium
state containing a TrackDir... well comparing apples and pears. Occasionally they would be the same and occasionally not; at least without any logic behind it. Since the occasions that the false branch was taken never resulted in a bug report, I highly doubt that removing it completely affects anything... except the visual speed of cornering in a numer of corners (<50%) and visual speed in an old style road stop.
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-05-06(svn r25222) -Change: Unify the behaviour of Vehicle::tick_counter between ↵frosch
RV and trains by incrementing it also for articulated RV parts.
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-02-03(svn r24966) -Fix [FS#5228]: trams would get stuck on waterrubidium
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-12-23(svn r24839) -Feature [FS#5271]: [NewGRF] Support oversized purchase list ↵michi_cc
sprites. (Based on patch by Eddi)
2012-12-20(svn r24832) -Fix [FS#5397]: [NewGRF] Take bridge speed limits into account ↵michi_cc
for vehicle variable 4C.
2012-11-12(svn r24713) -Fix [FS#5262]: [NewGRF] Tolerate old NewGRFs returning invalid ↵frosch
values via CB 11.
2012-07-07(svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave ↵frosch
consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
2012-07-07(svn r24383) -Fix: a comment.frosch
2012-07-07(svn r24382) -Fix: Call Vehicle::IsStoppedInDepot only for the first vehicle ↵frosch
in a chain (i.e. primary vehicle or free wagon).
2012-07-07(svn r24381) -Revert (r24380): RoadVehicle::IsInDepot was supposed to behave ↵frosch
different to Train::IsInDepot.
2012-07-07(svn r24380) -Fix [FS#5188]: RoadVehicle::IsInDepot did not check all ↵frosch
articulated parts.
2012-06-07(svn r24331) -Change [FS#5204]: [NewGRF] Make bounding boxes of road ↵frosch
vehicles change according to the vehicle length to make alignment easier.
2012-06-06(svn r24328) -Codechange: Simplify some silly code.frosch
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-02-14(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.michi_cc
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-02(svn r23714) -Codechange: don't mix Viewport with non-viewport codetruebrain
2012-01-02(svn r23713) -Codechange: split VehicleMove() into two functions, to ↵truebrain
minimalize the work done where possible
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-19(svn r23622) -Add: a set of events to trigger in a GameScripttruebrain
2011-12-16(svn r23540) -Codechange: unify and document vehicle widgetsrubidium
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain