summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2014-09-21(svn r26884) -Change: scale the NewGRF's snow line level according to the ↵rubidium
configured maximum map height
2014-09-21(svn r26869) -Add: support for an all black palette to prevent the need of ↵rubidium
having a black tile of all different slopes (ic111)
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-24(svn r26506) -Codechange: replace most of vsnprintf with vseprintfrubidium
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-20(svn r26475) -Fix: potentially undefined shifts in NewGRF coderubidium
2014-04-12(svn r26458) -Doc: Correct a few spelling mistakes (__ln__)planetmaker
2014-01-12(svn r26245) -Codechange: No need for a map, if a vector suffices.frosch
2014-01-12(svn r26243) -Cleanup: Move TTDPStringIDToOTTDStringIDMapping to newgrf.cpp, ↵frosch
it's only used there.
2013-11-26(svn r26130) -Codechange: add some guards against using invalid image indicesrubidium
2013-11-23(svn r26069) -Fix: missing break in NewGRF object handlingrubidium
2013-11-23(svn r26067) -Fix: possible NULL dereference when getting NewGRF versionrubidium
2013-11-09(svn r25961) -Fix [FS#5779]: [NewGRF] A powered rail type implies it is ↵rubidium
compatible as well, but some NewGRF didn't state that causing the path reservation code to bail out in some cases because there wasn't a compatible path
2013-10-17(svn r25878) -Feature: [NewGRF] Object property 0x18 to allow specifying the ↵planetmaker
number of objects of that type being placed upon map creation
2013-10-12(svn r25842) -Codechange: Rename MAX_STATIONS to NUM_STATIONS_PER_GRF.frosch
2013-10-12(svn r25841) -Codechange: Use NUM_AIRPORTTILES_PER_GRF instead of ↵frosch
NUM_AIRPORTTILES to properly distinguish limits per NewGRF and limits of the pool. -Change: [NewGRF] Lower the limit of airport tile types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12(svn r25840) -Codechange: Use NUM_AIRPORTS_PER_GRF instead of NUM_AIRPORTS ↵frosch
to properly distinguish limits per NewGRF and limits of the pool.
2013-10-12(svn r25839) -Codechange: Use NUM_HOUSES_PER_GRF instead of NUM_HOUSES to ↵frosch
properly distinguish limits per NewGRF and limits of the pool. -Change: [NewGRF] Lower the limit of house types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.frosch
2013-10-12(svn r25837) -Codechange: Use NUM_INDUSTRYTILES_PER_GRF instead of ↵frosch
NUM_INDUSTRYTILES to properly distinguish limits per NewGRF and limits of the pool. -Change: [NewGRF] Lower the limit of industry tile types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-10-12(svn r25836) -Codechange: Use NUM_INDUSTRYTYPES_PER_GRF instead of ↵frosch
NUM_INDUSTRYTYPES to properly distinguish limits per NewGRF and limits of the pool.
2013-10-12(svn r25834) -Codechange: Use NUM_OBJECTS_PER_GRF instead of NUM_OBJECTS to ↵frosch
properly distinguish limits per NewGRF and limits of the pool. -Change: [NewGRF] Lower the limit of object types per NewGRF from 256 to 255 to prevent usage of ID 0xFF in Action3, and thus allowing it to become an extended byte somewhen.
2013-08-09(svn r25705) -Fix: a number of typos (inspired by ↵rubidium
90c920601c84975acb694f3673e2beb08b013753)
2013-06-01(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; ↵rubidium
quite boring with -x -w
2013-05-19(svn r25262) -Feature: linkgraph overlay for smallmaprubidium
2013-05-07(svn r25230) -Feature: [NewGRF] Expose sprite base of foundation and shore ↵frosch
sprites via Action D Game Variables.
2013-03-22(svn r25115) -Fix (r8973) [FS#5492-ish]: [NewGRF] Acceleration of NewGRF ↵frosch
aircraft was too fast, while acceleration of default aircraft was way too slow. I.e. choose wisely who to let write the software for your orbiter.
2013-03-17(svn r25099) -Fix [FS#5492]: Limit aircraft property 0D to 19, since the ↵frosch
conversion result to km-ish/h needs to fit into a byte.
2013-03-09(svn r25072) -Codechange: Don't require the custom currency to be the last ↵planetmaker
defined one
2013-01-17(svn r24919) -Codechange: Remove useless noisy grf debug messages.peter1138
2013-01-11(svn r24905) -Feature(ish): Implement station randomisation triggers.peter1138
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-14(svn r24821) -Add: When using a non-release version of OpenTTD and the ↵frosch
basegraphics are missing some sprites, also suggest to use a non-release version of the basegraphics.
2012-12-05(svn r24790) -Remove: Classic difficulty profiles.frosch
2012-09-21(svn r24535) -Doc: Two additions, lots of small spelling fixes, and some ↵alberth
Doxygen improvements.
2012-07-27(svn r24438) -Fix [FS#5256-ish]: Make (non-refittable) vehicles with invalid ↵frosch
default cargo unavailable.
2012-07-10(svn r24395) -Doc: Fixed argument references in @param descriptions.alberth
2012-07-02(svn r24369) -Fix (r24361): Unused stuff is unused.frosch
2012-06-29(svn r24361) -Fix [FS#5227] (r22926): Apparently ext. A1 did not work at ↵frosch
all. (Hirundo)
2012-05-25(svn r24278) -Codechange: Deduplicate code to read translation tables.frosch
2012-05-25(svn r24277) -Codechange: Store cargo and railtype translation tables in a ↵frosch
SmallVector.
2012-05-25(svn r24276) -Codechange: Enhance GRFFile with constructor and destructor.frosch
2012-05-25(svn r24272) -Fix: [NewGRF] Load cargo- and railtype-translation during both ↵frosch
reservation and activation stage. That way they can be selected using Action7 depending on present cargo- or railtypes.
2012-05-01(svn r24194) -Change: Rename the 'signal_side' setting to ↵frosch
'train_signal_side', and add a third option while doing so.
2012-04-22(svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in ↵frosch
favour of using Get() and direct member access (which is needed anyway for GRF string resolving).
2012-03-25(svn r24063) -Fix [FS#5125]: with certain versions of GCC and compiler flags ↵rubidium
the compiler could reorder some code badly causing the 32bpp depot flag not working
2012-03-19(svn r24052) -Fix (r23883) [FS#5107]: Imported GRF sounds were inserted into ↵frosch
the wrong slots.
2012-03-19(svn r24051) -Fix: Comment.frosch
2012-03-19(svn r24050) -Fix: Realsprites inside the action 11 block were not skipped ↵frosch
correctly.
2012-02-16(svn r23960) -Fix/Change: [NewGRF] Make the properties for always/never ↵frosch
refittable cargo types not behave incremental, but reset them on reassignment.