diff options
author | yexo <yexo@openttd.org> | 2010-01-08 22:42:00 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-08 22:42:00 +0000 |
commit | 7f6016031e8367c8ce53a4017e5dadd47dc1974e (patch) | |
tree | 7bfa956802d29dfff7b4491928f7d363ddc3c444 /src/newgrf_commons.h | |
parent | 5b422d0c64f67101ed85ebf8934dc381817e1a7b (diff) | |
download | openttd-7f6016031e8367c8ce53a4017e5dadd47dc1974e.tar.xz |
(svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r-- | src/newgrf_commons.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |