40 * @param p this allows to specify a special drawing procedure. |
40 * @param p this allows to specify a special drawing procedure. |
41 * @see DrawBuildingsTileStruct */ |
41 * @see DrawBuildingsTileStruct */ |
42 #define M(s1, p1, s2, p2, sx, sy, w, h, dz, p) { { s1, p1 }, { s2, p2 }, sx, sy, w - 1, h - 1, dz, p } |
42 #define M(s1, p1, s2, p2, sx, sy, w, h, dz, p) { { s1, p1 }, { s2, p2 }, sx, sy, w - 1, h - 1, dz, p } |
43 |
43 |
44 /** Structure for industry tiles drawing */ |
44 /** Structure for industry tiles drawing */ |
45 static const DrawBuildingsTileStruct _industry_draw_tile_data[NUM_INDUSTRY_GFXES * 4] = { |
45 static const DrawBuildingsTileStruct _industry_draw_tile_data[NEW_INDUSTRYTILEOFFSET * 4] = { |
46 M( 0xf54, PAL_NONE, 0x7db, PAL_NONE, 7, 0, 9, 9, 10, 0), |
46 M( 0xf54, PAL_NONE, 0x7db, PAL_NONE, 7, 0, 9, 9, 10, 0), |
47 M( 0xf54, PAL_NONE, 0x7dc, PAL_NONE, 7, 0, 9, 9, 30, 0), |
47 M( 0xf54, PAL_NONE, 0x7dc, PAL_NONE, 7, 0, 9, 9, 30, 0), |
48 M( 0xf54, PAL_NONE, 0x7dd, PAL_NONE, 7, 0, 9, 9, 30, 0), |
48 M( 0xf54, PAL_NONE, 0x7dd, PAL_NONE, 7, 0, 9, 9, 30, 0), |
49 M( 0x7e6, PAL_NONE, 0x7dd, PAL_NONE, 7, 0, 9, 9, 30, 0), |
49 M( 0x7e6, PAL_NONE, 0x7dd, PAL_NONE, 7, 0, 9, 9, 30, 0), |
50 M( 0x7e6, PAL_NONE, 0x7dd, PAL_NONE, 7, 0, 9, 9, 30, 0), |
50 M( 0x7e6, PAL_NONE, 0x7dd, PAL_NONE, 7, 0, 9, 9, 30, 0), |