summaryrefslogtreecommitdiff
path: root/table/build_industry.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-04-24 21:10:56 +0000
committerbelugas <belugas@openttd.org>2006-04-24 21:10:56 +0000
commit31c0641bd34036decfe50e363edfad0e1e71f060 (patch)
treed080bac8a9cda725440a23acb119e6257fe7731c /table/build_industry.h
parentca367408bb89eeaedd280b2fa0c440611b32e5ed (diff)
downloadopenttd-31c0641bd34036decfe50e363edfad0e1e71f060.tar.xz
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
Diffstat (limited to 'table/build_industry.h')
-rw-r--r--table/build_industry.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/table/build_industry.h b/table/build_industry.h
index 44d83040f..82741b781 100644
--- a/table/build_industry.h
+++ b/table/build_industry.h
@@ -1,5 +1,21 @@
/* $Id$ */
+
+typedef struct IndustryTileTable {
+ TileIndexDiffC ti;
+ IndustryGfx gfx;
+} IndustryTileTable;
+
+typedef struct IndustrySpec {
+ const IndustryTileTable *const *table;
+ byte num_table;
+ byte a,b,c;
+ CargoID produced_cargo[2];
+ byte production_rate[2];
+ CargoID accepts_cargo[3];
+ byte check_proc;
+} IndustrySpec;
+
#define MK(x,y, m) {{x, y}, m}
#define MKEND {{-0x80, 0}, 0}