(svn r22457) -Codechange: Make the NewGRFSpriteLayout a direct member of TileLayoutSpriteGroup instead of allocating it separately.

This commit is contained in:
frosch
2011-05-14 17:33:26 +00:00
parent 7415b9cca2
commit e55f849a29
7 changed files with 19 additions and 25 deletions

View File

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