summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
AgeCommit message (Collapse)Author
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.
2011-11-08(svn r23144) -Change: [NewGRF v8] Consider the 'default cargotype' ↵frosch
properties as indices into the cargo translation table.
2011-11-08(svn r23139) -Change: [NewGRF v8] Do no longer apply base cost fallbacks.frosch
2011-11-08(svn r23136) -Change: [NewGRF v8] Deprecate old-style callback results 0xFF??.frosch
2011-11-07(svn r23129) -Add: [NewGRF] Property for the rail type name.michi_cc
2011-11-04(svn r23096) -Codechange: remove useless divisions and multiplications by ↵rubidium
TILE_HEIGHT for the snow line code
2011-11-01(svn r23079) -Fix (r23077): Retain original behaviour in a silly corner ↵frosch
case, which saves us making the specs even more convoluted.
2011-11-01(svn r23078) -Fix (r23077): default ships carrying passengers and oil were ↵yexo
suddenly only able to carry coal
2011-11-01(svn r23077) -Change: [NewGRF] Enforce that the default cargo type of a ↵frosch
vehicle is one of the refittable cargos in case of refittable engines.
2011-11-01(svn r23076) -Codechange: Separate code for NewGRF and default refit masks ↵frosch
more strictly.
2011-11-01(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and ↵frosch
Vehicle to simplify code.
2011-10-31(svn r23072) -Feature: [NewGRF] House callback 0x148.michi_cc
2011-10-27(svn r23059) -Fix [FS#4794]: if a newgrf overrides a default house the ↵yexo
minimum start year for that house was set to 1930