summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
AgeCommit message (Collapse)Author
2008-01-13(svn r11835) -Fix: mark depot, viewports, vehicle lists and vehicle details ↵smatz
dirty when a train crashes
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11831) -Fix: call TrainConsistChanged() when removing crashed train ↵smatz
part to be consistent with saveload process
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11822) -Codechange: Replaced fixed size custom name array. Names are ↵peter1138
now attached to their object directly and there is no limit to the amount of names. -Fix: NewGRF engines could not be renamed.
2008-01-12(svn r11821) -Fix (r11802): 'optimization assert' when removing crashed ↵smatz
wagon in some cases
2008-01-12(svn r11820) -Fix: invalidate depot window when removing crashed trainsmatz
2008-01-12(svn r11819) -Fix: do not access the Vehicle struct that has been already ↵smatz
deleted when removing crashed train
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-11(svn r11812) -Codechange: introduce TrainExitDir() to simplify some functionssmatz
2008-01-09(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very ↵smatz
long track -Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
2008-01-09(svn r11800) -Codechange: move some functions to a more logical location + ↵rubidium
some type safety.
2008-01-09(svn r11793) -Codechange: pass the expense type via the CommandCost instead ↵rubidium
of a global variable. Patch by Noldo (FS#1114).
2008-01-09(svn r11789) -Codechange: coding style for global variable namespeter1138
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11775) -Codechange: move all autoreplace/autorenew functions to a ↵rubidium
single location.
2008-01-07(svn r11774) -Change: do not include variables.h in a header when it is not ↵rubidium
needed.
2008-01-04(svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is ↵smatz
determined at some places -Fix: adding road/tram to tram/road bridge was cheaper by one tile
2008-01-01(svn r11741) -Feature: Add support for NewGRF's train 'tilt' flag. Trains ↵peter1138
with tilt capability (specific details are per NewGRF set) will be given a 20% speed limit bonus on curves.
2008-01-01(svn r11738) -Codechange: Refactor realistic acceleration's curve counting ↵peter1138
to use DirDiffs instead of local tables, and remove an unnecessary loop.
2008-01-01(svn r11733) -Fix: Max speed for entering stations overrode the max speed of ↵peter1138
curves
2008-01-01(svn r11732) -Fix (r4150): elrail merge gave elrail, monorail & maglev ↵peter1138
unintended speed bonuses for curves, as the bonus was based on the railtype index. The bonus is now specified by a property of the railtype.
2007-12-31(svn r11731) -Fix [FS#1582]: Clear sprite override data before performing ↵peter1138
NewGRF wagon attach callback. This stopped the callback working for autoreplace and when moving wagons from train to train in a depot. -Fix (r11724): Don't check wagon attach callback for the chain when moving a single wagon.
2007-12-30(svn r11724) -Fix: make it impossible (for users) to circumvent the length ↵rubidium
checking of the NewGRF 'allow wagon attach' callback by moving several wagons at a time.
2007-12-29(svn r11719) -Codechange: split sound.h in a header with types and one with ↵rubidium
functions.
2007-12-27(svn r11707) -Fix: do not allow refitting flooded (destroyed) vehiclessmatz
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-27(svn r11705) -Fix [FS#1557]: trains could have sprites with wrong direction ↵smatz
when reversing, also was inconsistent with save/load process (possible desyncs)
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-18(svn r11661) -Codechange: some header reworks in order to try to reduce the ↵rubidium
compile time of OpenTTD by reduce the amount of circular-ish dependencies.
2007-12-16(svn r11649) -Codechange: some code can be simplified thanks to changes in ↵smatz
r11642
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-12-15(svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so ↵smatz
remove useless checks
2007-12-15(svn r11634) -Fix: update signals when deleting crashed train on a bridge, ↵smatz
update even when train is rotated
2007-12-14(svn r11633) -Codechange: merge CheckTunnelEmpty and IsVehicleOnBridge into ↵smatz
GetVehicleTunnelBridge
2007-12-11(svn r11623) -Fix [FS#1533] (r11619): assert when train is going over two ↵smatz
crossings next to each other
2007-12-11(svn r11619) -Fix [FS#1531]: do not make crossing red behind depot the train ↵smatz
is entering
2007-12-04(svn r11567) -Fix [FS#1512] (r11011): break the chain before moving a ↵glx
vehicle after another in the same chain
2007-11-25(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp ↵skidd13
cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
2007-11-20(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename ↵skidd13
the remaining to fit with the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11476) -Codechange: rename the function myabs to abs to get rid of an ↵skidd13
unneeded define