(svn r22456) -Codechange: Derive NewGRFSpriteLayout from DrawTileSprites for spritelayouts allocated on the heap, and make use of constructors and destructors.

This commit is contained in:
frosch
2011-05-14 17:25:45 +00:00
parent c33578a3c2
commit 90337d88dd
8 changed files with 81 additions and 44 deletions

View File

@@ -283,7 +283,7 @@ struct TileLayoutSpriteGroup : SpriteGroup {
~TileLayoutSpriteGroup();
byte num_building_stages; ///< Number of building stages to show for this house/industry tile
struct DrawTileSprites *dts;
NewGRFSpriteLayout *dts;
};
struct IndustryProductionSpriteGroup : SpriteGroup {