summaryrefslogtreecommitdiff
path: root/src/sprite.cpp
AgeCommit message (Collapse)Author
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-08-06(svn r22722) -Fix: Skip invisible parent and child sprites due to ↵frosch
transparency settings using the same logic as skipping due to grf-defined invisibility.
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.
2011-03-03(svn r22175) -Fix: [NewGRF] memory leak if a station newgrf contains prop 09 ↵yexo
twice for the same station id
2011-02-19(svn r22106) -Codechange: Add DrawTileSeqStruct::MakeTerminator(), ↵frosch
DrawTileSeqStruct::IsTerminator(), DrawTileSeqStruct::IsParentSprite() to simplify stuff.
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-01-30(svn r18959) -Feature: [NewGRF] Allow layering of multiple groundsprites in ↵frosch
spritelayouts of stations, houses and industrytiles; so hacks with zero-sized bounding boxes are no longer needed and no longer cause trouble.
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-17(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.frosch
2010-01-17(svn r18843) -Codechange: Only NewGRF supplied spritelayouts use ↵frosch
SPRITE_MODIFIER_CUSTOM_SPRITE, so no extra tests needed.
2010-01-17(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to ↵frosch
SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
2010-01-16(svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI.frosch
2010-01-16(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() ↵frosch
and move it to separate file.