(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.

This commit is contained in:
frosch
2010-01-17 15:05:25 +00:00
parent 830af8ee77
commit 24e0945bc4
11 changed files with 76 additions and 64 deletions

View File

@@ -26,6 +26,7 @@
#include "company_base.h"
#include "town.h"
#include "core/random_func.hpp"
#include "sprite.h"
static BuildingCounts<uint32> _building_counts;
static HouseClassMapping _class_mapping[HOUSE_CLASS_MAX];
@@ -421,7 +422,7 @@ static void DrawTileLayout(const TileInfo *ti, const TileLayoutSpriteGroup *grou
DrawGroundSprite(image, GroundSpritePaletteTransform(image, pal, palette));
}
DrawTileSeq(ti, dts, TO_HOUSES, stage, palette);
DrawNewGRFTileSeq(ti, dts, TO_HOUSES, stage, palette);
}
void DrawNewHouseTile(TileInfo *ti, HouseID house_id)