branch | NewGRF_ports |
changeset 6870 | ca3fd1fbe311 |
parent 6719 | 4cc327ad39d5 |
child 6872 | 1c4a4a609f85 |
6869:76282d3b748d | 6870:ca3fd1fbe311 |
---|---|
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), |