engine.c
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.
Thu, 03 Nov 2005 18:27:29 +0000 peter1138 (svn r3126) Autoreplace: Only the first vehicle in a chain should be marked as entering a depot, so call moved out of DoVehicleTrigger loop.
Mon, 31 Oct 2005 12:59:47 +0000 bjarni (svn r3111) -Fix: [autoreplace] [ 1341783 ] Assertion failure in vehicle.c line 378
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 11:23:58 +0000 tron (svn r3059) Use bitfields to encode railtype and climates of engines instead of manual shifting/anding
Tue, 04 Oct 2005 21:42:00 +0000 peter1138 (svn r3017) -NewGRF: Implement sprite group unreferencing and unloading.
Tue, 04 Oct 2005 20:58:10 +0000 peter1138 (svn r3016) -NewGRF: Implement the start of reference counting for sprite groups. This will allow unloading.
Tue, 04 Oct 2005 20:38:26 +0000 peter1138 (svn r3015) -NewGRF: Add a new sprite group result type, and support loading of callbacks results within random and "real" groups. (Not fully supported yet.)
Tue, 04 Oct 2005 19:52:26 +0000 peter1138 (svn r3014) -NewGRF, Codechange: Make all sprite group references be pointers instead of copying the data around.
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)
Wed, 28 Sep 2005 19:35:36 +0000 tron (svn r2995) Replace 0xFF/0xFFFF with CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate
Sat, 30 Jul 2005 18:04:49 +0000 tron (svn r2762) Simplify a loop, remove an unused variable and add many consts
Tue, 26 Jul 2005 19:34:03 +0000 tron (svn r2720) Remove unused declarations and definitions
Tue, 26 Jul 2005 19:04:19 +0000 tron (svn r2717) Move _userstring to strings.[ch]
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
Wed, 20 Jul 2005 22:02:58 +0000 celestar (svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
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
Mon, 27 Jun 2005 21:34:31 +0000 hackykid (svn r2494) - Fix: [newgrf] Dont assume a spriteset can only have 4 or 8 sprites.
Tue, 21 Jun 2005 16:28:17 +0000 celestar (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Tue, 07 Jun 2005 18:13:49 +0000 tron (svn r2432) Use GetEngine() instead of DEREF_ENGINE() or even _engines[]
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 05:35:12 +0000 hackykid (svn r2410) - Fix: [newgrf] When resolving callbacks, dont ignore wagon overrides.
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Wed, 01 Jun 2005 11:34:37 +0000 hackykid (svn r2389) - Feature: [newgrf] Implement the mechanism for handling newgrf callbacks.
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.
Sun, 22 May 2005 14:10:20 +0000 hackykid (svn r2361) - Feature: [newgrf] Implement varaction2 property 0x41 and 0xDA. These are the position in and length of chain of consecutive vehicles with the same type, and index of the next wagon in the chain (INVALID_VEHICLE if last), resp. Improves displaying of some engines in the dbsetxl.
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"
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, 25 Mar 2005 16:07:35 +0000 pasky (svn r2064) - Codechange: GetVehicleSpriteGroup() cleanup - drop overriding_engine, which was around probably only for historical reasons. (Paralellily developed by HackyKid.)
Fri, 25 Mar 2005 15:31:01 +0000 pasky (svn r2063) Fix: the 0x40 deterministic spritegroup for vehicles was wrong, modified to match the wiki again. (The wiki was partially wrong, too! ;) (Patch by HackyKid.)
Thu, 24 Mar 2005 14:33:05 +0000 truelight (svn r2043) -Fix: committed too many files in the last commit
Thu, 24 Mar 2005 14:31:27 +0000 truelight (svn r2042) -Fix: forgot to remove a printf ;)
Thu, 10 Mar 2005 07:01:43 +0000 tron (svn r1981) Typedef some structs and enums
Wed, 09 Mar 2005 21:54:52 +0000 tron (svn r1979) Const correctness
Wed, 09 Mar 2005 19:48:20 +0000 Darkvater (svn r1978) - Fix: Plug some memleaks; thanks Valgrind
Sun, 06 Feb 2005 22:25:27 +0000 tron (svn r1833) byte -> char transition: the rest
Sun, 06 Feb 2005 20:53:31 +0000 tron (svn r1832) Next byte -> char iteration: custom names
Sat, 05 Feb 2005 15:58:59 +0000 tron (svn r1803) Move debugging stuff into files of it's own
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)
Sat, 22 Jan 2005 23:11:25 +0000 bjarni (svn r1597) fix: autoreplace vehicle lists are now redrawn when a new vehicle becomes available (thanks LordOfThePigs for pointing this one out)
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, 14 Jan 2005 19:41:24 +0000 tron (svn r1508) Remove duplicate declarations and include proper headers where necessary
Mon, 10 Jan 2005 08:25:43 +0000 tron (svn r1456) Simplify isWagon(), make it static and give it a canonical name (IsWagon)
Sat, 08 Jan 2005 09:48:08 +0000 truelight (svn r1426) -Codechange: cleaned up the reference code in the saveload routines
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Thu, 06 Jan 2005 18:45:28 +0000 tron (svn r1402) Trim trailing whitespace
Sun, 02 Jan 2005 17:23:04 +0000 bjarni (svn r1323) Adding autoreplace feature
Tue, 28 Dec 2004 17:18:46 +0000 bjarni (svn r1290) Added type to typedef struct Engine and filled in the same data as in type in vehicle
Tue, 21 Dec 2004 14:42:06 +0000 truelight (svn r1196) -Fix: Preview Vehicle had a small glitch. Fixed now.
Sun, 05 Dec 2004 12:43:04 +0000 tron (svn r955) Replace uint16 for orders with struct Order
Sat, 04 Dec 2004 17:54:56 +0000 truelight (svn r942) -Merged branch/network back into the trunk
Sat, 04 Dec 2004 15:02:45 +0000 truelight (svn r939) -Fix: Fixed compiler errors
Thu, 25 Nov 2004 10:47:30 +0000 tron (svn r815) Include strings.h only in the files which need it.
Mon, 22 Nov 2004 21:41:25 +0000 pasky (svn r767) Introduce USERSTRING_LEN (128) and try to make sure we don't overflow it anywhere (as long as we keep USERSTRING_LEN above 7 or so).
Wed, 17 Nov 2004 08:52:47 +0000 tron (svn r654) Hopefully complete support for randomized variational spritegroups (i.e. the cars transporter in DBSetXL gets different cars each time) (pasky)