summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-06-13 02:29:08 +0000
committerbelugas <belugas@openttd.org>2007-06-13 02:29:08 +0000
commit30863358f9f2bd0951fe46103e0fb9fa6a2c97d8 (patch)
tree78473d469c840ab5e2dc2370e2a644fab596c171 /src/newgrf_industrytiles.h
parentda1743e98062a3b64fa2730727d86a94a6869121 (diff)
downloadopenttd-30863358f9f2bd0951fe46103e0fb9fa6a2c97d8.tar.xz
(svn r10127) -Add: Addition of basic structure for industry tiles callbacks (unfinished).
-Codechange: ResolverObject receives member gfx, making it compatible for both industries and industry tiles -Codechange: NewIndustryResolver now has his randombits and triggers (even if not implemented)
Diffstat (limited to 'src/newgrf_industrytiles.h')
-rw-r--r--src/newgrf_industrytiles.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/newgrf_industrytiles.h b/src/newgrf_industrytiles.h
new file mode 100644
index 000000000..e51a0a336
--- /dev/null
+++ b/src/newgrf_industrytiles.h
@@ -0,0 +1,11 @@
+/* $Id$ */
+
+/** @file newgrf_industrytiles.h */
+
+#ifndef NEWGRF_INDUSTRYTILES_H
+#define NEWGRF_INDUSTRYTILES_H
+
+void DrawNewIndustryTile(TileInfo *ti, IndustryGfx gfx);
+uint16 GetIndustryTileCallback(uint16 callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile);
+
+#endif /* NEWGRF_INDUSTRYTILES_H */