summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
AgeCommit message (Collapse)Author
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
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-09(svn r23173) -Codechange: Rename GetVehicleCapacity() to ↵frosch
Engine::DetermineCapacity().
2011-11-09(svn r23171) -Fix (r23142): Fix comment.frosch
2011-11-08(svn r23150) -Change: [NewGRF v8] Deprecate callback 11, and use callback 36 ↵frosch
instead.
2011-11-08(svn r23148) -Change: [NewGRF] Check the results of various callbacks for ↵frosch
validness.
2011-11-08(svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks ↵frosch
returning D0xx texts.
2011-11-04(svn r23112) -Codechange: Check if vehicle chain lengths stays constant when ↵michi_cc
auto-refitting.
2011-11-04(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z ↵rubidium
related variables
2011-11-04(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ ↵rubidium
functions if they return the Z in pixels (like TilePixelHeight)
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-11-01(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and ↵frosch
Vehicle to simplify code.
2011-11-01(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.frosch
2011-10-03(svn r22984) -Feature: Display profit icons for groups in the group GUI.frosch
2011-10-03(svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and ↵frosch
DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle().
2011-09-03(svn r22879) -Fix: Miscalculation of train curve speed limits. (monoid)terkhen