src/table/town_land.h
changeset 7577 ab000224166b
parent 6605 d92f454a00a6
child 8298 681e3c5f50ad
equal deleted inserted replaced
7576:702396fd6908 7577:ab000224166b
    13  * @param w the width of the sprite
    13  * @param w the width of the sprite
    14  * @param h the height of the sprite
    14  * @param h the height of the sprite
    15  * @param dz the virtual height of the sprite
    15  * @param dz the virtual height of the sprite
    16  * @param p set to 1 if a lift is present ()
    16  * @param p set to 1 if a lift is present ()
    17  * @see DrawBuildingsTileStruct */
    17  * @see DrawBuildingsTileStruct */
    18 #define M(s1, p1, s2, p2, sx, sy, w, h, dz, p) { { s1, p1 }, { s2, p2 }, sx, sy, w - 1, h - 1, dz, p}
    18 #define M(s1, p1, s2, p2, sx, sy, w, h, dz, p) { { s1, p1 }, { s2, p2 }, sx, sy, w, h, dz, p}
    19 
    19 
    20 /** structure of houses graphics*/
    20 /** structure of houses graphics*/
    21 static const DrawBuildingsTileStruct _town_draw_tile_data[] = {
    21 static const DrawBuildingsTileStruct _town_draw_tile_data[] = {
    22 	M( 0xf54, PAL_NONE,  0x58d, PAL_NONE,  0,  0, 14, 14,   8, 0),
    22 	M( 0xf54, PAL_NONE,  0x58d, PAL_NONE,  0,  0, 14, 14,   8, 0),
    23 	M( 0xf54, PAL_NONE,  0x58e, PAL_NONE,  0,  0, 14, 14,  60, 0),
    23 	M( 0xf54, PAL_NONE,  0x58e, PAL_NONE,  0,  0, 14, 14,  60, 0),