engine.c
Tue, 26 Dec 2006 17:36:18 +0000 Darkvater (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
Sun, 09 Sep 2007 22:35:21 +0000 rubidium (svn r11077) [0.5] -Fix: Possible NULL pointer dereference. 0.5
Tue, 15 May 2007 21:24:18 +0000 rubidium (svn r9849) [0.5] -Backport from trunk (r9693, r9694, r9697, r9718, r9719, r9725 and 9726): 0.5
Mon, 19 Mar 2007 19:22:26 +0000 rubidium (svn r9343) [0.5] -Backport from trunk (r9000, r9001, r9097, r9137): 0.5
Sun, 03 Dec 2006 17:27:43 +0000 matthijs (svn r7331) - Codechange: Rename all memory pool macro's and types to "old pool", so the new pool implementation can be committed alongside it.
Sun, 03 Dec 2006 15:48:21 +0000 peter1138 (svn r7330) -Fix (r7304): Data invalidation doesn't always happen as the local
Mon, 06 Nov 2006 10:11:03 +0000 peter1138 (svn r7079) -Codechange: Move an array to the only place it is used.
Sat, 28 Oct 2006 11:08:52 +0000 tron (svn r6977) Use the pool macros for the EngineRenew pool
Sat, 14 Oct 2006 15:49:43 +0000 Darkvater (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and
Sat, 14 Oct 2006 15:15:56 +0000 Darkvater (svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and
Tue, 10 Oct 2006 08:14:30 +0000 bjarni (svn r6714) -Codechange: replaced a direct manipulation of windows with InvalidateWindowData() in rail_cmd.c
Sat, 07 Oct 2006 15:04:22 +0000 bjarni (svn r6681) -Fix: when vehicles never expire they will stay at peak reliability instead of the lowest to make them useful even when old
Sat, 07 Oct 2006 14:30:13 +0000 bjarni (svn r6680) -Codechange r6679: [train build window] only generate the list when the window data is invalidated or the window is generated, not on each redraw
Mon, 04 Sep 2006 20:40:33 +0000 rubidium (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
Mon, 28 Aug 2006 10:14:37 +0000 rubidium (svn r6195) -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments.
Sat, 26 Aug 2006 14:22:54 +0000 truelight (svn r6137) -Codechange: some very minor cleanups:
Tue, 22 Aug 2006 22:59:42 +0000 glx (svn r6059) -Fix(r6049): FOR_ALL was not use to not skip invalid items, so really don't skip invalid items :)
Tue, 22 Aug 2006 16:22:07 +0000 truelight (svn r6049) -Codechange: forgot EngineRenew in r6047
Tue, 22 Aug 2006 15:33:35 +0000 truelight (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
Tue, 22 Aug 2006 14:38:37 +0000 rubidium (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Sun, 20 Aug 2006 18:40:57 +0000 rubidium (svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
Sun, 20 Aug 2006 12:39:17 +0000 rubidium (svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the functions really depend on the original date format.
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Thu, 17 Aug 2006 20:22:35 +0000 rubidium (svn r5934) -Cleanup: forgot some conversions to Year and to Date
Wed, 16 Aug 2006 11:39:55 +0000 rubidium (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Wed, 26 Jul 2006 03:33:12 +0000 belugas (svn r5609) CodeChange : Apply coding style
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Thu, 18 May 2006 02:43:23 +0000 belugas (svn r4902) Newgrf : Introduction of the newgrf_cargo files.
Wed, 17 May 2006 21:26:12 +0000 peter1138 (svn r4901) - Codechange: change 'SpriteGroup *' to 'struct SpriteGroup *' within StationSpec and GRFFile struct declarations. Now only code which actually references those pointers needs to know about the SpriteGroup struct. Remove some unnecessary lingering header dependencies.
Tue, 18 Apr 2006 18:48:50 +0000 peter1138 (svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
Mon, 10 Apr 2006 07:15:58 +0000 tron (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
Thu, 16 Mar 2006 00:20:33 +0000 Darkvater (svn r3895) - Add proper SLE(G)_CONDNULL macros for the empty space reservation in savegames and update where used
Mon, 20 Feb 2006 19:43:26 +0000 Darkvater (svn r3627) - Change all hardcoded 255 max-saveload versions with the define SL_MAX_VERSION
Mon, 06 Feb 2006 10:05:41 +0000 peter1138 (svn r3565) - Fix: On loading a game, GetPlayerRailtypes() didn't account for the fact that vehicles are introduced a year after their introduction date. This will also relieve possible (rare) network desyncs.
Fri, 03 Feb 2006 12:55:21 +0000 peter1138 (svn r3524) - Split newgrf features from engine.[ch] into newgrf_engine.[ch], and add the new files to project files.
Wed, 01 Feb 2006 06:32:03 +0000 tron (svn r3510) Fiddle with whitespace and parentheses
Tue, 24 Jan 2006 07:41:28 +0000 peter1138 (svn r3423) - NewGRF: Update the base_intro age at which an engine will have a randomized intro date, as per (the now updated) spec.
Thu, 19 Jan 2006 18:33:20 +0000 peter1138 (svn r3410) - NewGRF fix: Only add a random number of days to an engine's base introduction date if that date is not 0.
Thu, 12 Jan 2006 15:52:18 +0000 peter1138 (svn r3396) - Autoreplace changes:
Fri, 06 Jan 2006 22:49:00 +0000 peter1138 (svn r3378) - NewGRF Fix: Use order status to determine whether a vehicle is loading instead
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Sun, 18 Dec 2005 14:03:28 +0000 peter1138 (svn r3316) - NewGRF: Unload engine names before loading grf files. This fixes names in climates where the engines don't get loaded. Renamed function to reflect its purpose.
Thu, 15 Dec 2005 17:55:59 +0000 tron (svn r3308) BAD
Fri, 02 Dec 2005 14:55:23 +0000 peter1138 (svn r3252) - NewGRF: Map new train subtypes to old types for rail vehicles.
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Sun, 06 Nov 2005 13:42:26 +0000 peter1138 (svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.
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