log src/roadveh_cmd.cpp @ 7968:06293aabe6ea draft

age author description
Sun, 25 Nov 2007 19:45:09 +0000 rubidium (svn r11524) -Fix [FS#1485]: assertion when tram reversed at a station. 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
Sat, 24 Nov 2007 10:38:43 +0000 skidd13 (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style 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:32 +0000 rubidium (svn r11477) -Fix [FS#1451]: a road vehicle must not show that it is driving max speed when it is standing still waiting for the vehicle in from of it. 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
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. draft
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. draft
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. draft
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 ;)) 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, 04 Nov 2007 22:47:34 +0000 truelight (svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13) draft
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. draft
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. draft
Sun, 21 Oct 2007 16:45:00 +0000 rubidium (svn r11332) -Fix: vehicles getting a value of 0 on construction. draft
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. 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
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. draft
Wed, 26 Sep 2007 17:33:32 +0000 rubidium (svn r11173) -Codechange: rename some callback enums so they are more uniform. 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
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, 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. 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: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
Wed, 29 Aug 2007 21:49:08 +0000 rubidium (svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot. draft
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. draft
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. draft
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 draft
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) draft
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. draft
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. draft
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. draft
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. draft
Fri, 03 Aug 2007 19:36:00 +0000 rubidium (svn r10770) -Codechange: use the pool item class as super class for the vehicle struct. draft
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. draft
Thu, 26 Jul 2007 15:37:19 +0000 rubidium (svn r10697) -Codechange: give a more sensible names to some of the unkX variables. draft
Tue, 24 Jul 2007 13:03:24 +0000 rubidium (svn r10672) -Codechange: typify some parameters/variables. draft
Mon, 16 Jul 2007 09:16:58 +0000 rubidium (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h draft
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. draft
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. draft
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. draft
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) draft
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. draft
Mon, 25 Jun 2007 23:14:13 +0000 maedhros (svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable. draft
Fri, 22 Jun 2007 22:28:15 +0000 rubidium (svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler... draft
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. draft
Wed, 20 Jun 2007 19:17:22 +0000 maedhros (svn r10236) -Feature: Introduce a form of timetabling for vehicles. draft
Mon, 18 Jun 2007 21:44:47 +0000 rubidium (svn r10208) -Codechange: replace int32 with Money where appropriate. draft
Mon, 18 Jun 2007 19:53:50 +0000 rubidium (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. draft
Mon, 18 Jun 2007 10:48:15 +0000 rubidium (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. draft
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. draft
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') draft
Mon, 11 Jun 2007 14:00:16 +0000 maedhros (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for draft
Sat, 02 Jun 2007 21:07:03 +0000 rubidium (svn r10029) -Fix (r9923): trams should not/cannot turn on roadworks. draft