vehicle.c
Wed, 28 Sep 2005 19:35:36 +0000 tron (svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
Tue, 27 Sep 2005 19:16:37 +0000 peter1138 (svn r2993) Fix: Reset aircraft images differently. Fixes assertion introduced in r2991.
Mon, 26 Sep 2005 20:32:13 +0000 peter1138 (svn r2991) Reset vehicle images on game load. Allows savegames with NewGRFs saved prior to r2868 to load.
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
Wed, 14 Sep 2005 18:03:38 +0000 Darkvater (svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
Sat, 03 Sep 2005 19:22:56 +0000 bjarni (svn r2912) -Fix: [autorenew]: fixed issue where autorenewed vehicles didn't get all stats updated (peter1138)
Mon, 08 Aug 2005 21:35:27 +0000 tron (svn r2845) Remove sprite size caching, it was unused
Sat, 06 Aug 2005 19:12:44 +0000 bjarni (svn r2820) -Fix: [autoreplace] fixed issue introduced in 2817 where autoreplace failed if new engine is cheaper than the old one (peter1138)
Sat, 06 Aug 2005 17:40:21 +0000 tron (svn r2819) Make variables, which are exclusive for internal use of the save/load code, static in saveload.c
Sat, 06 Aug 2005 16:07:22 +0000 bjarni (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to serverside
Mon, 01 Aug 2005 16:31:19 +0000 ludde (svn r2781) Fix some of the issues with variables in .h files.
Mon, 01 Aug 2005 12:55:21 +0000 bjarni (svn r2779) -Fix: [clone vehicles] fixed typos, which could lead to crashes when cloning refitted trains (chrishuebsch)
Sun, 31 Jul 2005 13:08:08 +0000 bjarni (svn r2764) -Feature: Clone vehicles
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 22:05:13 +0000 celestar (svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
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
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.
Sun, 17 Jul 2005 12:44:35 +0000 ludde (svn r2600) Fix: [vehicles] Fix problem with vehicle loop not distributing the calls evenly over the day.
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().
Sun, 26 Jun 2005 21:59:21 +0000 celestar (svn r2491) -Fix: Solved a performance problem introduced in r2467. While busy
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, 21 Jun 2005 16:28:17 +0000 celestar (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Mon, 20 Jun 2005 20:09:46 +0000 tron (svn r2465) Remove some unreachable code
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.
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[]
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 14:26:15 +0000 hackykid (svn r2423) - CodeChange: Include first_engine in the train cache, instead of calculating it all over the place.
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.
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Mon, 30 May 2005 22:16:05 +0000 Darkvater (svn r2387) - CodeChange: made the saveload code more readable and also removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big.
Tue, 17 May 2005 20:58:58 +0000 Darkvater (svn r2345) - Fix: Don't allow stuff to be renamed to nothing if we don't support it. Only valid ones are signs (delete) and waypoints (rename to default).
Sun, 15 May 2005 18:50:55 +0000 tron (svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
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.
Thu, 12 May 2005 00:11:37 +0000 Darkvater (svn r2297) - CodeChange: server-check the next batch of commands.
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% :)
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
Tue, 03 May 2005 20:45:23 +0000 matthijs (svn r2262) - Fix: Assertion when vehicle in a depot wants to do pathfinding.
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)
Sun, 01 May 2005 15:13:39 +0000 bjarni (svn r2239) -Fix [autoreplace]: [ 1185653 ] autoreplacing a dualheaded engine into a singleheaded engine is no longer a potiontial crash
Fri, 08 Apr 2005 15:40:44 +0000 bjarni (svn r2167) -fix: [autoreplace] trains now get the default cargo type if the engine
Wed, 06 Apr 2005 15:39:18 +0000 truelight (svn r2156) -Fix: in revision 2104 someone forgot to add a very important check in
Sun, 03 Apr 2005 09:38:13 +0000 bjarni (svn r2139) -fix: "[ 1146215 ] Engine power not updated w/auto replace" autoreplace now forces an update of the cache. It should not affect gameplay as the
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
Tue, 29 Mar 2005 08:37:44 +0000 tron (svn r2104) Simplify implementation of Get{First,Prev}VehicleInChain() and remove a pointless check
Thu, 24 Mar 2005 17:03:37 +0000 truelight (svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.h
Thu, 24 Mar 2005 15:15:06 +0000 truelight (svn r2045) -Fix: hopefully fixed the desync problem. Please all test this revision!!
Thu, 24 Mar 2005 13:59:44 +0000 truelight (svn r2041) -Fix: not all vehicles did get a day_proc call (because of rounding errors)
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.
Wed, 09 Mar 2005 21:54:52 +0000 tron (svn r1979) Const correctness
Tue, 22 Feb 2005 12:48:03 +0000 tron (svn r1898) Remove some unused macros from macros.h and move some others to more appropriate headers
Mon, 14 Feb 2005 20:34:31 +0000 tron (svn r1875) Effect vehicle overhaul: enumerate sprites, descriptive names for functions and miscellaneous improvements