summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
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.
2012-02-15(svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types ↵michi_cc
(sprites by Snail).
2012-02-07(svn r23916) -Fix (r23145): When determining the first refittable cargotype ↵frosch
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(svn r23915) -Codechange: Translate refitmask directly after reading it from ↵frosch
the GRF.
2012-02-07(svn r23913) -Fix (r23912): Silly typo in comment.frosch
2012-02-07(svn r23912) -Fix: When testing whether a engine shall only carry the ↵frosch
default cargo, check ctt_include_mask for being empty before applying cargo translation.
2012-02-04(svn r23887) -Feature: [NewGRF] Support for container version 2.michi_cc
2012-02-04(svn r23883) -Fix: [NewGRF] It wasn't possible to import sounds from a ↵michi_cc
NewGRF later in the load order.
2012-02-04(svn r23882) -Codechange: Delay parsing of NewGRF sound effects until first ↵michi_cc
usage.
2012-01-28(svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity ↵frosch
multipliers when refitting vehicles, which do not use callback 15.
2012-01-22(svn r23836) -Fix (r23145): If a vehicle is not refittable to any cargo in ↵frosch
the CTT, then pick the first refittable cargoslot.
2012-01-15(svn r23812) -Fix [FS#4977] (r23804): custom ActionB messages were brokenyexo
2012-01-15(svn r23809) -Feature: Enhance some fatal NewGRF errors with the ↵frosch
spritenumber that caused the problem.
2012-01-15(svn r23807) -Codechange: GRFError::num_params is not needed, remove it.frosch
2012-01-12(svn r23789) -Fix: [NewGRF] While we can only show one error per NewGRF, ↵frosch
fatal errors should always disable the GRF. Also give those errors precedence over other information.
2012-01-12(svn r23788) -Fix: failure to load newgrf files that use action 0 general ↵yexo
prop 15 with a missing language file
2012-01-05(svn r23758) -Feature: [NewGRF] Alternate rail type label list.michi_cc
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-01(svn r23703) -Codechange: allow a compiler to inline a wrapper function, ↵truebrain
avoiding creation of a function stack, massively increasing its speed, for a function that is called often
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-13(svn r23504) -Feature: Aircraft range.michi_cc
2011-12-11(svn r23494) -Feature: [NewGRF] action14 node INFO->URL_ to add an urlyexo
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-12-03(svn r23415) -Feature: Infrastructure maintenance costs.michi_cc
2011-12-01(svn r23391) -Feature: [NewGRF] Allow translating multiple languages with ↵rubidium
Action 13 in GRFv8
2011-11-21(svn r23291) -Feature: [NewGRF] Properties to always include/exclude cargo ↵michi_cc
types from the refit mask. (peter1138)
2011-11-20(svn r23283) -Fix: [NewGRF] Prevent against writing data for unknown fontsrubidium
2011-11-15(svn r23232) -Change: move the "default" overrides out of the baseset in ↵rubidium
order to ensure they all use the same values
2011-11-12(svn r23198) -Codechange: introduce a free that takes const pointers so we ↵rubidium
don't need to cast to void/non-const before being able to free
2011-11-08(svn r23166) -Change: [NewGRF v8] Don't override rail type prop 1B with prop 09.michi_cc
2011-11-08(svn r23159) -Feature: Support for NewGRF version 8.frosch
2011-11-08(svn r23158) -Feature: [NewGRF] Patch/setting variable 14. (rubidium)frosch
2011-11-08(svn r23153) -Change: [NewGRF v8] Use heightlevel units in variable 20/A0.frosch
2011-11-08(svn r23152) -Change: [NewGRF v8] Snow line height table uses values between ↵frosch
0x00 and 0xFF independent of number of height levels.
2011-11-08(svn r23151) -Change: [NewGRF v8] Deprecate callback 12, and use callback 36 ↵frosch
instead.
2011-11-08(svn r23150) -Change: [NewGRF v8] Deprecate callback 11, and use callback 36 ↵frosch
instead.
2011-11-08(svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles ↵frosch
without callback usage.
2011-11-08(svn r23145) -Change: [NewGRF v8] Determine the 'first' refittable cargo of ↵frosch
vehicles using the cargo ordering from the cargo translation table.