summaryrefslogtreecommitdiff
path: root/src/newgrf_town.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_town.h')
-rw-r--r--src/newgrf_town.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/newgrf_town.h b/src/newgrf_town.h
new file mode 100644
index 000000000..ec53fcc9a
--- /dev/null
+++ b/src/newgrf_town.h
@@ -0,0 +1,13 @@
+/* $Id$ */
+
+/** @file newgrf_town.h */
+
+#ifndef NEWGRF_TOWN_H
+#define NEWGRF_TOWN_H
+
+/* Currently there is no direct town resolver; we only need to get town
+ * variable results from inside stations, house tiles and industry tiles. */
+
+uint32 TownGetVariable(byte variable, byte parameter, bool *available, const Town *t);
+
+#endif /* NEWGRF_TOWN_H */