log src/train_cmd.cpp @ 8236:d1191295967a draft

age author description
Wed, 09 Jan 2008 21:05:03 +0000 rubidium (svn r11800) -Codechange: move some functions to a more logical location + some type safety. draft
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). draft
Wed, 09 Jan 2008 10:15:20 +0000 peter1138 (svn r11789) -Codechange: coding style for global variable names draft
Wed, 09 Jan 2008 09:45:45 +0000 rubidium (svn r11787) -Codechange: more header rewrites. This time related to viewport.h. draft
Mon, 07 Jan 2008 09:19:53 +0000 rubidium (svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location. draft
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. draft
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 draft
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. draft
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. draft
Tue, 01 Jan 2008 14:15:28 +0000 peter1138 (svn r11733) -Fix: Max speed for entering stations overrode the max speed of curves draft
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. draft
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 draft
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. draft
Sat, 29 Dec 2007 09:24:26 +0000 rubidium (svn r11719) -Codechange: split sound.h in a header with types and one with functions. draft
Thu, 27 Dec 2007 14:10:47 +0000 smatz (svn r11707) -Fix: do not allow refitting flooded (destroyed) vehicles draft
Thu, 27 Dec 2007 13:35:39 +0000 rubidium (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes. draft
Thu, 27 Dec 2007 13:25:23 +0000 smatz (svn r11705) -Fix [FS#1557]: trains could have sprites with wrong direction when reversing, also was inconsistent with save/load process (possible desyncs) draft
Wed, 26 Dec 2007 13:50:40 +0000 rubidium (svn r11702) -Codechange: move all date related stuff to date*. draft
Wed, 26 Dec 2007 11:45:43 +0000 rubidium (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h). draft
Tue, 25 Dec 2007 11:26:07 +0000 rubidium (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' draft
Fri, 21 Dec 2007 22:50:51 +0000 rubidium (svn r11680) -Codechange: refactor more out of openttd.h and functions.h. draft
Fri, 21 Dec 2007 21:50:46 +0000 rubidium (svn r11677) -Codechange: move price and command related types/functions to their respective places. draft
Fri, 21 Dec 2007 19:49:27 +0000 rubidium (svn r11675) -Codechange: split the string types from the string functions. draft
Wed, 19 Dec 2007 23:26:02 +0000 rubidium (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h draft
Tue, 18 Dec 2007 19:52:14 +0000 rubidium (svn r11661) -Codechange: some header reworks in order to try to reduce the compile time of OpenTTD by reduce the amount of circular-ish dependencies. draft
Sun, 16 Dec 2007 19:30:42 +0000 smatz (svn r11649) -Codechange: some code can be simplified thanks to changes in r11642 draft
Sun, 16 Dec 2007 15:38:51 +0000 smatz (svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h draft
Sat, 15 Dec 2007 23:11:18 +0000 smatz (svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so remove useless checks draft
Sat, 15 Dec 2007 00:04:01 +0000 smatz (svn r11634) -Fix: update signals when deleting crashed train on a bridge, update even when train is rotated draft
Fri, 14 Dec 2007 23:21:20 +0000 smatz (svn r11633) -Codechange: merge CheckTunnelEmpty and IsVehicleOnBridge into GetVehicleTunnelBridge draft
Tue, 11 Dec 2007 22:50:13 +0000 smatz (svn r11623) -Fix [FS#1533] (r11619): assert when train is going over two crossings next to each other draft
Tue, 11 Dec 2007 19:09:36 +0000 smatz (svn r11619) -Fix [FS#1531]: do not make crossing red behind depot the train is entering draft
Tue, 04 Dec 2007 15:32:54 +0000 glx (svn r11567) -Fix [FS#1512] (r11011): break the chain before moving a vehicle after another in the same chain draft
Sun, 25 Nov 2007 15:35:25 +0000 skidd13 (svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random() draft
Tue, 20 Nov 2007 14:11:19 +0000 skidd13 (svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style draft
Tue, 20 Nov 2007 13:35:54 +0000 skidd13 (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style draft
Mon, 19 Nov 2007 21:32:20 +0000 skidd13 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style draft
Mon, 19 Nov 2007 21:02:30 +0000 skidd13 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style draft
Mon, 19 Nov 2007 18:58:04 +0000 skidd13 (svn r11476) -Codechange: rename the function myabs to abs to get rid of an unneeded define draft
Mon, 19 Nov 2007 18:38:10 +0000 skidd13 (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style draft
Thu, 15 Nov 2007 00:13:12 +0000 glx (svn r11431) -Codechange: [NewGRF] Add support for changing rail vehicle user-defined bit mask (prop 25) via callback 36 draft
Sun, 04 Nov 2007 23:06:39 +0000 truelight (svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13) draft
Sun, 28 Oct 2007 15:40:18 +0000 glx (svn r11352) -Codechange: cache callback 2D result (vehicle color mapping) instead calling it every time the vehicle is drawn draft
Sun, 21 Oct 2007 16:52:01 +0000 maedhros (svn r11333) -Fix: Train engines still had a value of 0. draft
Sun, 21 Oct 2007 16:45:00 +0000 rubidium (svn r11332) -Fix: vehicles getting a value of 0 on construction. draft
Mon, 08 Oct 2007 20:16:25 +0000 rubidium (svn r11230) -Fix [FS#1228]: one could construct trains out of crashed wagons and engines. Based on a patch by SmatZ. draft
Mon, 08 Oct 2007 20:06:37 +0000 rubidium (svn r11229) -Fix [FS#1307]: one could sell vehicles that were crashed in a depot, which would still yield money. draft
Wed, 26 Sep 2007 17:33:32 +0000 rubidium (svn r11173) -Codechange: rename some callback enums so they are more uniform. draft
Fri, 21 Sep 2007 17:56:55 +0000 rubidium (svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains. draft
Mon, 17 Sep 2007 04:23:03 +0000 rubidium (svn r11122) -Fix [FS#1234]: crash when building a NewGRF vehicle when the articulated build vehicle callback returneed a different value for the purchase window than the normal build. Thanks for Dalestan and _minime_ for pointers to possible causes. draft
Sun, 16 Sep 2007 20:48:00 +0000 rubidium (svn r11120) -Codechange: remove the arbitrary limit of 10 articulated parts for a vehicle. draft
Mon, 10 Sep 2007 17:13:37 +0000 rubidium (svn r11086) -Fix/Revert (r11053, r10984): "fixing" r11053 made the acceleration code use the wrong speed, which can be fixed by reverting a small piece of r10984. draft
Sun, 09 Sep 2007 17:42:59 +0000 rubidium (svn r11072) -Fix [FS#1045]: when a vehicle had a service order, the goto-depot button did not make it possible to stop the vehicle at that depot. draft
Sat, 08 Sep 2007 09:52:02 +0000 rubidium (svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ. draft
Wed, 05 Sep 2007 21:05:12 +0000 rubidium (svn r11048) -Fix [FS#1206]: several cases where (re)moving eninges on a train would corrupt the vehicle counts for the groups. draft
Wed, 05 Sep 2007 10:15:23 +0000 bjarni (svn r11045) -Codechange: added a function to tell if a vehicle is the rear part of a dualheaded train engine draft
Fri, 31 Aug 2007 17:13:39 +0000 rubidium (svn r11017) -Codechange: unify determining whether a vehicle needs/can be service a little more. draft
Thu, 30 Aug 2007 21:11:12 +0000 rubidium (svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game state while being marked const. draft
Thu, 30 Aug 2007 13:09:44 +0000 rubidium (svn r11004) -Codechange: some reworks of the saveload mechanism to be able to save and load private and protected variables in the vehicle struct. draft
Thu, 30 Aug 2007 13:03:56 +0000 rubidium (svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that. draft