aircraft_cmd.c
Wed, 18 Jan 2006 14:12:26 +0000 bjarni (svn r3402) -Fix: [building/cloning] added a string telling if build failed due to not being able to build a vehicle. Triggered when cloning a retired design
Thu, 12 Jan 2006 15:52:18 +0000 peter1138 (svn r3396) - Autoreplace changes:
Thu, 05 Jan 2006 21:35:54 +0000 tron (svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command.
Wed, 28 Dec 2005 22:29:59 +0000 peter1138 (svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.
Wed, 14 Dec 2005 06:20:23 +0000 tron (svn r3297) Staticise
Tue, 29 Nov 2005 22:29:59 +0000 peter1138 (svn r3248) - Codechange: Change interface of CanRefitTo() to supply the engine type directly instead of getting it from a vehicle. This allows the function to be used before vehicles are involved.
Sat, 26 Nov 2005 16:41:14 +0000 peter1138 (svn r3239) - Codechange: Introduce and use helper functions for engine replacement code.
Wed, 16 Nov 2005 12:52:01 +0000 tron (svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection
Wed, 16 Nov 2005 12:01:46 +0000 tron (svn r3196) Use structs instead of magic offsets into arrays
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 08:09:57 +0000 tron (svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Tue, 08 Nov 2005 23:18:09 +0000 bjarni (svn r3156) -Fix: removed some cases where autoreplace windows were redrawn when nothing was changed
Sat, 05 Nov 2005 14:01:00 +0000 bjarni (svn r3138) -Fix: [clone vehicles] fixed assert when it was possible to allocate some vehicles to clone a train, but not for all cars
Mon, 31 Oct 2005 12:59:47 +0000 bjarni (svn r3111) -Fix: [autoreplace] [ 1341783 ] Assertion failure in vehicle.c line 378
Sun, 30 Oct 2005 15:50:08 +0000 bjarni (svn r3105) readded 2 line that should not have been removed in last commit(3104). Now cargo are removed when refitting (like it should)
Sun, 30 Oct 2005 11:00:54 +0000 bjarni (svn r3104) -Codechange: [refit] removed now obsolite code that the old autoreplace needed
Sat, 29 Oct 2005 21:54:28 +0000 bjarni (svn r3101) -Codechange: added _new_vehicle_id
Fri, 28 Oct 2005 20:04:54 +0000 tron (svn r3098) static, const, uint -> TileIndex, indentation, bracing, unused return values, ... mostly related to the clone vehicle GUI
Mon, 24 Oct 2005 19:40:48 +0000 bjarni (svn r3081) -Codechange: [autoreplace] complete rewrite of autoreplace
Sun, 23 Oct 2005 13:04:44 +0000 tron (svn r3078) Some more stuff, which piled up:
Sat, 15 Oct 2005 11:06:54 +0000 tron (svn r3046) Replace some numbers with sprite names and fix a typo in the sprite list
Tue, 11 Oct 2005 13:54:21 +0000 tron (svn r3030) More work for GB/SB, this time concerning the waiting_acceptance attribute of stations
Mon, 03 Oct 2005 21:20:01 +0000 tron (svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
Sat, 01 Oct 2005 12:43:34 +0000 tron (svn r3003) Change int, uint, uin16 and byte to EngineID where appropriate, plus some related changes (mostly casts)
Fri, 30 Sep 2005 20:37:25 +0000 tron (svn r3001) s/Player*/const Player*/
Mon, 26 Sep 2005 19:01:49 +0000 peter1138 (svn r2990) Remove _engine_original_sprites and replace all uses with references to our (new) original engine/vehicle tables.
Tue, 13 Sep 2005 13:30:18 +0000 Darkvater (svn r2949) The AI no longer needs to 'cheat' to build aircraft; eg it builds them now from a hangar. Also, to query the price of a new aircraft tile information is not needed
Tue, 13 Sep 2005 12:19:27 +0000 truelight (svn r2948) -Fix: the old AI needs a special flag that triggers all kind of special
Thu, 25 Aug 2005 16:53:51 +0000 tron (svn r2890) Fix some signed/unsigned comparison warnings (tokai)
Mon, 08 Aug 2005 15:26:53 +0000 ludde (svn r2842) Fix bug with aircraft autoreplace (peter1138)
Sat, 06 Aug 2005 16:07:22 +0000 bjarni (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
Sun, 31 Jul 2005 13:08:08 +0000 bjarni (svn r2764) -Feature: Clone vehicles
Thu, 28 Jul 2005 06:09:15 +0000 celestar (svn r2732) -Codechange: Cleaned the order flags some more. Hit some inconsistencies while trying to locate bug 1244167
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Wed, 20 Jul 2005 15:29:28 +0000 tron (svn r2650) Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read
Tue, 19 Jul 2005 21:49:35 +0000 tron (svn r2643) Get rid of some unnecessary casts
Wed, 13 Jul 2005 18:04:01 +0000 tron (svn r2558) Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
Fri, 01 Jul 2005 14:05:44 +0000 tron (svn r2504) Move Draw*EngineInfo to engine_gui.c to reduce dependencies
Sat, 25 Jun 2005 06:15:43 +0000 tron (svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Tue, 07 Jun 2005 18:13:49 +0000 tron (svn r2432) Use GetEngine() instead of DEREF_ENGINE() or even _engines[]
Sat, 04 Jun 2005 11:56:32 +0000 tron (svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix some bogus reads of _map_owner
Fri, 03 Jun 2005 22:25:06 +0000 tron (svn r2403) if cascade -> switch
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Mon, 30 May 2005 14:45:36 +0000 Darkvater (svn r2383) - Fix: Monkey-testing turned up some command crashes.
Mon, 30 May 2005 10:18:18 +0000 orudge (svn r2380) - Fix: Build year for mail compartment of planes was not set correctly, affected station ratings (Asterix_)
Sat, 14 May 2005 12:36:16 +0000 Darkvater (svn r2306) - CodeChange: Check the last commands; refits. This needed an extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks"
Thu, 12 May 2005 00:11:37 +0000 Darkvater (svn r2297) - CodeChange: server-check the next batch of commands.
Wed, 11 May 2005 16:17:03 +0000 Darkvater (svn r2294) - CodeChange: check the service interval settings when changing of all vehicle-types. To simplify things introduce GetServiceIntervalClamped() that returns the same or clamped value of the new service interval. There were some inconsistencies in the gui files so I had to change those, and const correctness kicked in, so it's a bit messy at certain points.
Wed, 11 May 2005 00:00:27 +0000 Darkvater (svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Mon, 02 May 2005 23:59:11 +0000 matthijs (svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
Sat, 02 Apr 2005 00:17:16 +0000 Darkvater (svn r2118) - Fix: Fix compilation with network disabled, and comment out some of the warnings (unused function)
Wed, 23 Mar 2005 11:54:20 +0000 tron (svn r2037) uint -> TileIndex, remove pointless casts, const, misc.
Wed, 23 Mar 2005 11:12:17 +0000 tron (svn r2036) Fix FindNearestHanger(), it never worked correctly because 0xFFFF != 65000 and a 16bit number has no 17th bit
Sun, 20 Mar 2005 08:43:29 +0000 celestar (svn r2034) -Codechange: Replaced the rather meaningless LOAD and UNLOAD flags for depots by something more meaningful
Sat, 19 Mar 2005 21:16:22 +0000 bjarni (svn r2024) -Fix: [autoreplace] reverted all changes involving v->set_for_replacement as they caused desyncs.
Tue, 22 Feb 2005 19:38:44 +0000 Darkvater (svn r1905) - Fix: [ 1118810 ] openttd: ship_cmd.c:642 ... Assertion failed. Mapwrap fixed in ship_cmd.c (was implicitely ok before biggermaps).
Sat, 12 Feb 2005 15:53:32 +0000 tron (svn r1863) Give the effect vehicle type enums more descriptive names and use the enum as parameter type for CreateEffectVehicle*()