summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
AgeCommit message (Collapse)Author
2021-05-12Fix #9202: Invalid test for unset NewGRF override mapping. (#9226)PeterN
2021-05-08Codechange: Don't save unused NewGRF override mappings. (#9202)PeterN
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-24Codechange: More use of override keyword.peter1138
2016-04-02(svn r27534) -Fix [FS#6435]: [NewGRF] Station spritelayouts did not accept ↵frosch
the var10 flag for the palette.
2014-01-12(svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack ↵frosch
in the TextRefStack.
2014-01-12(svn r26240) -Codechange: Pass the GRFFile to ↵frosch
GetErrorMessageFromLocationCallbackResult instead of the GRFID.
2013-11-23(svn r26071) -Fix: always initialise GRFFilePropsrubidium
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
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 r23154) -Change: [NewGRF v8] Use heightlevel units in nearby tile info ↵frosch
variables. (rubidium)
2011-11-08(svn r23147) -Change: [NewGRF v8] Unify the return values of boolean ↵frosch
callbacks, and check the results for validity.
2011-11-08(svn r23140) -Add: ErrorUnknownCallbackResult()frosch
2011-09-11(svn r22924) -Codechange: Enhance NewGRFSpriteLayout for drawing ↵frosch
construction stages in spritelayouts with inconsistent number of sprites per spriteset.
2011-09-11(svn r22923) -Codechange: Move application of the construction stage into ↵frosch
TileLayoutSpriteGroup::ProcessRegisters().
2011-08-27(svn r22848) -Add: The missing bits in station variable 43.frosch
2011-07-11(svn r22659) -Add: [NewGRF] Support for the land slope check callback for ↵michi_cc
stations.
2011-07-11(svn r22656) -Codechange: Deduplicate the custom error message of the ↵michi_cc
industry shape and location callbacks.
2011-06-13(svn r22575) -Fix (r22574): Compilation error.terkhen
2011-06-12(svn r22566) -Codechange: Define and use OverrideManagerBase::GetGRFID function.terkhen
2011-05-29(svn r22518) -Feature: [NewGRF] Advanced sprite layouts with register modifiers.frosch
2011-05-14(svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for ↵frosch
spritelayouts allocated on the heap, and make use of constructors and destructors.
2010-10-19(svn r20996) -Change: [NewGRF] the X and Y offsets in the parameter for ↵yexo
industry vars 60,61,62,63 are unsigned instead of signed
2010-08-28(svn r20648) -Codechange: implement the NewGRF override manager for objectsrubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-11(svn r20448) -Codechange: make some functions that can be const construbidium
2010-08-11(svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply ↵frosch
to the specs.
2010-08-10(svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare ↵rubidium
it for more spritegroups
2010-08-09(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with ↵terkhen
an existing define on MinGW).
2010-08-09(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.frosch
2010-08-09(svn r20420) -Codechange: Add TileContext enum instead of using a bool.frosch
2010-08-07(svn r20398) -Codechange: move some variables of GRFFileProps into (the new) ↵rubidium
GRFFilePropsBase
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-11(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of ↵frosch
RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
2010-03-18(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of ↵yexo
airports if a newgrf can't be found
2010-03-16(svn r19435) -Fix: when loading a savegame created with a house newgrf ↵yexo
without that newgrf available all houses became tall office blocks
2010-02-22(svn r19193) -Codechange: increase the maximum number of airport tiles to ↵yexo
256 and introduce AirportTileOverrideManager
2010-01-17(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.frosch
2010-01-16(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() ↵frosch
and move it to separate file.
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-08(svn r18762) -Codechange: unduplicate sprite layout drawing between ↵yexo
industries and houses
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2008-11-22(svn r14606) -Codechange: Unify usage of PALETTE_MODIFIER_TRANSPARENT and ↵frosch
PALETTE_MODIFIER_COLOR in spritelayout drawing. -Fix [FS#2419]: The modifiers were not applied in all cases.
2008-02-08(svn r12086) -Fix [FS#1747] (r11425): check overrides only for industries ↵glx
when mapping newgrf entities to 'real' entities
2008-01-31(svn r12028) -Codechange: Split common part of station var 0x67, house var ↵frosch
0x62, indtile var 0x60 and industry var 0x62 to 'newgrf_commons.cpp'.