src/train_cmd.cpp
Thu, 21 Feb 2008 19:09:10 +0000 peter1138 (svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it.
Wed, 20 Feb 2008 20:56:54 +0000 peter1138 (svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to running_cost, inline with other vehicle types (It is the factor, not the base)
Wed, 20 Feb 2008 19:37:46 +0000 frosch (svn r12203) -Fix (r12199): Make trains pay attention to signals again.
Wed, 20 Feb 2008 17:49:50 +0000 frosch (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus().
Wed, 20 Feb 2008 17:06:58 +0000 smatz (svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
Wed, 20 Feb 2008 15:18:35 +0000 smatz (svn r12194) -Codechange: apply coding style on enum TrainSubtype
Wed, 20 Feb 2008 12:07:22 +0000 smatz (svn r12189) -Codechange: mark some functions in train_cmd.cpp inline (called once or very short)
Wed, 20 Feb 2008 11:00:17 +0000 smatz (svn r12188) -Codechange [FS#1782]: do not check twice for correct rail owner (patch by Vikthor)
Mon, 18 Feb 2008 18:35:36 +0000 smatz (svn r12179) -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability
Mon, 18 Feb 2008 16:35:38 +0000 smatz (svn r12178) -Codechange: use the 'side' parameter in TrainController and TrainCheckIfLineEnds to simplify the code
Wed, 13 Feb 2008 19:24:40 +0000 smatz (svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
Wed, 13 Feb 2008 17:54:11 +0000 smatz (svn r12132) -Cleanup: convert pathfinder selection from if/else to switch/case at many places
Wed, 13 Feb 2008 16:49:25 +0000 smatz (svn r12131) -Fix (r3374): with mammoth trains disabled, maximum train length was limited to 9
Wed, 13 Feb 2008 14:21:36 +0000 smatz (svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick)
Wed, 13 Feb 2008 09:34:56 +0000 peter1138 (svn r12128) -Codechange: Replace last use of TrainPlayLeaveStationSound(v) with v->PlayLeaveStationSound(), and remove wrapper function.
Fri, 08 Feb 2008 16:25:55 +0000 frosch (svn r12085) -Fix(r12058): Road vehicles could get stuck, when NPF told them to reverse on junction tiles. (spotted by SmatZ)
Tue, 05 Feb 2008 05:21:02 +0000 belugas (svn r12066) -Codechange: Rename GetBridge for the more common GetBridgeSpec
Mon, 04 Feb 2008 15:56:39 +0000 smatz (svn r12057) -Fix: slowdown train when approaching 90deg turn when 90deg turns are forbidden
Fri, 01 Feb 2008 22:02:14 +0000 glx (svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
Sun, 27 Jan 2008 20:20:53 +0000 smatz (svn r11996) -Fix [FS#1706]: update train statusbar when stopping from zero speed
Wed, 23 Jan 2008 14:51:36 +0000 smatz (svn r11960) -Cleanup: simplify some IsTunnel(Tile) / IsBridge(Tile) conditions
Fri, 18 Jan 2008 21:44:20 +0000 smatz (svn r11922) -Codechange: use MaybeBarCrossingWithSound() to bar crossing with sound
Fri, 18 Jan 2008 13:02:47 +0000 smatz (svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
Thu, 17 Jan 2008 20:41:33 +0000 smatz (svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction)
Thu, 17 Jan 2008 19:49:06 +0000 smatz (svn r11908) -Fix: update crossing when merging a company, when building a crossing and after loading older savegame
Thu, 17 Jan 2008 17:57:39 +0000 smatz (svn r11900) -Fix: set correctly crossing state after train reversal, train leaving crossing, train crash
Wed, 16 Jan 2008 21:17:31 +0000 smatz (svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places
Wed, 16 Jan 2008 15:48:36 +0000 smatz (svn r11877) -Fix: another way to crash competitors' train in a station
Wed, 16 Jan 2008 00:33:28 +0000 smatz (svn r11870) -Fix: slow down train when approaching tile we can't enter in more cases
Tue, 15 Jan 2008 18:44:22 +0000 rubidium (svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
Tue, 15 Jan 2008 15:00:01 +0000 smatz (svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
Mon, 14 Jan 2008 14:46:09 +0000 smatz (svn r11847) -Fix: do not affect the speed a train is entering a depot by trackbits behind it
Sun, 13 Jan 2008 23:53:33 +0000 smatz (svn r11845) -Codechange: simplify train collision detection a bit
Sun, 13 Jan 2008 14:42:28 +0000 smatz (svn r11835) -Fix: mark depot, viewports, vehicle lists and vehicle details dirty when a train crashes
Sun, 13 Jan 2008 14:37:30 +0000 rubidium (svn r11834) -Codechange: only include settings_type.h if needed.
Sun, 13 Jan 2008 13:11:59 +0000 smatz (svn r11831) -Fix: call TrainConsistChanged() when removing crashed train part to be consistent with saveload process
Sun, 13 Jan 2008 01:21:35 +0000 rubidium (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
Sat, 12 Jan 2008 19:58:06 +0000 peter1138 (svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
Sat, 12 Jan 2008 19:33:25 +0000 smatz (svn r11821) -Fix (r11802): 'optimization assert' when removing crashed wagon in some cases
Sat, 12 Jan 2008 19:24:58 +0000 smatz (svn r11820) -Fix: invalidate depot window when removing crashed train
Sat, 12 Jan 2008 19:20:44 +0000 smatz (svn r11819) -Fix: do not access the Vehicle struct that has been already deleted when removing crashed train
Sat, 12 Jan 2008 14:10:35 +0000 rubidium (svn r11818) -Codechange: split player.h into smaller pieces.
Fri, 11 Jan 2008 15:10:59 +0000 smatz (svn r11812) -Codechange: introduce TrainExitDir() to simplify some functions
Wed, 09 Jan 2008 23:00:59 +0000 smatz (svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
Wed, 09 Jan 2008 21:05:03 +0000 rubidium (svn r11800) -Codechange: move some functions to a more logical location + some type safety.
Wed, 09 Jan 2008 16:55:48 +0000 rubidium (svn r11793) -Codechange: pass the expense type via the CommandCost instead of a global variable. Patch by Noldo (FS#1114).
Wed, 09 Jan 2008 10:15:20 +0000 peter1138 (svn r11789) -Codechange: coding style for global variable names
Wed, 09 Jan 2008 09:45:45 +0000 rubidium (svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
Mon, 07 Jan 2008 09:19:53 +0000 rubidium (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
Mon, 07 Jan 2008 00:57:19 +0000 rubidium (svn r11774) -Change: do not include variables.h in a header when it is not needed.
Fri, 04 Jan 2008 19:45:29 +0000 smatz (svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is determined at some places
Tue, 01 Jan 2008 22:24:18 +0000 peter1138 (svn r11741) -Feature: Add support for NewGRF's train 'tilt' flag. Trains with tilt capability (specific details are per NewGRF set) will be given a 20% speed limit bonus on curves.
Tue, 01 Jan 2008 18:12:17 +0000 peter1138 (svn r11738) -Codechange: Refactor realistic acceleration's curve counting to use DirDiffs instead of local tables, and remove an unnecessary loop.
Tue, 01 Jan 2008 14:15:28 +0000 peter1138 (svn r11733) -Fix: Max speed for entering stations overrode the max speed of curves
Tue, 01 Jan 2008 14:00:31 +0000 peter1138 (svn r11732) -Fix (r4150): elrail merge gave elrail, monorail & maglev 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.
Mon, 31 Dec 2007 21:51:16 +0000 peter1138 (svn r11731) -Fix [FS#1582]: Clear sprite override data before performing NewGRF wagon attach callback. This stopped
Sun, 30 Dec 2007 21:35:48 +0000 rubidium (svn r11724) -Fix: make it impossible (for users) to circumvent the length checking of the NewGRF 'allow wagon attach' callback by moving several wagons at a time.
Sat, 29 Dec 2007 09:24:26 +0000 rubidium (svn r11719) -Codechange: split sound.h in a header with types and one with functions.
Thu, 27 Dec 2007 14:10:47 +0000 smatz (svn r11707) -Fix: do not allow refitting flooded (destroyed) vehicles
Thu, 27 Dec 2007 13:35:39 +0000 rubidium (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.