src/table/industry_land.h
branchnoai
changeset 9703 d2a6acdbd665
parent 9625 3301b1b3889c
child 10429 1b99254f9607
equal deleted inserted replaced
9702:e782b59f1f6a 9703:d2a6acdbd665
    37  * @param w width of the sprite
    37  * @param w width of the sprite
    38  * @param h height of the sprite
    38  * @param h height of the sprite
    39  * @param dz virtual height of the sprite
    39  * @param dz virtual height of the sprite
    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, h, dz, p }
    43 
    43 
    44 /** Structure for industry tiles drawing */
    44 /** Structure for industry tiles drawing */
    45 static const DrawBuildingsTileStruct _industry_draw_tile_data[NEW_INDUSTRYTILEOFFSET * 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),