src/vehicle.cpp
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).
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.
Wed, 26 Sep 2007 17:33:32 +0000 rubidium (svn r11173) -Codechange: rename some callback enums so they are more uniform.
Sun, 09 Sep 2007 10:13:17 +0000 rubidium (svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
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.
Fri, 07 Sep 2007 17:01:35 +0000 glx (svn r11052) -Fix (r11017)[FS#1210]: vehicles always skip service order
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
Fri, 31 Aug 2007 20:52:38 +0000 rubidium (svn r11027) -Fix: do not unconditionally assume that a tile has a depot.
Fri, 31 Aug 2007 17:13:39 +0000 rubidium (svn r11017) -Codechange: unify determining whether a vehicle needs/can be service a little more.
Fri, 31 Aug 2007 12:57:52 +0000 rubidium (svn r11014) -Fix (r11011) [FS#1170]: crash when selling the first train of a consist.
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 20:50:58 +0000 rubidium (svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.
Fri, 24 Aug 2007 00:04:51 +0000 belugas (svn r10971) -Codechange: One less magical number
Mon, 06 Aug 2007 11:58:15 +0000 maedhros (svn r10808) -Fix (r10353): Make sure spectators can't open infrastructure building menus.
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).
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.
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.
Sun, 29 Jul 2007 14:02:27 +0000 peter1138 (svn r10721) -Fix [FS#1084]: Skip articulated parts of road vehicles during unique name check.
Sat, 28 Jul 2007 00:19:49 +0000 glx (svn r10714) -Fix r10696: MSVC performance warning
Thu, 26 Jul 2007 15:37:19 +0000 rubidium (svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
Thu, 26 Jul 2007 14:07:11 +0000 rubidium (svn r10696) -Codechange: remove duplication of the "make sprite transparent" code.
Wed, 25 Jul 2007 00:16:30 +0000 rubidium (svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line.
Tue, 17 Jul 2007 06:56:09 +0000 peter1138 (svn r10603) -Codechange: avoid direct access to _engine_info
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.
Sun, 08 Jul 2007 17:44:46 +0000 rubidium (svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed.
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.
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.
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.
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:37:46 +0000 rubidium (svn r10354) -Fix [FS#950]: loading indicator showed "^" when the train would load at the given station.
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.
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.
Mon, 25 Jun 2007 23:14:13 +0000 maedhros (svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable.
Sun, 24 Jun 2007 13:22:41 +0000 KUDr (svn r10302) -Fix [YAPF, MP]: now (with r10301) it is no longer needed to invalidate the YAPF segment cache every tick in MP. Segment cost now doesn't contain the curves between segments. As a result the cache should be now accurate.
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 22:49:55 +0000 rubidium (svn r10210) -Codechange: make all money related variables 64 bits, so overflowing them should become a little harder.
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 16:42:40 +0000 rubidium (svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
Mon, 18 Jun 2007 10:48:15 +0000 rubidium (svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
Wed, 13 Jun 2007 23:43:00 +0000 rubidium (svn r10154) -Fix [FS#870]: some vehicles were not drawn when having a high resolution and a high zoom-out level. Patch by B. N. SmatZ!.
Wed, 13 Jun 2007 23:14:08 +0000 rubidium (svn r10153) -Fix [FS#869]: vehicles disappear when crossing certain tiles. Fix by B. N. SmatZ!.
Wed, 13 Jun 2007 07:14:42 +0000 peter1138 (svn r10129) -Fix (r10111): Test for x == INVALID_COORD instead of v->tile == INVALID_TILE to determine if a vehicle should be removed from the has.
Wed, 13 Jun 2007 01:38:00 +0000 glx (svn r10126) -Fix (r10111, FS#864): old_new_hash cache was not reset when the position hash were
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, 09 Jun 2007 18:31:04 +0000 bjarni (svn r10077) -Fix: FS#845 Cloning Trains Longer Than 8 Units Causes Crash
Fri, 08 Jun 2007 09:35:39 +0000 peter1138 (svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics.
Thu, 07 Jun 2007 12:37:48 +0000 rubidium (svn r10056) -Revert (r10049): removing SLE_WRITEBYTE didn't work as expected :(. Somehow SlIterateArray and SlObject depend on eachother and adding a some arbitrary data before the SlObject makes it go crazy.
Wed, 06 Jun 2007 23:57:21 +0000 rubidium (svn r10049) -Codechange: get rid of the SLE_WRITEBYTE obfuscation.