src/vehicle.h
Wed, 19 Dec 2007 23:26:02 +0000 rubidium (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
Wed, 19 Dec 2007 19:44:29 +0000 rubidium (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
Tue, 18 Dec 2007 20:38:16 +0000 rubidium (svn r11663) -Codechange: moving of the road related types and functions.
Fri, 14 Dec 2007 23:21:20 +0000 smatz (svn r11633) -Codechange: merge CheckTunnelEmpty and IsVehicleOnBridge into GetVehicleTunnelBridge
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, 28 Oct 2007 16:00:51 +0000 glx (svn r11353) -Codechange: add support for newgrf callback 32
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, 09 Sep 2007 11:23:49 +0000 rubidium (svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.
Sun, 09 Sep 2007 10:13:17 +0000 rubidium (svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
Fri, 07 Sep 2007 22:06:52 +0000 rubidium (svn r11057) -Fix [FS#1215]: loading TTD savegames went into an infinite loop due to not yet properly set next and previous pointers.
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:49:08 +0000 rubidium (svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
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.
Tue, 28 Aug 2007 06:46:33 +0000 rubidium (svn r10995) -Codechange: unify the way to get the displayed maxium speed of a vehicle. Patch by nycom.
Sun, 26 Aug 2007 21:21:59 +0000 rubidium (svn r10985) -Codechange: unify/remove duplicate CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
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, 05 Aug 2007 21:20:55 +0000 rubidium (svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works.
Sun, 05 Aug 2007 17:43:04 +0000 rubidium (svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(.
Fri, 03 Aug 2007 20:17:26 +0000 rubidium (svn r10772) -Codechange: also make use of the generic clean and destroy pool callback functions for vehicle.
Fri, 03 Aug 2007 19:36:00 +0000 rubidium (svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
Thu, 02 Aug 2007 21:19:07 +0000 rubidium (svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
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 17:01:23 +0000 rubidium (svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
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)
Wed, 27 Jun 2007 14:15:48 +0000 rubidium (svn r10353) -Fix/Feature [FS#669]: disallow (in the GUI) the building of infrastructure you do not have available vehicles for. This means that the airport building button is disabled till you can actually build aircraft. The game itself will not disallow you to build the infrastructure and this "new" behaviour can be overriden with a patch setting.
Mon, 25 Jun 2007 20:55:43 +0000 maedhros (svn r10331) -Feature: Add the possibility of automatically filling in timetables based on
Fri, 22 Jun 2007 18:28:44 +0000 truelight (svn r10270) -Add: prefixed the loading indicator with an arrow, up meaning vehicle is loading, down meaning vehicle is unloading
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 16:17:47 +0000 truelight (svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh)
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 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.