src/roadveh_cmd.cpp
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.
Fri, 25 May 2007 11:01:44 +0000 rubidium (svn r9919) -Codechange: prepare some more places for more road types.
Fri, 25 May 2007 08:13:01 +0000 rubidium (svn r9917) -Codechange: prepare some more areas for more road types.
Thu, 24 May 2007 22:41:50 +0000 rubidium (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
Mon, 14 May 2007 08:07:20 +0000 rubidium (svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing.
Sat, 12 May 2007 07:05:34 +0000 peter1138 (svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains.
Mon, 07 May 2007 16:21:34 +0000 rubidium (svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions.
Mon, 07 May 2007 13:26:10 +0000 peter1138 (svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types.
Sun, 06 May 2007 14:59:01 +0000 rubidium (svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
Wed, 02 May 2007 18:29:11 +0000 rubidium (svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station.
Tue, 01 May 2007 16:35:14 +0000 rubidium (svn r9760) -Codechange: remove the need for saving some vehicle variables.
Sun, 29 Apr 2007 22:33:51 +0000 rubidium (svn r9755) -Codechange: refactor some more of the begin loading stuff.
Sun, 29 Apr 2007 21:24:08 +0000 rubidium (svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches.
Sun, 29 Apr 2007 18:21:24 +0000 rubidium (svn r9752) -Codechange: remove some duplication related to BeginLoading.
Sun, 29 Apr 2007 08:43:00 +0000 maedhros (svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, hopefully for good this time.
Sat, 28 Apr 2007 22:23:10 +0000 truelight (svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment
Fri, 20 Apr 2007 11:39:01 +0000 maedhros (svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station is sent to a depot.
Wed, 18 Apr 2007 22:10:36 +0000 rubidium (svn r9672) -Cleanup: lots of coding style fixes around operands.
Tue, 17 Apr 2007 21:09:38 +0000 belugas (svn r9664) -Documentation: Doxygen corrections,errors and omissions
Thu, 12 Apr 2007 13:07:15 +0000 maedhros (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
Mon, 02 Apr 2007 11:35:08 +0000 maedhros (svn r9543) -Fix [FS#691]: Split up STR_ENGINE_NOT_BUILDABLE into four strings so it can be
Wed, 28 Mar 2007 20:41:35 +0000 belugas (svn r9523) -Cleanup: doxygen changes. Time to take care of "R"
Thu, 22 Mar 2007 03:42:43 +0000 belugas (svn r9400) -Codechange: Use some more representative enum names for landscape types.
Sun, 18 Mar 2007 22:32:05 +0000 peter1138 (svn r9303) -Codechange: Use cargo class when counting passengers in a road vehicle crash, and when loading aircraft.
Sun, 18 Mar 2007 22:07:44 +0000 peter1138 (svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops.
Fri, 16 Mar 2007 21:42:11 +0000 peter1138 (svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type...
Thu, 08 Mar 2007 21:39:34 +0000 bjarni (svn r9072) -Codechange: [Orders] added methods to orders to free them and check if they are in use
Thu, 08 Mar 2007 16:27:54 +0000 rubidium (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
Wed, 07 Mar 2007 12:11:48 +0000 rubidium (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Wed, 07 Mar 2007 11:47:46 +0000 rubidium (svn r9050) -Codechange: Foo(void) -> Foo()
Wed, 28 Feb 2007 17:59:05 +0000 maedhros (svn r8946) -Feature: [NewGRF] Add support for vehicle variables 0xFE and 0xFF bit 10,
Wed, 28 Feb 2007 17:18:36 +0000 maedhros (svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can be used for more than just the gradual loading status.
Sun, 25 Feb 2007 10:49:13 +0000 tron (svn r8897) -Fix
Sat, 24 Feb 2007 18:44:30 +0000 tron (svn r8884) -Fix
Fri, 23 Feb 2007 22:14:14 +0000 rubidium (svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some directions (mart3p).
Wed, 14 Feb 2007 16:37:16 +0000 rubidium (svn r8735) -Feature: drive-through road stops made possible by the hard work of mart3p.
Wed, 14 Feb 2007 10:33:36 +0000 rubidium (svn r8730) -Codechange: more replacements of magic numbers by enums and removal of some (by now) redundant comments.
Wed, 14 Feb 2007 09:34:12 +0000 rubidium (svn r8726) -Codechange: bools are 1 or 0 according to the C++ standard and refactor RoadStop::AllocateBay to remove a loop condition. Suggestions by Tron.
Wed, 14 Feb 2007 09:23:52 +0000 rubidium (svn r8725) -Fix (r8712): test the first bit of the bitmask, not the nth, as we are shifting the bitmask.
Wed, 14 Feb 2007 01:00:57 +0000 rubidium (svn r8723) -Codechange: replace yet another couple of magic numbers with enums.
Wed, 14 Feb 2007 00:50:34 +0000 rubidium (svn r8721) -Fix (8715): road vehicles could not turn around properly
Tue, 13 Feb 2007 22:27:27 +0000 rubidium (svn r8715) -Codechange/cleanup: replace magic numbers related to state of road vehicles with enums. Original patch by mart3p.
Tue, 13 Feb 2007 20:57:02 +0000 rubidium (svn r8712) -Codechange/cleanup: replace 'magic' constants with enums, use proper types instead of byte, uint etc., give variables more descriptive names and add some comments.
Tue, 13 Feb 2007 10:26:53 +0000 rubidium (svn r8698) -Codechange: enumify the returns of VehicleEnterTile
Tue, 13 Feb 2007 00:25:42 +0000 rubidium (svn r8694) -Codechange: make RoadStop's status accessible via accessor functions.