summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
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
2012-01-02(svn r23711) -Codechange: don't chain the two vehicle hashes, but call them ↵truebrain
one by one
2011-12-16(svn r23540) -Codechange: unify and document vehicle widgetsrubidium
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-25(svn r23328) -Change: Make the viewport vehicle position hash cover the same ↵peter1138
area.
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-11-21(svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to ↵michi_cc
depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block.
2011-11-12(svn r23195) -Codechange: if we really need to cast away constness, use ↵rubidium
const_cast
2011-11-09(svn r23173) -Codechange: Rename GetVehicleCapacity() to ↵frosch
Engine::DetermineCapacity().