summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2019-01-19Change: Add path cache for ships.Peter Nelson
2019-01-17Fix: Some code and comment typosnikolas
Found with codespell
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-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2018-03-11(svn r27986) -Codechange: Name magic constants in the vehicle position hash ↵frosch
functions.
2017-08-31(svn r27904) -Fix [FS#6593]: When last vehicle is removed from shared orders ↵adf88
group, hide the "Stop sharing" button in vehile orders window
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-03-24(svn r27822) -Feature: Vehicle Group Info: Add profits and occupancy display ↵peter1138
to group vehicle list (mtm, JGR)
2016-10-16(svn r27668) -Feature: [NewGRF] Allow composing vehicles from multiple sprites.frosch
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-05-29(svn r27584) -Codechange: Add some assertions about Vehicle::cargo_payment.frosch
2015-10-30(svn r27426) -Change: Round loading percentage in loading indicators and ↵frosch
conditional orders towards 50%, so that 0% and 100% mean completely empty or full.
2015-04-09(svn r27222) -Fix [FS#6278]: Use the current maximum speed as limited by ↵planetmaker
bridges, orders etc. for all vehicle types alike when considering increased smoke emissions of vehicles.
2015-02-14(svn r27148) -Fix: Rounding and unit-conversion inconsistencies in calls to ↵frosch
MarkAllViewportsDirty.
2014-09-21(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵rubidium
data is now always accessible
2014-09-20(svn r26863) -Codechange: move a number of Vehicle* functions into the ↵rubidium
Vehicle class
2014-08-23(svn r26756) -Fix (r26747): Ground vehicle breakdown smoke was not supposed ↵frosch
to be available yet, since it is a looping animation.
2014-08-23(svn r26755) -Fix (r26747) [FS#6093]: Silence MSVC warning.frosch
2014-08-17(svn r26747) -Feature: [NewGRF] Advanced visual effects with multiple effect ↵frosch
sprites independent of spawning model.
2014-08-17(svn r26746) -Codechange: Separate enums for visual effect type and spawning ↵frosch
model.
2014-08-17(svn r26745) -Codechange: Deduplicate calls to CreateEffectVehicleRel for ↵frosch
vehicle visual effects.
2014-07-27(svn r26706) -Fix [FS#6015] (r20644): wrong breakdown sound was played for shipsrubidium
2014-07-21(svn r26699) -Fix-ish: do not crash when trying to show an error about ↵rubidium
vehicle in a NewGRF and the NewGRF was not loaded at all
2014-05-17(svn r26594) -Fix [FS#6006]: Don't call UpdateVehicleTimetable with dummy ordersfonsinchen
2014-05-01(svn r26547) -Codechange: Collect order travel and wait times independent of ↵fonsinchen
timetables
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-25(svn r26101) -Fix: NULL pointer dereference when one can't allocate an order ↵rubidium
list but wants to make implicit orders
2013-11-17(svn r26027) -Change [FS#5669-ish]: [NewGRF] Invalidate vehicle colour ↵frosch
palette when leaving a station.
2013-10-22(svn r25903) -Codechange: Refactor RefreshNextHopsStats into an own class ↵fonsinchen
LinkRefresher.
2013-10-22(svn r25898) -Codechange: Add second timestamp for 'restricted links' to all ↵fonsinchen
edges.
2013-10-19(svn r25883) -Fix: Limit recursion and branching in RefreshNextHopsStats ↵fonsinchen
more aggressively.
2013-08-20(svn r25738) -Feature: recursively walk all branches of conditional orders ↵fonsinchen
in the order prediction logic
2013-08-20(svn r25737) -Codechange: move inner workings of RefreshNextHopsStats into ↵fonsinchen
separate function
2013-08-20(svn r25736) -Codechange: move condition prediction out of ↵fonsinchen
GetNextStoppingOrder so that we can access both branches in calling code
2013-08-20(svn r25735) -Feature: allow implicit orders even if no explicit ones are given.fonsinchen
2013-08-11(svn r25717) -Fix: check for type of order before checking for refit typefonsinchen
2013-08-06(svn r25695) -Fix [FS#5700] (r24882, r25648): Vehicle::MarkDirty must be ↵frosch
called for the front engine.
2013-08-04(svn r25648) -Change [FS#5669]: [NewGRF] Invalidate vehicle recolour palette ↵frosch
during (un)loading.
2013-07-30(svn r25636) -Fix: invalidate last_loading_station when stopping in depotfonsinchen
2013-07-13(svn r25604) -Fix [FS#5550]: Only the front engine's date of last service ↵rubidium
was updated
2013-07-06(svn r25565) -Codechange: Rewrite order prediction logic to introduce proper ↵fonsinchen
refit prediction
2013-06-09(svn r25361) -Feature: distribute cargo according to plan given by linkgraphfonsinchen
2013-06-07(svn r25329) -Fix [FS#5582]: for refreshing next hops implicit orders are ↵fonsinchen
equivalent to explicit stopping orders
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-12(svn r25235) -Fix [FS#5543]: keep all cargo whenever cancelling reservations ↵rubidium
(fonsinchen)