summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
AgeCommit message (Collapse)Author
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-26(svn r26130) -Codechange: add some guards against using invalid image indicesrubidium
2013-11-26(svn r26129) -Fix: remove dead code; it could be made to do what it did, but ↵rubidium
then it would be inconsistent with moving vehicles around
2013-11-26(svn r26126) -Cleanup: remove unneeded check for NULLrubidium
2013-11-17(svn r26026) -Fix (r25648) [FS#5775-ish]: Invalidate vehicle colour palette ↵frosch
again when rearranging consist, reversing, ...
2013-11-08(svn r25955) -Fix [FS#5723]: Train's "force proceed" status gets reset when ↵rubidium
the track on the other side of the tile has a signal (adf88)
2013-11-07(svn r25946) -Add: [NewGRF Debuggnig] Inspecting other vehicles in a chain.frosch
2013-08-25(svn r25744) -Fix (r25648): [NewGRF] Also invalidate vehicle colour palette ↵frosch
when rearranging consists.
2013-08-06(svn r25698) -Fix [FS#5700]: Autoreplace/renew also refits free wagons.frosch
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-04-24(svn r25200) -Fix (r24846): The level crossing sound is an ambient sound and ↵michi_cc
not a new year sound.
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-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)
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 r24834) -Fix [FS#5396]: The autorefit dropdown in the order GUI wasn't ↵michi_cc
always updated when modifying vehicle consists.
2012-12-20(svn r24833) -Codechange: Replace magic numbers for invalidating ↵michi_cc
vehicle-related windows with an enum.
2012-12-20(svn r24832) -Fix [FS#5397]: [NewGRF] Take bridge speed limits into account ↵michi_cc
for vehicle variable 4C.
2012-12-20(svn r24831) -Fix [FS#5398]: [NewGRF] Incorrect values are better than a ↵michi_cc
crash when a NewGRF queries vehicle variable 4C before vehicle initialisation is completed.
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 r24382) -Fix: Call Vehicle::IsStoppedInDepot only for the first vehicle ↵frosch
in a chain (i.e. primary vehicle or free wagon).
2012-05-26(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and ↵frosch
NewsFlag instead.
2012-05-26(svn r24282) -Codechange: Add AddVehicleAdviceNewsItem function to ↵frosch
preemptively deduplicate code.
2012-05-14(svn r24246) -Add [FS#5052-ish]: [NewGRF] Variable with the current max ↵michi_cc
speed for vehicles.
2012-03-29(svn r24078) -Fix [FS#5093,FS#5130] (r24071): A fix that breaks all other ↵michi_cc
cases isn't really a fix. Redo it to make sure that reservations of trains entering or exiting depots are properly made and freed.
2012-03-25(svn r24071) -Fix [FS#5093]: Reversing trains while they were entering or ↵michi_cc
leaving a depot could lead to stuck trains.
2012-02-14(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.michi_cc
2012-01-26(svn r23855) -Fix [FS#5007]: out of bounds read for slowdown parameter ↵rubidium
caused desync when railtype >= 4, vehicles were fast, and the original acceleration model was used
2012-01-09(svn r23781) -Fix [FS#4964]: under certain circumstances, e.g. a single ↵rubidium
invalid order, trying to determine the next order state could end up in an infinite loop
2012-01-08(svn r23773) -Change: [NewGRF] Update all cached train properties if a train ↵michi_cc
vehicle enters a new railtype.
2012-01-03(svn r23744) -Fix (r23142) [FS#4923]: Check the version of the right GRF.frosch
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
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
2011-12-30(svn r23688) -Codechange: No need to check if a train needs servicing if we ↵michi_cc
only extend a train's path without actually calling the pathfinder. The path extension will stop when hitting a junction tile, so it is impossible to miss a depot this way.
2011-12-28(svn r23683) -Fix [FS#4912]-ish: when fitting another engine the cargo ↵rubidium
capacity of wagons could become lower, causing them to contain more than they should. This caused the cargo transfer from the replaced parts to put even more stuff in the already full wagon. Prevent this from happening by reducing the amount of cargo in the vehicle to the capacity when moving vehicles/wagons around, or when autoreplacing
2011-12-28(svn r23681) -Fix [FS#4914]: vehicle numbers got misaccounted when ↵rubidium
autoreplacing failed due to length checks
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-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-12-09(svn r23454) -Change: Mark company window dirty when moving a rail engine ↵peter1138
creates or deletes a train.
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain