summaryrefslogtreecommitdiff
path: root/src/newgrf_commons.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-01-08 22:42:00 +0000
committeryexo <yexo@openttd.org>2010-01-08 22:42:00 +0000
commit7f6016031e8367c8ce53a4017e5dadd47dc1974e (patch)
tree7bfa956802d29dfff7b4491928f7d363ddc3c444 /src/newgrf_commons.h
parent5b422d0c64f67101ed85ebf8934dc381817e1a7b (diff)
downloadopenttd-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.h5
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 */