src/roadveh_cmd.cpp
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
Sun, 18 Nov 2007 15:06:01 +0000 rubidium (svn r11461) -Fix [FS#1449] (r11449): a bus turning around in a station could case an assertion error. Patch by divide.
Sat, 17 Nov 2007 12:42:15 +0000 rubidium (svn r11449) -Fix [FS#1160]: trams could deadlock themselves. As of now trams will turn as roadvehicles do when the player cannot build a tram track piece on the next tile without destroying anything. It will not turn when the player can build the before mentioned track piece on the 'next' tile.
Mon, 12 Nov 2007 18:28:55 +0000 rubidium (svn r11419) -Fix [FS#1388]: articulated vehicle breaking up when making a 90 degree turn immediately after a 180 degree turn.
Mon, 05 Nov 2007 17:50:10 +0000 truelight (svn r11385) -Fix r11383: bool operation can be hard to translate for some people ;) (tnx fjb for noticing this bug ;))
Sun, 04 Nov 2007 23:06:39 +0000 truelight (svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13)
Sun, 04 Nov 2007 22:47:34 +0000 truelight (svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13)
Wed, 31 Oct 2007 22:15:19 +0000 rubidium (svn r11367) -Fix [FS#1258]: non-articulated road vehicles should be able to overtake (not-too-long) articulated vehicles, i.e. overtaking of articulated vehicles that are several (3+) tiles long is not supported.
Wed, 31 Oct 2007 22:13:41 +0000 rubidium (svn r11366) -Fix [FS#1258]: road vehicles must not drive through eachother on bridges/in tunnels.
Sun, 21 Oct 2007 16:45:00 +0000 rubidium (svn r11332) -Fix: vehicles getting a value of 0 on construction.
Sat, 20 Oct 2007 20:15:34 +0000 rubidium (svn r11317) -Fix [FS#1355]: don't read a variable of a destroyed vehicle as the value will be reset to 0.
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.
Thu, 04 Oct 2007 20:16:35 +0000 rubidium (svn r11200) -Fix [FS#1291]: road vehicles could not overtake on one way roads going to the east.
Wed, 26 Sep 2007 17:33:32 +0000 rubidium (svn r11173) -Codechange: rename some callback enums so they are more uniform.
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.
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, 01 Sep 2007 08:31:36 +0000 rubidium (svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas.
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: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:49:08 +0000 rubidium (svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
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.
Fri, 24 Aug 2007 19:19:18 +0000 rubidium (svn r10974) -Fix [FS#1144, FS#1155]: road vehicles that could not (properly) use a road stop still tried to go to that road stop.
Thu, 16 Aug 2007 18:01:27 +0000 maedhros (svn r10924) -Fix [FS#1120]: VS_STOPPED is only set for the front part of an articulated
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)
Mon, 06 Aug 2007 15:00:32 +0000 rubidium (svn r10814) -Fix [FS#1103]/Codechange: allow trams to be reverse manually, even though there is no track to do so.
Mon, 06 Aug 2007 13:44:50 +0000 maedhros (svn r10812) -Fix (r10097) [FS#1093]: Make RoadVehicle::MarkDirty() mark all parts of articulated vehicles as dirty, not just the front.
Mon, 06 Aug 2007 13:05:45 +0000 maedhros (svn r10811) -Fix (r10097): Refit all the parts of an articulated road vehicle, not just the first part.
Mon, 06 Aug 2007 12:46:49 +0000 maedhros (svn r10809) -Fix (r10097): When reversing, articulated parts of road vehicles should not attempt to do their own pathfinding.
Fri, 03 Aug 2007 19:36:00 +0000 rubidium (svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
Sun, 29 Jul 2007 23:42:59 +0000 rubidium (svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
Thu, 26 Jul 2007 15:37:19 +0000 rubidium (svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
Tue, 24 Jul 2007 13:03:24 +0000 rubidium (svn r10672) -Codechange: typify some parameters/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, 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.
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:15:33 +0000 matthijs (svn r10345) -Fix [FS#290]: Make OPF handle coming out of a tunnel as well as going into a tunnel, to support road vehicles looking back when finding a depot while in a tunnel.
Mon, 25 Jun 2007 23:14:13 +0000 maedhros (svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable.
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.
Wed, 20 Jun 2007 19:17:22 +0000 maedhros (svn r10236) -Feature: Introduce a form of timetabling for vehicles.
Mon, 18 Jun 2007 21:44:47 +0000 rubidium (svn r10208) -Codechange: replace int32 with Money where appropriate.
Mon, 18 Jun 2007 19:53:50 +0000 rubidium (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
Mon, 18 Jun 2007 10:48:15 +0000 rubidium (svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
Tue, 12 Jun 2007 22:13:49 +0000 maedhros (svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops.
Tue, 12 Jun 2007 11:22:32 +0000 peter1138 (svn r10111) -Codechange: Add new vehicle hash table for collision detection and finding vehicles on a tile. The hash area scanned is far smaller than the old hash table, which is now used for viewport updates only. This should give a significant performance improvement for games with many vehicles. (Based on work by 'B. N. SmatZ!' and 'madman2003')
Mon, 11 Jun 2007 14:00:16 +0000 maedhros (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
Sat, 02 Jun 2007 21:07:03 +0000 rubidium (svn r10029) -Fix (r9923): trams should not/cannot turn on roadworks.
Fri, 01 Jun 2007 16:06:23 +0000 glx (svn r10012) -Fix (r9999): crash when forcing road vehicles to turn
Thu, 31 May 2007 18:11:39 +0000 rubidium (svn r10003) -Fix (r9999): crash when vehicle had to turn on a bridge.
Thu, 31 May 2007 16:47:32 +0000 rubidium (svn r10002) -Fix (r9999): don't try to get the disallowed directions from a road depot...
Thu, 31 May 2007 15:15:00 +0000 rubidium (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
Wed, 30 May 2007 18:22:56 +0000 rubidium (svn r9989) -Fix [FS#817]: trams/road vehicles did go to the closest road stop regardless whether they could actually "drive" on there.
Sat, 26 May 2007 20:30:55 +0000 bjarni (svn r9941) -Fix: trams could be cloned to appear in normal road depots and vice versa (spotted by Desolator)
Fri, 25 May 2007 23:45:36 +0000 rubidium (svn r9927) -Fix: assert triggered when letting a tram run into the wrong side of a depot.
Fri, 25 May 2007 22:31:34 +0000 rubidium (svn r9924) -Fix: update the road vehicle speeds when stopped and/or running just behind another vehicle.
Fri, 25 May 2007 22:07:40 +0000 rubidium (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.