summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
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)
2013-05-06(svn r25226) -Fix/Change [FS#5538]: [NewGRF] Revise when vehicle running ↵frosch
sound effects 04, 07 and 08 are played. In depot or tunnel, or when crashed or stopped: No sound. Braking: Effect 08 instead of 07.
2013-05-06(svn r25225) -Fix: [NewGRF] Play vehicle sound effect also for planes.frosch
2013-05-06(svn r25224) -Fix [part of FS#5534]: cur_speed is only valid for the front ↵frosch
engine, so make other engines in the consist use the speed of the front.
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-06(svn r25149) -Codechange: replace 'magic' 'has rating' bitcheck by ↵rubidium
descriptive function
2013-02-24(svn r25041) -Remove [FS#3764-ish]: ordered refit with subtypes, since the ↵frosch
cases where it worked were corner cases rather than the general case.
2013-02-17(svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load ↵rubidium
improved loading) instead of calculating if for every cycle
2013-02-17(svn r25008) -Codechange: Make CargoList::Truncate behave similarly to ↵rubidium
CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen)
2013-02-14(svn r24995) -Codechange: Add flags to vehicle service interval for custom & ↵rubidium
ispercent (peter1138)
2013-02-14(svn r24994) -Codechange: Replace access to service_interval with accessors ↵rubidium
(peter1138)
2013-01-27(svn r24944) -Fix [FS#5452]: Deleting implicit orders wasn't able to deal ↵frosch
with the various side-effects of DeleteOrder.
2013-01-11(svn r24905) -Feature(ish): Implement station randomisation triggers.peter1138
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2013-01-02(svn r24882) -Fix: desync when NewGRF changes the stats related to ↵rubidium
acceleration (power, weight, tractive effort, etc) during service or 32 day triggers
2012-11-12(svn r24711) -Fix (r10354): Check whether to not display a ^ loading ↵frosch
indicator at drop stations only worked if there was no other vehicle unloading for 255 ticks.
2012-11-12(svn r24709) -Codechange: Simplify some code.frosch
2012-10-09(svn r24579) -Change [FS#5322] (r21961): Show no loading indicator when ↵planetmaker
orders are 'no unloading and no loading' (sbr)
2012-09-21(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some ↵alberth
Doxygen improvements.
2012-07-29(svn r24443) -Codechange: Move Vehicle::name to BaseConsist.frosch
2012-05-26(svn r24282) -Codechange: Add AddVehicleAdviceNewsItem function to ↵frosch
preemptively deduplicate code.
2012-05-09(svn r24219) -Fix [FS#5152]: immediately do the cargo payment on vehicle ↵rubidium
crashes instead of when they are cleared
2012-04-17(svn r24142) -Feature [FS#3576]: Randomise count of passengers killed in a ↵michi_cc
crash. (riffraffselbow)
2012-04-17(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get ↵michi_cc
old. (Vikthor)
2012-04-17(svn r24128) -Change: Don't let vehicles break down directly after servicing.michi_cc
2012-04-17(svn r24124) -Add [FS#4658]: [NewGRF] Misc engine flag to disable breakdown ↵michi_cc
smoke. (Hirundo)
2012-03-25(svn r24067) -Change/fix: do not redraw up to 25% of the map when making a ↵rubidium
new vehicle visible for the first time
2012-02-14(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.michi_cc
2012-02-11(svn r23928) -Fix [FS#5053]: don't accelerate, for smoke purposes, when you ↵rubidium
reached the track's maximum speed
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-02(svn r23713) -Codechange: split VehicleMove() into two functions, to ↵truebrain
minimalize the work done where possible
2012-01-02(svn r23712) -Codechange: rename the two vehicle hashes we have to names ↵truebrain
that make clear where they differ in