summaryrefslogtreecommitdiff
path: root/table/industry_land.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/industry_land.h
parentca367408bb89eeaedd280b2fa0c440611b32e5ed (diff)
downloadopenttd-31c0641bd34036decfe50e363edfad0e1e71f060.tar.xz
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
Diffstat (limited to 'table/industry_land.h')
-rw-r--r--table/industry_land.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/table/industry_land.h b/table/industry_land.h
index 08543df1c..9844d66df 100644
--- a/table/industry_land.h
+++ b/table/industry_land.h
@@ -1,8 +1,21 @@
/* $Id$ */
+typedef struct DrawIndustrySpec1Struct {
+ byte x;
+ byte image_1;
+ byte image_2;
+ byte image_3;
+} DrawIndustrySpec1Struct;
+
+typedef struct DrawIndustrySpec4Struct {
+ byte image_1;
+ byte image_2;
+ byte image_3;
+} DrawIndustrySpec4Struct;
+
#define M(s1, s2, sx, sy, w, h, dz, p) { s1, s2, sx, sy, w - 1, h - 1, dz, p }
-static const DrawIndustryTileStruct _industry_draw_tile_data[700] = {
+static const DrawBuildingsTileStruct _industry_draw_tile_data[700] = {
M( 0xf54, 0x7db, 7, 0, 9, 9, 10, 0),
M( 0xf54, 0x7dc, 7, 0, 9, 9, 30, 0),
M( 0xf54, 0x7dd, 7, 0, 9, 9, 30, 0),