src/vehicle.h
Mon, 18 Jun 2007 21:44:47 +0000 rubidium (svn r10208) -Codechange: replace int32 with Money where appropriate.
Mon, 18 Jun 2007 10:48:15 +0000 rubidium (svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
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
Fri, 01 Jun 2007 12:03:10 +0000 maedhros (svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
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.
Sat, 19 May 2007 09:40:18 +0000 rubidium (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
Fri, 18 May 2007 23:38:29 +0000 rubidium (svn r9872) -Codechange: more type strictness for vehicle types
Tue, 15 May 2007 11:28:22 +0000 rubidium (svn r9841) -Codechange: add a little more type strictness to the vehicle types.
Mon, 14 May 2007 16:07:05 +0000 rubidium (svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading.
Sun, 13 May 2007 21:24:58 +0000 rubidium (svn r9831) -Codechange: more refactoring of the loading/unloading.
Thu, 10 May 2007 06:42:43 +0000 peter1138 (svn r9818) -Codechange: Cache wagon override sprite set whenever consist is changed, instead of 'recalculating' it every time it is used or just tested.
Mon, 07 May 2007 16:21:34 +0000 rubidium (svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions.
Mon, 07 May 2007 15:58:05 +0000 rubidium (svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station.
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.
Fri, 04 May 2007 22:38:36 +0000 rubidium (svn r9784) -Codechange: remove unused variable.
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.
Wed, 02 May 2007 09:39:11 +0000 rubidium (svn r9765) -Codechange: constify some class functions.
Wed, 02 May 2007 09:29:41 +0000 rubidium (svn r9764) -Codechange: replace some lookup tables by functions.
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.
Fri, 20 Apr 2007 21:21:47 +0000 peter1138 (svn r9702) -Codechange: Add livery support to newgrf vehicle var 43
Wed, 18 Apr 2007 22:41:53 +0000 rubidium (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
Wed, 18 Apr 2007 18:37:40 +0000 peter1138 (svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
Wed, 04 Apr 2007 04:08:47 +0000 belugas (svn r9559) -Documentation: doxygen and comment changes: 'U' and 'V' now. Almost done. Yeah. I know, I've already said that...
Thu, 08 Mar 2007 23:05:05 +0000 bjarni (svn r9073) -Codechange: moved autoreplace to a file of it's own (now autoreplace has a cmd and a gui file)
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()
Fri, 02 Mar 2007 18:49:11 +0000 richk (svn r8978) -Feature: Rewrite of transfer system.
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.
Mon, 26 Feb 2007 22:25:18 +0000 rubidium (svn r8911) -Cleanup: fixup comments about the RoadVehicleStates and remove two unused enums.
Sun, 25 Feb 2007 10:49:13 +0000 tron (svn r8897) -Fix
Sun, 25 Feb 2007 10:25:25 +0000 tron (svn r8896) -Fix
Wed, 14 Feb 2007 16:37:16 +0000 rubidium (svn r8735) -Feature: drive-through road stops made possible by the hard work of mart3p.
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 10:26:53 +0000 rubidium (svn r8698) -Codechange: enumify the returns of VehicleEnterTile
Wed, 07 Feb 2007 19:10:19 +0000 bjarni (svn r8621) -Codechange: assigned new numbers to the VEH_(type) enum so that VEH_Train is 0, VEH_Road is 1 and so on
Tue, 06 Feb 2007 11:11:12 +0000 bjarni (svn r8610) -Codechange/Feature: rewrote the list handling in the autoreplace window
Mon, 05 Feb 2007 14:00:32 +0000 rubidium (svn r8593) -Fix (FS#564): bridges do not get destroyed when the bridge head gets flooded and there is a vehicle on the bridge. Original patch by KeeperofTheSoul.
Wed, 31 Jan 2007 22:33:24 +0000 maedhros (svn r8501) -Fix (r7377) [FS#539]: Keep track of how much cargo has been paid for, so that cargo cannot be paid for more than once.
Sun, 28 Jan 2007 21:53:13 +0000 Darkvater (svn r8448) -Codechange/Fix (r2993): Also update the helicopter's rotor when loading the game. This can solve crashes when a game is loaded with missing GRF's
Sat, 27 Jan 2007 12:29:55 +0000 Darkvater (svn r8428) -Codechange: Add proper names to aircraft subtypes instead of magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.
Mon, 22 Jan 2007 16:16:52 +0000 bjarni (svn r8349) -Codechange: replaced CMD_REFIT_VEH() and similar defines with real static inline functions
Mon, 22 Jan 2007 10:27:14 +0000 bjarni (svn r8341) -Codechange (r8336): added assert to VehTypeToIndex() to ensure valid vehicle types in the argument
Mon, 22 Jan 2007 01:13:10 +0000 bjarni (svn r8336) -Codechange: added function to translate vehicle types to 0,1,2... for use for index to arrays
Sun, 21 Jan 2007 20:08:00 +0000 bjarni (svn r8327) -Codechange: though overloading, IsPlayerBuildableVehicleType() now works with the type given as a byte as well as a vehicle pointer
Sun, 21 Jan 2007 01:25:59 +0000 bjarni (svn r8296) -Fix: GenerateVehicleSortList() tried to put a TileIndex into an uint16
Sun, 21 Jan 2007 01:07:15 +0000 bjarni (svn r8295) -Cleanup: merged arguments station, order and depot_airport_index for GenerateVehicleSortList() and BuildVehicleList() into one uint16 argument
Sun, 21 Jan 2007 00:13:39 +0000 bjarni (svn r8294) -Fix: deleting a vehicle with shared orders, but no orders would fail to reset prev_shared and next_shared
Mon, 15 Jan 2007 14:42:24 +0000 celestar (svn r8144) -Fix: [FS#163] When a station is removed, vehicles do not get excessive payment any longer, as the origin TILE is now stored as long as the origin STATION for the transported cargos. Basically this is only a temporary fix until cargopackets are implemented, but it fixes one of the oldest known bugs (Special Thanks to Darkvater for lots of testing)
Sun, 14 Jan 2007 19:57:49 +0000 peter1138 (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
Sat, 13 Jan 2007 18:55:54 +0000 KUDr (svn r8110) -Codechange: direct Vehicle::current_order.type changes (to OT_LOADING and OT_LEAVESTATION) replaced by v->BeginLoading() and v->LeaveStation() calls. This should allow easy hooking of those state transitions in order to maintain vehicle loading queue.
Wed, 10 Jan 2007 18:56:51 +0000 rubidium (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
Tue, 09 Jan 2007 16:27:25 +0000 peter1138 (svn r8007) -Codechange: Change _vehicle_position_hash from VehicleID to Vehicle*. This removes the need for look ups by index. Also declare the array static.
Tue, 02 Jan 2007 19:19:48 +0000 rubidium (svn r7759) -Merge: makefile rewrite. This merge features: