newgrf.c
Thu, 05 Oct 2006 15:07:34 +0000 peter1138 (svn r6654) - Codechange: If no 2cc vehicles are available, hide the secondary colour choice.
Tue, 03 Oct 2006 14:04:43 +0000 peter1138 (svn r6623) - Codechange: When adding a NewGRF string, check to see if it can replace an existing string. Also remove string length check on load which was a quickfix for some grfs.
Wed, 27 Sep 2006 18:46:59 +0000 peter1138 (svn r6533) - Fix (r6532): Somebody forgot to add newsounds to the ttdpatch flags...
Wed, 27 Sep 2006 18:17:01 +0000 peter1138 (svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported.
Wed, 20 Sep 2006 00:34:06 +0000 belugas (svn r6485) -NewGRF Feature: Match the order of TTDPatch's currencies with those used in OTTD.
Fri, 15 Sep 2006 02:52:17 +0000 belugas (svn r6454) -Fix(r6108) : Allow custom currency to display both prefix and suffix
Fri, 01 Sep 2006 02:56:02 +0000 belugas (svn r6289) -Fix(r6108) : case 0x48 (generic text) should not have been set over newstations.
Mon, 28 Aug 2006 18:53:03 +0000 rubidium (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Fri, 25 Aug 2006 19:18:16 +0000 belugas (svn r6131) -Codechange : Complete all missing _ttdpatch_flags entries
Fri, 25 Aug 2006 00:41:10 +0000 belugas (svn r6108) -NewGRF Feature: Implement currencies replacment via grf file.
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.
Sun, 20 Aug 2006 12:09:32 +0000 truelight (svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)
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
Sun, 06 Aug 2006 08:23:19 +0000 tron (svn r5787) Rename width, height and unk of struct DrawTileSeqStruct to size_{x,y,z}
Mon, 31 Jul 2006 22:15:39 +0000 Darkvater (svn r5685) - Codechange: s/FiosCheckFileExists/FioCheckFileExists/ to unify the naming of these functions.
Fri, 14 Jul 2006 17:54:04 +0000 belugas (svn r5496) -CodeChange: Removed two compiler warnings
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Fri, 09 Jun 2006 16:35:07 +0000 peter1138 (svn r5201) - NewGRF: add loading of default refit costs. This information is not yet used
Sun, 04 Jun 2006 18:22:32 +0000 peter1138 (svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type.
Wed, 31 May 2006 17:31:08 +0000 peter1138 (svn r5059) - NewGRF: store a GRFFile pointer reference for each pointer, instead of just the GRF ID.
Tue, 23 May 2006 20:59:01 +0000 peter1138 (svn r4965) - NewGRF: add support for action 0x06 (modify sprite data) for pseudo sprites
Sat, 20 May 2006 18:10:39 +0000 belugas (svn r4928) CodeChange : Rename functions referring to "Vehicle" for "Feature".
Sat, 20 May 2006 08:12:59 +0000 peter1138 (svn r4917) - NewGRF: remove _custom_sprites_base, now used only to rejig vehicle images from ttd games, as we redetermine all vehicle images after game load anyway.
Wed, 17 May 2006 13:05:44 +0000 peter1138 (svn r4897) - NewGRF: don't allow addition of empty strings in action 4
Wed, 17 May 2006 08:20:36 +0000 peter1138 (svn r4896) - NewGRF: add support for vehicle property 0x25 (user defined data) used by variable 0x42.
Sun, 14 May 2006 20:58:12 +0000 peter1138 (svn r4869) - NewGRF: support setting train list vehicle width to 32 instead of 29 pixels, for sets which use 32 pixel long engines/wagons.
Fri, 12 May 2006 00:27:12 +0000 belugas (svn r4838) Newgrf : Add empty base for newcargos
Thu, 11 May 2006 16:27:46 +0000 peter1138 (svn r4832) - NewGRF: add support for original string ID to newgrf text handling. So far, this is used for vehicles when no English or American translation is provided.
Thu, 11 May 2006 12:41:02 +0000 peter1138 (svn r4824) - NewGRF: add support for getting/setting miscellaneous grf flags (param 0x9E)
Thu, 11 May 2006 09:54:11 +0000 peter1138 (svn r4821) - NewGRF: simplify parameter retrieval in Action 0x0D
Wed, 10 May 2006 21:55:44 +0000 peter1138 (svn r4818) - NewGRF: add support for reading another GRF file's parameters, and warn if GRF Resource Management is tried.
Wed, 10 May 2006 21:41:16 +0000 peter1138 (svn r4817) - NewGRF: allow partial support for parameter retrieval in action D.
Wed, 10 May 2006 21:34:57 +0000 peter1138 (svn r4816) - NewGRF: action 7/9 improvements:
Wed, 10 May 2006 06:23:43 +0000 peter1138 (svn r4811) - NewGRF: only check a sprite set's feature when assigning a sprite result sprite group.
Mon, 08 May 2006 10:01:34 +0000 peter1138 (svn r4781) - NewGRF: give _traininfo_vehicle_pitch a proper declaration
Sun, 07 May 2006 17:43:03 +0000 peter1138 (svn r4777) - NewGRF: moving warning message about feature callbacks above station code and change minimum length for action 3 from 7 to 6 bytes.
Sun, 07 May 2006 11:41:44 +0000 peter1138 (svn r4769) - Newstations: add newstations ttdpatch flag
Sun, 07 May 2006 10:58:53 +0000 peter1138 (svn r4767) - Newstations: fix loading / use of custom ground sprites
Sat, 06 May 2006 22:55:21 +0000 peter1138 (svn r4763) - Newstations: revert r4762, instead map bit the palette modifier from bit 14 to bit 31 on GRF load.
Sat, 06 May 2006 22:20:16 +0000 peter1138 (svn r4760) - Newstations: change the way custom stations are allocated when loading from GRF, as the current way was flawed (reallocing memory which is referenced elsewhere)
Sat, 06 May 2006 20:27:32 +0000 peter1138 (svn r4752) - NewGRF: brokenness slipped through...
Sat, 06 May 2006 20:20:02 +0000 peter1138 (svn r4751) - NewGRF: when assigning new texts, ignore the feature byte as some sets use generic feature always. Also, don't add vehicle id shifts if the vehicle id is out of range.
Thu, 04 May 2006 19:15:02 +0000 peter1138 (svn r4738) - Newstations: attach all sprite group cargo types, not just the default and purchase pseudo types, to a station spec.
Wed, 03 May 2006 21:07:44 +0000 peter1138 (svn r4722) - Newstations: release station sprite layout data when uninitializing NewGRF data.
Wed, 03 May 2006 20:42:45 +0000 peter1138 (svn r4720) - Newstations: instead of literally copying sprite layout data, just copy the pointer to the existing data.
Wed, 03 May 2006 20:35:41 +0000 peter1138 (svn r4719) - Newstations: instead of drawing nothing, fall back to the default sprite layout if a station layout specifies so.
Wed, 03 May 2006 19:31:00 +0000 peter1138 (svn r4716) - NewGRF: fix problem with loading custom station class id; use BSWAP32() only on variables, not functions.
Tue, 02 May 2006 21:58:02 +0000 peter1138 (svn r4704) - NewGRF: in Action 0x03, set the engine type's GRF ID on the 'default' cargo type, not for each specific cargo. Fixes '(undefined string)' issues, as some engines weren't set properly.
Tue, 02 May 2006 09:31:59 +0000 peter1138 (svn r4658) - NewGRF: add Action 0xNN comments before each action handler. This mainly aids code navigation...
Tue, 02 May 2006 09:18:51 +0000 peter1138 (svn r4657) - NewGRF: use grf_load_byte() in favour of array accesses
Mon, 01 May 2006 21:47:30 +0000 Darkvater (svn r4655) - Fix [NewGRF r4654]: /me bangs head against the wall....gaah
Mon, 01 May 2006 21:45:35 +0000 Darkvater (svn r4654) - Fix [NewGRF]: Properly read in the GRFID. This fixes GRFID checking and activation/deactivation. Do swap the GRFID for displaying purposes.
Mon, 01 May 2006 18:57:43 +0000 peter1138 (svn r4652) - NewGRF: support loading of foundation and canal graphics from NewGRF files via action 5
Mon, 01 May 2006 16:54:18 +0000 peter1138 (svn r4651) - NewGRF: support loading of catenary sprites from NewGRF files. This actually works by replacing our hardcoded sprites.
Mon, 01 May 2006 16:52:43 +0000 peter1138 (svn r4650) - NewGRF: use the correct type for _cur_spriteid
Mon, 01 May 2006 12:07:44 +0000 peter1138 (svn r4645) - NewGRF: pretend to be the last alpha version of TTDPatch in our version value.
Sun, 30 Apr 2006 18:41:16 +0000 peter1138 (svn r4632) - NewGRF: support loading of helicopter rotor sprites (mart3p)
Sun, 30 Apr 2006 18:39:31 +0000 peter1138 (svn r4631) - NewGRF: fix incorrect length check
Thu, 27 Apr 2006 18:28:56 +0000 belugas (svn r4593) CodeChange : Renamed spec (when using StationSpec) to statspec.