Commit Graph

704 Commits (8c9e267edc6d8324a0c3a20452f35acd7c7ba7ef)

Author SHA1 Message Date
frosch 00981908d0 (svn r27138) -Fix: [NewGRF] Negative positions in industry layouts were interpreted incorrectly; however since the wrong behaviour is saner, define as the correct behaviour for GRFv8. 10 years ago
frosch e5a8f6e7d4 (svn r27119) -Fix: Action 7/9 condition 0A failed for present, but disabled, NewGRF. 10 years ago
peter1138 2655de52d7 (svn r26990) -Feature: Add option to choose normal, double or quad-size interface. 10 years ago
rubidium d17a4e0918 (svn r26884) -Change: scale the NewGRF's snow line level according to the configured maximum map height 10 years ago
rubidium 6592da4952 (svn r26869) -Add: support for an all black palette to prevent the need of having a black tile of all different slopes (ic111) 10 years ago
rubidium 034735a54c (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 10 years ago
rubidium b886c8db8c (svn r26506) -Codechange: replace most of vsnprintf with vseprintf 10 years ago
rubidium 2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
rubidium 101b982263 (svn r26475) -Fix: potentially undefined shifts in NewGRF code 10 years ago
planetmaker c10662e4cc (svn r26458) -Doc: Correct a few spelling mistakes (__ln__) 10 years ago
frosch cc0d263d96 (svn r26245) -Codechange: No need for a map, if a vector suffices. 11 years ago
frosch 3a1fcd76dd (svn r26243) -Cleanup: Move TTDPStringIDToOTTDStringIDMapping to newgrf.cpp, it's only used there. 11 years ago
rubidium a498a56573 (svn r26130) -Codechange: add some guards against using invalid image indices 11 years ago
rubidium 5eb7aea386 (svn r26069) -Fix: missing break in NewGRF object handling 11 years ago
rubidium 5b6a15f879 (svn r26067) -Fix: possible NULL dereference when getting NewGRF version 11 years ago
rubidium 8d97a5498b (svn r25961) -Fix [FS#5779]: [NewGRF] A powered rail type implies it is 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 11 years ago
planetmaker 5f9b8e4e8e (svn r25878) -Feature: [NewGRF] Object property 0x18 to allow specifying the number of objects of that type being placed upon map creation 11 years ago
frosch 0f1bc090a0 (svn r25842) -Codechange: Rename MAX_STATIONS to NUM_STATIONS_PER_GRF. 11 years ago
frosch 39f2f92eeb (svn r25841) -Codechange: Use NUM_AIRPORTTILES_PER_GRF instead of 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.
11 years ago
frosch 62d18c52c3 (svn r25840) -Codechange: Use NUM_AIRPORTS_PER_GRF instead of NUM_AIRPORTS to properly distinguish limits per NewGRF and limits of the pool. 11 years ago
frosch 210fda2141 (svn r25839) -Codechange: Use NUM_HOUSES_PER_GRF instead of NUM_HOUSES to 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.
11 years ago
frosch 670c4879cf (svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES. 11 years ago
frosch 7164124101 (svn r25837) -Codechange: Use NUM_INDUSTRYTILES_PER_GRF instead of 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.
11 years ago
frosch c60ee14280 (svn r25836) -Codechange: Use NUM_INDUSTRYTYPES_PER_GRF instead of NUM_INDUSTRYTYPES to properly distinguish limits per NewGRF and limits of the pool. 11 years ago
frosch 2bfa36cc16 (svn r25834) -Codechange: Use NUM_OBJECTS_PER_GRF instead of NUM_OBJECTS to 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.
11 years ago
rubidium c702853917 (svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753) 11 years ago
rubidium 2b2706009e (svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w 11 years ago
rubidium 2a6d21dc80 (svn r25262) -Feature: linkgraph overlay for smallmap 11 years ago
frosch e514070b80 (svn r25230) -Feature: [NewGRF] Expose sprite base of foundation and shore sprites via Action D Game Variables. 11 years ago
frosch 789e4a8998 (svn r25115) -Fix (r8973) [FS#5492-ish]: [NewGRF] Acceleration of NewGRF 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. 11 years ago
frosch 2ae1b438ec (svn r25099) -Fix [FS#5492]: Limit aircraft property 0D to 19, since the conversion result to km-ish/h needs to fit into a byte. 11 years ago
planetmaker 7aa0712644 (svn r25072) -Codechange: Don't require the custom currency to be the last defined one 11 years ago
peter1138 a1909c4ccd (svn r24919) -Codechange: Remove useless noisy grf debug messages. 12 years ago
peter1138 1e10e91fde (svn r24905) -Feature(ish): Implement station randomisation triggers. 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch 22b46e265e (svn r24821) -Add: When using a non-release version of OpenTTD and the basegraphics are missing some sprites, also suggest to use a non-release version of the basegraphics. 12 years ago
frosch 76fef0843c (svn r24790) -Remove: Classic difficulty profiles. 12 years ago
alberth 6c6abd87db (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 12 years ago
frosch d9037b77a9 (svn r24438) -Fix [FS#5256-ish]: Make (non-refittable) vehicles with invalid default cargo unavailable. 12 years ago
alberth 67f599f9db (svn r24395) -Doc: Fixed argument references in @param descriptions. 12 years ago
frosch ca1bb53d22 (svn r24369) -Fix (r24361): Unused stuff is unused. 12 years ago
frosch 4a3d484a96 (svn r24361) -Fix [FS#5227] (r22926): Apparently ext. A1 did not work at all. (Hirundo) 12 years ago
frosch 798626ce47 (svn r24278) -Codechange: Deduplicate code to read translation tables. 12 years ago
frosch 166c82915e (svn r24277) -Codechange: Store cargo and railtype translation tables in a SmallVector. 12 years ago
frosch 2463525bf5 (svn r24276) -Codechange: Enhance GRFFile with constructor and destructor. 12 years ago
frosch e4d3f777ec (svn r24272) -Fix: [NewGRF] Load cargo- and railtype-translation during both reservation and activation stage. That way they can be selected using Action7 depending on present cargo- or railtypes. 12 years ago
frosch 70b2c96c8b (svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so. 12 years ago
frosch d42bd940b2 (svn r24162) -Codechange: Remove NewGRFClass::GetName() and SetName() in favour of using Get() and direct member access (which is needed anyway for GRF string resolving). 12 years ago
rubidium 1d95485838 (svn r24063) -Fix [FS#5125]: with certain versions of GCC and compiler flags the compiler could reorder some code badly causing the 32bpp depot flag not working 12 years ago
frosch 91e8aa00b1 (svn r24052) -Fix (r23883) [FS#5107]: Imported GRF sounds were inserted into the wrong slots. 12 years ago