summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
AgeCommit message (Collapse)Author
2008-02-01(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) ↵glx
with an OnNewDay method in the Vehicle class
2008-01-27(svn r11996) -Fix [FS#1706]: update train statusbar when stopping from zero ↵smatz
speed
2008-01-23(svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditionssmatz
2008-01-18(svn r11922) -Codechange: use MaybeBarCrossingWithSound() to bar crossing ↵smatz
with sound
2008-01-18(svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of ↵smatz
constants -Fix: refit button widget was not correctly updated
2008-01-17(svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except ↵smatz
gameload and crossing construction) -Fix: crossing sound is bound to tile, not to vehicle
2008-01-17(svn r11908) -Fix: update crossing when merging a company, when building a ↵smatz
crossing and after loading older savegame
2008-01-17(svn r11900) -Fix: set correctly crossing state after train reversal, train ↵smatz
leaving crossing, train crash Fixes several ways to leave crossing red forever or to leave it unbarred when there is a train on crossing
2008-01-16(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify ↵smatz
the code at some places
2008-01-16(svn r11877) -Fix: another way to crash competitors' train in a stationsmatz
-Codechange: increase the speed train is approaching line end/semaphore in non-diagonal direction a bit
2008-01-16(svn r11870) -Fix: slow down train when approaching tile we can't enter in ↵smatz
more cases (tunnel/bridge/depot from wrong direction, competitor's track, wrong railtype) -Fix: do not make crossing red when we can't enter it in any case
2008-01-15(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync ↵rubidium
with other cases of *B_* vs *_* like VETSB_* and VETS_*.
2008-01-15(svn r11864) -Codechange: pass owner whose signals we will update instead of ↵smatz
complex detection later
2008-01-14(svn r11847) -Fix: do not affect the speed a train is entering a depot by ↵smatz
trackbits behind it
2008-01-13(svn r11845) -Codechange: simplify train collision detection a bitsmatz
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