summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
2018-03-06(svn r27974) -Fix (r27907) [FS#6627]: free() called on static airport ↵peter1138
rotation data (JGR)
2017-08-31(svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be ↵adf88
sure that they are really constant
2017-08-31(svn r27907) -Fix: AirportSpec::rotation was memleakingadf88
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-03-05(svn r27769) -Change: [NewGRF] Extend the DCxx range to D800-DFFF.frosch
2017-03-05(svn r27768) -Codechange: Use if and IsInsideMM instead of switch-case ↵frosch
sequences to test for consecutive values.
2017-03-05(svn r27767) -Codechange: Industries and houses should just use the ↵frosch
default-case in Action 4.
2017-03-05(svn r27766) -Fix: Obiwan opposed translations for text id D3FF and DCFF in ↵frosch
Action 13.
2017-01-14(svn r27732) -Change: Turn the message about 'missing baseset sprites' from ↵frosch
a popup into a static message that only shows in non-release versions, just like the 'missing translations' message.
2017-01-14(svn r27730) -Change: Split openttd.grf into openttd.grf and orig_extra.grffrosch
openttd.grf is now always loaded and provides all extra graphics in case the (possibly outdated) baseset does not. orig_extra.grf contains graphics specific to the original baseset only.
2017-01-14(svn r27729) -Codechange: Do not count static NewGRF when checking for the ↵frosch
maximum number of NewGRFs in a game. -Codechange: Remove LAST_GRF_SLOT and MAX_NEWGRFS. Now NETWORK_MAX_GRF_COUNT is the only constant to specify the maximum number of non-static NewGRF. -Codechange: Increase the number of file slots, effectively increasing the maximum number of static NewGRF and baseset GRFs.
2017-01-07(svn r27725) -Codechange: Remove IsOpenTTDBaseGRF and test for GCF_CONFIG ↵frosch
instead, which does the same in all use-cases.
2017-01-07(svn r27722) -Fix (r7490): GCF_SYSTEM was never set correctly.frosch
2016-11-05(svn r27676) -Codechange: Rename catenary functions, so that they refer ↵frosch
unambiguously to either RoadCatenary or RailCatenary.
2016-05-11(svn r27560) -Fix: typos in comments and stringmatthijs
2016-02-08(svn r27507) -Add: [NewGRF] Allow custom sound IDs in RV property 0x12, ship ↵frosch
property 0x10 and aircraft property 0x12.
2016-01-13(svn r27497) -Change: [NewGRF] Allow static NewGRF to enable the second ↵frosch
rocky tile set.
2015-02-06(svn r27138) -Fix: [NewGRF] Negative positions in industry layouts were ↵frosch
interpreted incorrectly; however since the wrong behaviour is saner, define as the correct behaviour for GRFv8.
2015-01-17(svn r27119) -Fix: Action 7/9 condition 0A failed for present, but disabled, ↵frosch
NewGRF.
2014-10-11(svn r26990) -Feature: Add option to choose normal, double or quad-size ↵peter1138
interface.
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