src/newgrf.cpp
Sat, 13 Dec 2008 19:43:57 +0000 frosch (svn r14674) -Fix (r4965): Check sprite size when executing action 6.
Tue, 30 Sep 2008 20:51:04 +0000 rubidium (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
Wed, 03 Sep 2008 07:51:07 +0000 rubidium (svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
Tue, 02 Sep 2008 20:01:18 +0000 frosch (svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff.
Tue, 02 Sep 2008 18:45:15 +0000 rubidium (svn r14229) -Feature: allow overriding the palette of the base GRFs. This way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported.
Sun, 31 Aug 2008 16:41:27 +0000 peter1138 (svn r14203) -Codechange: [NewGRF] Disable a GRF if it contains an unknown property, or tries to assign an invalid ID.
Sun, 31 Aug 2008 15:46:14 +0000 peter1138 (svn r14202) -Codechange: [NewGRF] Give more meaningful output if a house/industry/industrytile is undefined in action 3, and continue processing remaining IDs.
Sun, 31 Aug 2008 15:26:46 +0000 peter1138 (svn r14201) -Codechange: [NewGRF] Don't continue processing an Action 0 if we didn't read the data for a property -- the data will be wrong for subsequent reads.
Sun, 31 Aug 2008 10:50:05 +0000 rubidium (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
Sun, 31 Aug 2008 09:52:47 +0000 peter1138 (svn r14198) -Codechange: [NewGRF] Simplify handling of common vehicle properties.
Sat, 30 Aug 2008 09:46:52 +0000 rubidium (svn r14191) -Codechange: unify the code to skip sprite payload (i.e. not the header).
Sat, 30 Aug 2008 09:01:05 +0000 peter1138 (svn r14189) -Fix (r14188): Accidental line removal
Sat, 30 Aug 2008 08:59:55 +0000 peter1138 (svn r14188) -Codechange: [NewGRF] Cargo type of 0xFF is specified to be 'use first refittable cargo', so don't issue a warning for it.
Fri, 29 Aug 2008 20:03:51 +0000 peter1138 (svn r14184) -Codechange: [NewGRF] Since our NewGRF handling is better than it used to be, disable a NewGRF if unexpected sprites are reached.
Thu, 28 Aug 2008 19:53:25 +0000 peter1138 (svn r14182) -Fix: After applying NewGRF settings, all rail and road types were available as the engine availability check was performed too early.
Mon, 25 Aug 2008 20:10:45 +0000 smatz (svn r14174) -Fix: since now, we are 'losing' things, not 'loosing'
Mon, 25 Aug 2008 17:16:27 +0000 belugas (svn r14172) -Feature[newGRF]: Add support for property 0x13 for Bridges.
Sun, 24 Aug 2008 23:10:23 +0000 peter1138 (svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct.
Sun, 24 Aug 2008 23:00:11 +0000 peter1138 (svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
Sat, 23 Aug 2008 20:16:54 +0000 rubidium (svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs.
Tue, 19 Aug 2008 09:08:45 +0000 rubidium (svn r14102) -Fix [FS#1986]: make NewGRF action 0x06's changes persistent over the several loading stages.
Fri, 15 Aug 2008 17:54:43 +0000 peter1138 (svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is.
Wed, 30 Jul 2008 18:23:12 +0000 frosch (svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
Wed, 30 Jul 2008 17:06:17 +0000 frosch (svn r13881) -Cleanup (r12751): Remove some dead code.
Sat, 26 Jul 2008 07:43:20 +0000 peter1138 (svn r13831) -Codechange: Make purchase list order NewGRF property an extended byte.
Mon, 21 Jul 2008 14:42:25 +0000 peter1138 (svn r13774) -Codechange: Add support for changing vehicle purchase list position for all vehicle types.
Sun, 20 Jul 2008 21:23:28 +0000 peter1138 (svn r13761) -Codechange: Remove dependency on rail for altering purchase list position (mostly function renaming)
Fri, 04 Jul 2008 18:42:04 +0000 rubidium (svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels.
Fri, 20 Jun 2008 21:14:10 +0000 frosch (svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', 'leap year' and 'day of year'.
Thu, 19 Jun 2008 10:20:45 +0000 rubidium (svn r13576) -Codechange: disable static NewGRFs when non-static NewGRFs query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF.
Thu, 12 Jun 2008 09:25:04 +0000 peter1138 (svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles
Wed, 11 Jun 2008 14:55:02 +0000 rubidium (svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future.
Wed, 11 Jun 2008 13:54:01 +0000 rubidium (svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
Tue, 10 Jun 2008 21:59:22 +0000 smatz (svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
Tue, 10 Jun 2008 00:42:19 +0000 belugas (svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house.
Thu, 05 Jun 2008 20:54:52 +0000 glx (svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
Thu, 05 Jun 2008 12:08:20 +0000 peter1138 (svn r13388) -Codechange: Remove "my invented flag for something that is a wagon"
Wed, 04 Jun 2008 00:17:48 +0000 belugas (svn r13376) -Feature: Add access to current long year and date from Action 7/9/D and VarAction2 (23/24 or A3/A4)
Tue, 03 Jun 2008 12:11:16 +0000 peter1138 (svn r13374) -Fix (r13364): Some common compilers do not yet support 9 year old specifications.
Tue, 03 Jun 2008 10:22:42 +0000 peter1138 (svn r13372) -Cleanup: Excessive whitespace
Tue, 03 Jun 2008 09:58:13 +0000 peter1138 (svn r13371) -Fix (r4510 ... r12924): Engine array size is not related to the ID used when setting a vehicle's name (it is vehicle type specific). Instead just test for a generic string.
Tue, 03 Jun 2008 03:06:16 +0000 belugas (svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date
Mon, 02 Jun 2008 19:52:41 +0000 peter1138 (svn r13364) -Codechange: Refactor action 3 mapping to use grf_load_*() instead of direct byte array access.
Mon, 02 Jun 2008 19:35:30 +0000 peter1138 (svn r13363) -Codechange: Code duplication tidy up
Thu, 29 May 2008 15:13:28 +0000 rubidium (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
Tue, 27 May 2008 21:41:00 +0000 rubidium (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
Sun, 25 May 2008 22:36:44 +0000 rubidium (svn r13255) -Codechange: move _opt to _settings.
Sun, 25 May 2008 19:17:03 +0000 rubidium (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
Sat, 24 May 2008 02:54:47 +0000 belugas (svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
Tue, 13 May 2008 20:39:57 +0000 peter1138 (svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly.
Thu, 08 May 2008 13:20:54 +0000 glx (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
Tue, 06 May 2008 17:24:27 +0000 peter1138 (svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites...
Tue, 06 May 2008 15:11:33 +0000 rubidium (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
Mon, 05 May 2008 19:02:10 +0000 peter1138 (svn r12958) -Codechange: Allocate sprites reserved by GRM in advance of 'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded.
Mon, 05 May 2008 02:02:32 +0000 belugas (svn r12950) -Fix: two includes is one too much
Sun, 04 May 2008 21:53:36 +0000 smatz (svn r12944) -Codechange: use rev.h instead of externs at many places
Wed, 30 Apr 2008 17:42:08 +0000 peter1138 (svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.
Tue, 29 Apr 2008 21:31:29 +0000 peter1138 (svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
Tue, 22 Apr 2008 18:20:41 +0000 peter1138 (svn r12839) -Codechange: Allocate temporary engine data when loading GRFs as needed instead of statically.
Sat, 19 Apr 2008 23:19:12 +0000 peter1138 (svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes)