summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
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)
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.