(svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses

This commit is contained in:
yexo
2010-01-08 22:42:00 +00:00
parent 340f5e8569
commit 5cad8dac74
5 changed files with 48 additions and 54 deletions

View File

@@ -15,6 +15,9 @@
#define NEWGRF_COMMONS_H
#include "core/bitmath_func.hpp"
#include "tile_cmd.h"
#include "transparency.h"
#include "sprite.h"
#include "table/sprites.h"
@@ -146,4 +149,6 @@ static inline SpriteID GroundSpritePaletteTransform(SpriteID image, SpriteID pal
}
}
void DrawTileSeq(const TileInfo *ti, const DrawTileSprites *dts, TransparencyOption to, byte stage, SpriteID default_palette);
#endif /* NEWGRF_COMMONS_H */