vehicle.c
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
Mon, 24 Jan 2005 18:21:23 +0000 bjarni (svn r1640) fix: now helicopters will use a hangar in schedule to be replaced in, even if they are only set to service there. Since helicopters are serviced at helipads, they will only go there if they needs to be replaced or renewed.
Sun, 23 Jan 2005 22:01:51 +0000 bjarni (svn r1629) added a counter to tell how many engines you have of each type to the autoreplace vehicle windows and made them show only the vehicles you actually have in the left list.
Sun, 23 Jan 2005 13:30:02 +0000 truelight (svn r1612) -Fix: made sure that ->next pointers are set to NULL
Sun, 23 Jan 2005 13:09:35 +0000 tron (svn r1610) Remove trailing whitespace (last time ever, i hope)
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Fri, 21 Jan 2005 19:52:32 +0000 darkvater (svn r1583) -Fix: You should no longer be able to delete bridges on any type of underground when there is a vehicle on it
Wed, 19 Jan 2005 19:32:33 +0000 darkvater (svn r1569) -Fix: signed/unsigned mismatch
Wed, 19 Jan 2005 19:15:03 +0000 bjarni (svn r1568) made an enum of train subtypes to make the code more readable
Wed, 19 Jan 2005 05:55:30 +0000 tron (svn r1564) ISO C90 forbids mixed declarations and code (bad bjarni, no cookie)
Wed, 19 Jan 2005 01:18:29 +0000 bjarni (svn r1563) fix: autoreplaced trains now sets wagon override properly