Commit Graph

680 Commits

Author SHA1 Message Date
frosch 60f483822f (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.
2013-10-12 16:31:31 +00:00
rubidium 13855f0a09 (svn r25705) -Fix: a number of typos (inspired by 90c920601c84975acb694f3673e2beb08b013753) 2013-08-09 18:43:44 +00:00
rubidium f292a87dc4 (svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w 2013-06-01 07:44:53 +00:00
rubidium 163dfdd34a (svn r25262) -Feature: linkgraph overlay for smallmap 2013-05-19 14:36:35 +00:00
frosch 71cfe3d474 (svn r25230) -Feature: [NewGRF] Expose sprite base of foundation and shore sprites via Action D Game Variables. 2013-05-07 12:38:43 +00:00
frosch 30f601d685 (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. 2013-03-22 21:27:13 +00:00
frosch cf4a2702f8 (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. 2013-03-17 18:31:35 +00:00
planetmaker c22bbf5293 (svn r25072) -Codechange: Don't require the custom currency to be the last defined one 2013-03-09 16:16:17 +00:00
peter1138 506132c051 (svn r24919) -Codechange: Remove useless noisy grf debug messages. 2013-01-17 07:53:17 +00:00
peter1138 c00a400cc7 (svn r24905) -Feature(ish): Implement station randomisation triggers. 2013-01-11 07:39:25 +00:00
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
frosch d7e9c8efed (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. 2012-12-14 20:38:02 +00:00
frosch d1ab0f03bc (svn r24790) -Remove: Classic difficulty profiles. 2012-12-05 19:36:41 +00:00
alberth 0849fb8d36 (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 2012-09-21 09:47:21 +00:00
frosch 13bfb09cbb (svn r24438) -Fix [FS#5256-ish]: Make (non-refittable) vehicles with invalid default cargo unavailable. 2012-07-27 19:16:01 +00:00
alberth 2ab7c82b31 (svn r24395) -Doc: Fixed argument references in @param descriptions. 2012-07-10 18:37:54 +00:00
frosch d56b5783d1 (svn r24369) -Fix (r24361): Unused stuff is unused. 2012-07-02 16:23:24 +00:00
frosch 37d41d4448 (svn r24361) -Fix [FS#5227] (r22926): Apparently ext. A1 did not work at all. (Hirundo) 2012-06-29 15:38:41 +00:00
frosch 5e8151e245 (svn r24278) -Codechange: Deduplicate code to read translation tables. 2012-05-25 21:00:00 +00:00
frosch 522e5ec86b (svn r24277) -Codechange: Store cargo and railtype translation tables in a SmallVector. 2012-05-25 20:57:36 +00:00
frosch b8f6b300d6 (svn r24276) -Codechange: Enhance GRFFile with constructor and destructor. 2012-05-25 20:54:54 +00:00
frosch 9522dbb1a9 (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. 2012-05-25 16:52:18 +00:00
frosch e1fda49027 (svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so. 2012-05-01 15:53:51 +00:00
frosch 6f4d2160c2 (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). 2012-04-22 16:27:55 +00:00
rubidium 02d9ecde6d (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 2012-03-25 18:18:35 +00:00
frosch 0643a69764 (svn r24052) -Fix (r23883) [FS#5107]: Imported GRF sounds were inserted into the wrong slots. 2012-03-19 22:55:29 +00:00
frosch 2007f7affd (svn r24051) -Fix: Comment. 2012-03-19 22:52:37 +00:00
frosch ee03cda858 (svn r24050) -Fix: Realsprites inside the action 11 block were not skipped correctly. 2012-03-19 22:38:54 +00:00
frosch ed3a9fa239 (svn r23960) -Fix/Change: [NewGRF] Make the properties for always/never refittable cargo types not behave incremental, but reset them on reassignment. 2012-02-16 22:22:45 +00:00
michi_cc 9101d2e2d2 (svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail). 2012-02-15 21:23:48 +00:00
frosch d5bc5ddd00 (svn r23916) -Fix (r23145): When determining the first refittable cargotype according to CTT order, do not rely on the GRF assigning the refit_mask property. Also check for GRFs setting the default_cargo or refittable-cargo-classes or -types properties. 2012-02-07 22:59:30 +00:00
frosch a16389ab06 (svn r23915) -Codechange: Translate refitmask directly after reading it from the GRF. 2012-02-07 22:48:09 +00:00
frosch 1c84468b5d (svn r23913) -Fix (r23912): Silly typo in comment. 2012-02-07 22:05:44 +00:00
frosch 306a0967d0 (svn r23912) -Fix: When testing whether a engine shall only carry the default cargo, check ctt_include_mask for being empty before applying cargo translation. 2012-02-07 22:03:03 +00:00
michi_cc 6db39410a1 (svn r23887) -Feature: [NewGRF] Support for container version 2. 2012-02-04 13:29:04 +00:00
michi_cc b4846423ac (svn r23883) -Fix: [NewGRF] It wasn't possible to import sounds from a NewGRF later in the load order. 2012-02-04 13:28:48 +00:00
michi_cc 12f0e80dad (svn r23882) -Codechange: Delay parsing of NewGRF sound effects until first usage. 2012-02-04 13:28:44 +00:00
frosch 90c53046c7 (svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity multipliers when refitting vehicles, which do not use callback 15. 2012-01-28 12:08:03 +00:00
frosch 3c85689b72 (svn r23836) -Fix (r23145): If a vehicle is not refittable to any cargo in the CTT, then pick the first refittable cargoslot. 2012-01-22 15:53:17 +00:00
yexo fab78a7bf2 (svn r23812) -Fix [FS#4977] (r23804): custom ActionB messages were broken 2012-01-15 19:29:49 +00:00
frosch 64b6d03cd3 (svn r23809) -Feature: Enhance some fatal NewGRF errors with the spritenumber that caused the problem. 2012-01-15 18:18:44 +00:00
frosch 92700c1262 (svn r23807) -Codechange: GRFError::num_params is not needed, remove it. 2012-01-15 17:33:35 +00:00
frosch 7b0ea17f00 (svn r23789) -Fix: [NewGRF] While we can only show one error per NewGRF, fatal errors should always disable the GRF. Also give those errors precedence over other information. 2012-01-12 17:46:42 +00:00
yexo ec54f39db5 (svn r23788) -Fix: failure to load newgrf files that use action 0 general prop 15 with a missing language file 2012-01-12 17:44:20 +00:00
michi_cc ee0fcb2567 (svn r23758) -Feature: [NewGRF] Alternate rail type label list. 2012-01-05 19:40:34 +00:00
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
truebrain da460f6928 (svn r23703) -Codechange: allow a compiler to inline a wrapper function, avoiding creation of a function stack, massively increasing its speed, for a function that is called often 2012-01-01 16:38:38 +00:00
truebrain 1c9bec1999 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 2011-12-20 17:57:56 +00:00
rubidium 3d88c74389 (svn r23526) -Codechange: unify cargos vs cargoes 2011-12-15 21:56:00 +00:00
michi_cc def8e7215b (svn r23504) -Feature: Aircraft range. 2011-12-13 00:43:35 +00:00