vehicle.h
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 15:05:01 +0000 bjarni (svn r3403) -Codechange: [multiheaded engines] the references between the front and rear engines are no longer saved
Thu, 12 Jan 2006 15:52:18 +0000 peter1138 (svn r3396) - Autoreplace changes:
Thu, 05 Jan 2006 16:51:10 +0000 tron (svn r3366) Make an unnecessarily global variable local
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Wed, 04 Jan 2006 20:18:39 +0000 peter1138 (svn r3362) Fix issue with loading old (TTD) savegames:
Thu, 29 Dec 2005 12:42:59 +0000 tron (svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length
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.
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.
Fri, 18 Nov 2005 23:41:03 +0000 bjarni (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
Wed, 16 Nov 2005 14:07:34 +0000 tron (svn r3208) Don't explicitly pass the engine type to look for to GetRearEngine(), because it's the engine type of the vehicle which gets passed as first parameter
Wed, 16 Nov 2005 12:21:04 +0000 tron (svn r3200) Remove the unused function GfxScalePalette() and the unused struct WorldSprite
Wed, 16 Nov 2005 11:50:40 +0000 tron (svn r3193) Staticise the vehicle position hash
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Sun, 13 Nov 2005 21:16:34 +0000 tron (svn r3176) Use proper types, not some variants of int
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Mon, 07 Nov 2005 23:20:47 +0000 bjarni (svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
Sat, 05 Nov 2005 16:07:26 +0000 peter1138 (svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.
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
Fri, 04 Nov 2005 20:52:03 +0000 bjarni (svn r3136) -Fix: [autoreplace] all cargo in engines that consists of more than one vehicle will try to move cargo from all vehicles
Fri, 04 Nov 2005 12:58:18 +0000 peter1138 (svn r3132) -NewGRF: support positioning of rail vehicle visual effects.
Thu, 03 Nov 2005 09:22:24 +0000 peter1138 (svn r3124) Alter train loading/unloading time to use the actual length of the train instead of the number of wagons. The actual length is cached in the first vehicle of the train.
Tue, 01 Nov 2005 17:20:06 +0000 bjarni (svn r3116) -Fix: [autoreplace] fixed issue where autorenewing/autoreplacing a plane could lock up an airport
Mon, 31 Oct 2005 12:59:47 +0000 bjarni (svn r3111) -Fix: [autoreplace] [ 1341783 ] Assertion failure in vehicle.c line 378
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
Sat, 22 Oct 2005 06:39:32 +0000 tron (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
Tue, 18 Oct 2005 07:01:00 +0000 tron (svn r3058) The default AI may not build dual headed trains under certain circumstances.
Sun, 16 Oct 2005 14:12:21 +0000 tron (svn r3052) Fix last commit *grml*
Sun, 16 Oct 2005 14:07:11 +0000 tron (svn r3051) Remove the unused function RemoteSubsidyAdd()
Sun, 18 Sep 2005 20:56:44 +0000 Darkvater (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Sat, 06 Aug 2005 16:07:22 +0000 bjarni (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Thu, 21 Jul 2005 19:36:43 +0000 tron (svn r2664) Remove depedency on player.h from variables.h
Thu, 21 Jul 2005 18:44:27 +0000 tron (svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
Wed, 20 Jul 2005 22:02:58 +0000 celestar (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
Sun, 17 Jul 2005 20:14:58 +0000 tron (svn r2626) static, const, misc.
Sun, 17 Jul 2005 20:09:02 +0000 hackykid (svn r2625) - Fix: [pbs] Store the end of a train's reserved path explicitly. Prevents trains from unreserving eachothers paths in some cases.
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.
Fri, 24 Jun 2005 12:38:35 +0000 tron (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Fri, 17 Jun 2005 00:22:46 +0000 matthijs (svn r2450) * Codechange: Replaced all uses of the arrays in tile.h with calls to the associated wrapper functions.
Mon, 06 Jun 2005 22:44:11 +0000 hackykid (svn r2428) - Feature: [newgrf] Implement shorter train vehicles (Therax), and the callback that goes with it.
Mon, 06 Jun 2005 00:19:24 +0000 hackykid (svn r2414) - Feature: [newgrf] Implement powered wagons, and the callback that goes with it.
Sun, 05 Jun 2005 15:37:00 +0000 hackykid (svn r2411) - Codechange: Have trains cache stuff like consist power/weight/max speed instead of recalculating it each time.
Sat, 14 May 2005 19:25:18 +0000 Darkvater (svn r2308) - Fix: enforce server-only and/or offline commands by giving them flags in the process table. This also fixes bug "[ 1190944 ] Many commands not checked for security"
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 23:46:01 +0000 Darkvater (svn r2300) - CodeChange: check the last number of commands, now only the refit ones remain, and some server-only 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% :)
Fri, 06 May 2005 16:13:44 +0000 Darkvater (svn r2274) - Codechange: some comments, parentheses and EngineID typedef for engine_type
Thu, 05 May 2005 20:44:52 +0000 Darkvater (svn r2269) - CodeChange: no else after return; exchange some magic 0xffff with INVALID_VEHICLE, vehicle index is of type VehicleID
Wed, 04 May 2005 22:13:07 +0000 matthijs (svn r2267) - Codechange: Reverted the typedeffing of VehicleType (r2256), since that interfered with the saveload code.
Mon, 02 May 2005 23:59:11 +0000 matthijs (svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
Wed, 30 Mar 2005 09:25:20 +0000 truelight (svn r2109) -Fix: use FindVehicleOnTileZ(tile, 0) over FindVehicleBetween(tile, tile, 0)
Tue, 29 Mar 2005 11:19:10 +0000 celestar (svn r2105) -Codechange: Added a cache for the first vehicle of a chain to increase performance, especially with many long trains
Sun, 27 Mar 2005 16:40:01 +0000 tron (svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile()
Thu, 24 Mar 2005 17:03:37 +0000 truelight (svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.h
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.