summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
AgeCommit message (Collapse)Author
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'.
2007-11-12(svn r11423) -Codechange: store grfid when adding an overrideglx
2007-10-04(svn r11198) -Fix: When industry override is not possible because it is ↵belugas
already been overridden, mark the new candidate as not being an override
2007-09-26(svn r11163) -Codechange: Verify that the IndustryTileOverrideManager skip ↵belugas
the magic value of 0xFF when assigning a new tileID. This is really important, since the value is reserved for water checking.
2007-07-25(svn r10688) -Cleanup: coding style cleanups missed in the last few cleanups.rubidium
2007-06-21(svn r10256) -Add: Addition of IndustryTileOverrideManagerbelugas
2007-06-09(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic ↵belugas
(and unfinished) support for callbacks for industries
2007-06-08(svn r10066) -Codechange: Expose function GetNearbyTile by moving it to ↵belugas
newgrf_commons.[cpp|h]. Will be used by industries in a few.
2007-06-05(svn r10040) -Codechange: Make the function GetTerrainType public, as other ↵belugas
functions require it
2007-05-15(svn r9850) -Codechange: Introduction of the Override/Substitute manager. ↵belugas
Currently only used for newhouses. Basically, it is more a gathering of IDs from grf files and ingame data.