(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.

This commit is contained in:
belugas
2006-04-24 21:10:56 +00:00
parent 7aed9a62f2
commit ebf6797678
8 changed files with 70 additions and 87 deletions

View File

@@ -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}