From 7f6016031e8367c8ce53a4017e5dadd47dc1974e Mon Sep 17 00:00:00 2001 From: yexo Date: Fri, 8 Jan 2010 22:42:00 +0000 Subject: (svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses --- src/newgrf_commons.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/newgrf_commons.h') diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h index c2bf9acd6..8126dd8bc 100644 --- a/src/newgrf_commons.h +++ b/src/newgrf_commons.h @@ -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 */ -- cgit v1.2.3-54-g00ecf