vehicle.c
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
Sun, 13 Feb 2005 11:31:35 +0000 tron (svn r1869) Fix some bugs in the bulldozer movement implementation.
Sun, 13 Feb 2005 11:27:41 +0000 tron (svn r1868) Improve readability of the bulldozer movement code
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*()
Thu, 10 Feb 2005 05:43:30 +0000 tron (svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
Sun, 06 Feb 2005 20:53:31 +0000 tron (svn r1832) Next byte -> char iteration: custom names
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
Fri, 04 Feb 2005 13:23:29 +0000 truelight (svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles)
Wed, 02 Feb 2005 16:16:43 +0000 truelight (svn r1770) -Fix: Hopefully last pieces of code that are containing a station-id
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
Sat, 29 Jan 2005 19:41:44 +0000 celestar (svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on
Sat, 29 Jan 2005 15:12:40 +0000 tron (svn r1718) Use the enum TileType as parameter/return type for [GS]etTileType() instead of plain int.
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
Thu, 27 Jan 2005 12:52:20 +0000 tron (svn r1696) Use GetTileSlope() instead of FindLandscapeHeightByTile() where it is sufficient. FindLandscapeHeightByTile() uses GetTileSlope() internally and adds some more info, which is discarded in these cases.
Wed, 26 Jan 2005 19:43:22 +0000 bjarni (svn r1690) - Fix: [autoreplace] Cheaters can no longer exploit autoreplace to get vehicles, that's not invented yet
Wed, 26 Jan 2005 19:03:01 +0000 bjarni (svn r1687) - Feature: [autoreplace] server now checks for plane<->helicopter replacement and reject replacement if needed
Tue, 25 Jan 2005 21:43:57 +0000 tron (svn r1676) Increase the size of TileIndex and TileIndexDiff to 32bits and adapt the save/load data and some other parts of the code to that change