summaryrefslogtreecommitdiff
path: root/src/newgrf_industries.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-06-09 02:05:51 +0000
committerbelugas <belugas@openttd.org>2007-06-09 02:05:51 +0000
commit9a4a911bdecd3287cc2e28dad93ce56c13a87ec4 (patch)
tree9ffd98b22fce3fd13fee357910ac42412626fb6d /src/newgrf_industries.h
parent142f2aba15a3b37ff3aa9955c560deba6cd1572d (diff)
downloadopenttd-9a4a911bdecd3287cc2e28dad93ce56c13a87ec4.tar.xz
(svn r10074) -Add: Addition of IndustryOverrideManager as well as the basic (and unfinished) support for callbacks for industries
Diffstat (limited to 'src/newgrf_industries.h')
-rw-r--r--src/newgrf_industries.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/newgrf_industries.h b/src/newgrf_industries.h
new file mode 100644
index 000000000..9a31692cc
--- /dev/null
+++ b/src/newgrf_industries.h
@@ -0,0 +1,14 @@
+/* $Id$ */
+
+/** @file newgrf_industries.h */
+
+#ifndef NEWGRF_INDUSTRIES_H
+#define NEWGRF_INDUSTRIES_H
+
+#include "industry.h"
+#include "newgrf_spritegroup.h"
+
+uint32 IndustryGetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available);
+uint16 GetIndustryCallback(uint16 callback, uint32 param1, uint32 param2, Industry *industry, TileIndex tile);
+
+#endif /* NEWGRF_INDUSTRIES_H */