log src/vehicle.cpp @ 8081:97d86b93edda draft

age author description
Sat, 15 Dec 2007 23:11:18 +0000 smatz (svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so remove useless checks draft
Sat, 15 Dec 2007 20:30:43 +0000 smatz (svn r11639) -Codechange: simplify EnsureNoVehicleOnGround draft
Sat, 15 Dec 2007 16:11:29 +0000 smatz (svn r11637) -Fix: mark viewports dirty when removing visible vehicle chain draft
Fri, 14 Dec 2007 23:21:20 +0000 smatz (svn r11633) -Codechange: merge CheckTunnelEmpty and IsVehicleOnBridge into GetVehicleTunnelBridge draft
Fri, 14 Dec 2007 21:11:30 +0000 rubidium (svn r11632) -Fix [FS#1541]: vehicles were still followed when sold. draft
Wed, 12 Dec 2007 14:37:35 +0000 smatz (svn r11625) -Codechange: add CO_* enum at some places, add includes of order.h too 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 09:14:58 +0000 rubidium (svn r11506) -Fix [FS#1471]: selling vehicles could cause the window of others to scroll to that location. 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:02:30 +0000 skidd13 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 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
Mon, 12 Nov 2007 01:12:32 +0000 belugas (svn r11417) -Fix[FS#1421]: Let the main viewport stay where the vehicle was last seen while been center-followed draft
Sat, 10 Nov 2007 22:56:43 +0000 rubidium (svn r11400) -Fix [FS#1409]: assign orders during cloning after refitting as it needs the cargo types to be the same. draft
Tue, 30 Oct 2007 20:31:35 +0000 rubidium (svn r11362) -Fix [FS#1380]: cloning vehicles with non-standard sub-cargotypes (i.e. livery refits) failed. draft
Sun, 28 Oct 2007 16:00:51 +0000 glx (svn r11353) -Codechange: add support for newgrf callback 32 draft
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 draft
Sat, 20 Oct 2007 17:11:02 +0000 rubidium (svn r11314) -Fix [FS#1356]: stop following a vehicle when you sell/destroyed it. draft
Fri, 19 Oct 2007 22:46:55 +0000 rubidium (svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround. draft
Sun, 14 Oct 2007 20:12:51 +0000 rubidium (svn r11262) -Fix [FS#1330]: do not check for vehicles that are not on the ground when removing owned land, furthermore do not check for shadows (of aircraft). draft
Tue, 09 Oct 2007 20:53:25 +0000 rubidium (svn r11236) -Fix [FS#1322]: DeleteVehicleChain can just work as good for all vehicles, instead of not allowing trains to use it (enforced by an assert), but actually using it for trains. Patch by SmatZ. draft
Wed, 26 Sep 2007 17:33:32 +0000 rubidium (svn r11173) -Codechange: rename some callback enums so they are more uniform. draft
Sun, 09 Sep 2007 10:13:17 +0000 rubidium (svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman. draft
Sat, 08 Sep 2007 22:53:10 +0000 rubidium (svn r11064) -Fix [FS#553]: when autorenew is enabled and it cannot renew the vehicle anymore (because the player cannot build the engine), the aging warnings as if autorenew is not enabled are shown. draft
Fri, 07 Sep 2007 17:01:35 +0000 glx (svn r11052) -Fix (r11017)[FS#1210]: vehicles always skip service order draft
Wed, 05 Sep 2007 10:15:23 +0000 bjarni (svn r11045) -Codechange: added a function to tell if a vehicle is the rear part of a dualheaded train engine draft
Fri, 31 Aug 2007 20:52:38 +0000 rubidium (svn r11027) -Fix: do not unconditionally assume that a tile has a depot. 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
Fri, 31 Aug 2007 12:57:52 +0000 rubidium (svn r11014) -Fix (r11011) [FS#1170]: crash when selling the first train of a consist. 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: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. 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
Wed, 29 Aug 2007 20:50:58 +0000 rubidium (svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus. draft
Fri, 24 Aug 2007 00:04:51 +0000 belugas (svn r10971) -Codechange: One less magical number draft
Mon, 06 Aug 2007 11:58:15 +0000 maedhros (svn r10808) -Fix (r10353): Make sure spectators can't open infrastructure building menus. draft
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. draft
Sun, 05 Aug 2007 17:43:04 +0000 rubidium (svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(. draft
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. 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
Thu, 02 Aug 2007 21:19:07 +0000 rubidium (svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle). draft
Wed, 01 Aug 2007 22:10:54 +0000 rubidium (svn r10744) -Codechange: make the pool a little more OO, so it can be easier in other places. draft
Mon, 30 Jul 2007 08:49:41 +0000 peter1138 (svn r10734) -Fix [FS#1030]: Revert r10513) and add special cases for collision detection on bridges/tunnels. draft
Sun, 29 Jul 2007 14:02:27 +0000 peter1138 (svn r10721) -Fix [FS#1084]: Skip articulated parts of road vehicles during unique name check. draft
Sat, 28 Jul 2007 00:19:49 +0000 glx (svn r10714) -Fix r10696: MSVC performance warning 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
Thu, 26 Jul 2007 14:07:11 +0000 rubidium (svn r10696) -Codechange: remove duplication of the "make sprite transparent" code. draft
Wed, 25 Jul 2007 00:16:30 +0000 rubidium (svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line. draft
Tue, 17 Jul 2007 06:56:09 +0000 peter1138 (svn r10603) -Codechange: avoid direct access to _engine_info draft
Wed, 11 Jul 2007 21:31:34 +0000 peter1138 (svn r10513) -Fix [FS#1022]: use vehicle subtile position to update cache, not tile, so that collision detection works on bridges and tunnels. draft
Sun, 08 Jul 2007 17:44:46 +0000 rubidium (svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed. 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
Thu, 28 Jun 2007 19:14:29 +0000 peter1138 (svn r10380) -Fix (r10364): when checking for unique names, only check vehicles that can have names, and skip inactive players. draft
Wed, 27 Jun 2007 20:53:25 +0000 peter1138 (svn r10364) -Fix [FS#706]: checking for duplicate custom names was inconsistent, and tested all 'namespaces'. now only check names of the same type. 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
Wed, 27 Jun 2007 14:37:46 +0000 rubidium (svn r10354) -Fix [FS#950]: loading indicator showed "^" when the train would load at the given station. draft
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. draft
Tue, 26 Jun 2007 14:43:41 +0000 maedhros (svn r10341) -Fix (r10236): Only update the timetable when leaving stations if this is a scheduled stop. 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