ship_cmd.c
Sun, 29 Jan 2006 18:57:26 +0000 Darkvater (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
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, 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.
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
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.
Sat, 24 Dec 2005 20:54:31 +0000 tron (svn r3339) Remove unnecessary includes
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.
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
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
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
Wed, 26 Oct 2005 07:12:14 +0000 tron (svn r3090) Remove long dead pieces of code
Mon, 24 Oct 2005 19:40:48 +0000 bjarni (svn r3081) -Codechange: [autoreplace] complete rewrite of autoreplace
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)
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.
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
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Thu, 21 Jul 2005 06:31:02 +0000 tron (svn r2660) Get rid of some more shifting/anding/casting
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.
Mon, 04 Jul 2005 14:58:55 +0000 hackykid (svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal.
Sun, 03 Jul 2005 13:02:54 +0000 matthijs (svn r2514) - Codechange: [NPF] Move the checking of railtype into a funciton IsCompatibleRail().
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"
Thu, 16 Jun 2005 18:04:02 +0000 matthijs (svn r2448) General cleanup of rail related code, more to follow.
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
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
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.
Tue, 03 May 2005 19:31:33 +0000 matthijs (svn r2261) - Fix: When crashed vehicles try to find a depot for servicing, openttd asserts.
Mon, 02 May 2005 23:59:11 +0000 matthijs (svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
Mon, 02 May 2005 22:13:20 +0000 matthijs (svn r2255) - Fix: [ 9680363 ] [NPF] Broken buoy handling for ships
Fri, 15 Apr 2005 13:48:08 +0000 matthijs (svn r2202) - Fix: [NPF] When a vehicle could not reach its target, it would choose a random direction. It will now try to get as close as possible.
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.
Sun, 06 Mar 2005 16:58:42 +0000 pasky (svn r1947) As in r1946, permit DC_QUERY_COST even on non-depot tiles - so that it works for the ai_new. It is de iure not a bug yet but let's be safe against future annoying headaches. Signed-Off-By: TrueLight
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).
Sun, 06 Feb 2005 22:36:08 +0000 matthijs (svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO
Sun, 06 Feb 2005 10:18:47 +0000 truelight (svn r1817) -Codechange: Moved depot-functions to depot.c
Fri, 04 Feb 2005 14:24:23 +0000 truelight (svn r1786) -Fix: unitnumber is increased to 16bit, so now you can have up to 5000
Wed, 02 Feb 2005 16:16:43 +0000 truelight (svn r1770) -Fix: Hopefully last pieces of code that are containing a station-id
Mon, 31 Jan 2005 11:23:10 +0000 matthijs (svn r1751) - Feature: New PathFinder (NPF).
Mon, 31 Jan 2005 07:23:15 +0000 tron (svn r1749) Move the functions which calculate distances to map.[ch] and give the more meaningful names
Sun, 30 Jan 2005 20:50:06 +0000 bjarni (svn r1741) - Fix: added IsVehicleIndex() so it's possible to protect GetVehicle() from reading an invalid vehicle index
Sun, 30 Jan 2005 18:51:08 +0000 darkvater (svn r1739) - Fix: type checking when selling vehicles (TrueLight)
Sun, 30 Jan 2005 14:52:04 +0000 bjarni (svn r1730) - Fix: Ships and Aircrafts have to be build in depots owned by _current_player (hacked client protection)
Sat, 29 Jan 2005 12:19:05 +0000 tron (svn r1713) Split off several functions which query/set information about a single tile from map.h and put them into a seperate file tile.h
Sat, 29 Jan 2005 01:02:47 +0000 bjarni (svn r1710) - Fix: [autoreplace] vehicles do no longer go to a depot all the time if the owner clicked 'stop replacing' ( ship+aircraft+road vehicles )
Fri, 28 Jan 2005 20:43:46 +0000 bjarni (svn r1709) - Feature: [autoreplace] ships now automatically goes to a depot if they need to be replaced
Thu, 27 Jan 2005 21:18:03 +0000 tron (svn r1701) Style police ^^
Thu, 27 Jan 2005 21:00:05 +0000 bjarni (svn r1700) - Fix: Hacked clients can no longer be used to build vehicles that are not available yet (Hackykid)