src/train_cmd.cpp
Wed, 19 Dec 2007 23:26:02 +0000 rubidium (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
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.
Sun, 16 Dec 2007 19:30:42 +0000 smatz (svn r11649) -Codechange: some code can be simplified thanks to changes in r11642
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
Sat, 15 Dec 2007 23:11:18 +0000 smatz (svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so remove useless checks
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
Fri, 14 Dec 2007 23:21:20 +0000 smatz (svn r11633) -Codechange: merge CheckTunnelEmpty and IsVehicleOnBridge into GetVehicleTunnelBridge
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
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
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
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()
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
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
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
Mon, 19 Nov 2007 21:02:30 +0000 skidd13 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
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
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
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
Sun, 04 Nov 2007 23:06:39 +0000 truelight (svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13)
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
Sun, 21 Oct 2007 16:52:01 +0000 maedhros (svn r11333) -Fix: Train engines still had a value of 0.
Sun, 21 Oct 2007 16:45:00 +0000 rubidium (svn r11332) -Fix: vehicles getting a value of 0 on construction.
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.
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.
Wed, 26 Sep 2007 17:33:32 +0000 rubidium (svn r11173) -Codechange: rename some callback enums so they are more uniform.
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.
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.
Sun, 16 Sep 2007 20:48:00 +0000 rubidium (svn r11120) -Codechange: remove the arbitrary limit of 10 articulated parts for a vehicle.
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.
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.
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.
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.
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
Fri, 31 Aug 2007 17:13:39 +0000 rubidium (svn r11017) -Codechange: unify determining whether a vehicle needs/can be service a little more.
Thu, 30 Aug 2007 21:11:12 +0000 rubidium (svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game state while being marked const.
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.
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.
Wed, 29 Aug 2007 21:27:16 +0000 rubidium (svn r10999) -Codechange: unify the way the running cost of a vehicle is determined. Patch by nycom.
Wed, 29 Aug 2007 20:50:58 +0000 rubidium (svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.
Sun, 26 Aug 2007 20:43:22 +0000 rubidium (svn r10984) -Codechange: unify the way one can get the current speed in the same forwat so we can display it.
Sun, 26 Aug 2007 20:16:02 +0000 rubidium (svn r10983) -Codechange: use vehstatus & VS_CRASHED instead of some other "methods" custom to each vehicle to determine whether the vehicle is crashed.
Tue, 07 Aug 2007 23:07:10 +0000 bjarni (svn r10823) -Fix r8610 [FS#1097]: the autoreplace window vehicle count didn't always update correctly) (Matthias)
Fri, 03 Aug 2007 19:36:00 +0000 rubidium (svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
Mon, 30 Jul 2007 08:49:41 +0000 peter1138 (svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for collision detection on bridges/tunnels.
Thu, 26 Jul 2007 15:37:19 +0000 rubidium (svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
Mon, 16 Jul 2007 09:16:58 +0000 rubidium (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
Mon, 09 Jul 2007 19:38:12 +0000 rubidium (svn r10493) -Codechange: update some callback ID enums to reflect their changed usage, add a few and update the comments.
Sun, 08 Jul 2007 09:29:28 +0000 rubidium (svn r10474) -Fix [FS#995]: wrong group count after train crash.
Sun, 01 Jul 2007 19:24:54 +0000 rubidium (svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
Sun, 01 Jul 2007 19:11:47 +0000 rubidium (svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
Thu, 28 Jun 2007 22:03:34 +0000 rubidium (svn r10381) -Fix [FS#951]: skipping an order made train reverse immediatelly. Patch by boekabart.
Wed, 27 Jun 2007 20:40:20 +0000 peter1138 (svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take account of vehicle group (Matthias Wolf)
Tue, 26 Jun 2007 20:03:17 +0000 peter1138 (svn r10344) -Fix (r10317): confusion between TRACK_n and TRACK_BIT_n stopped NW/SE slopes being picked up, and compare middle of tile against current z, not previous.
Mon, 25 Jun 2007 23:14:13 +0000 maedhros (svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable.
Mon, 25 Jun 2007 08:24:03 +0000 rubidium (svn r10317) -Fix [FS#786]: acceleration not calculated properly when a train goes up a hill between tunnels.
Fri, 22 Jun 2007 22:42:18 +0000 truelight (svn r10288) -Fix [FS#202]: also age engines that aren't front-engines (based on a patch by kaan)
Fri, 22 Jun 2007 22:28:15 +0000 rubidium (svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler...
Fri, 22 Jun 2007 11:58:59 +0000 rubidium (svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
Thu, 21 Jun 2007 17:25:17 +0000 rubidium (svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
Thu, 21 Jun 2007 14:54:51 +0000 rubidium (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.