equal
deleted
inserted
replaced
61 uint32 image; |
61 uint32 image; |
62 |
62 |
63 /* Retrieve pointer to the draw town tile struct */ |
63 /* Retrieve pointer to the draw town tile struct */ |
64 { |
64 { |
65 /* this "randomizes" on the (up to) 4 variants of a building */ |
65 /* this "randomizes" on the (up to) 4 variants of a building */ |
66 byte gfx = _map2[ti->tile]; |
66 byte gfx = (byte)_map2[ti->tile]; |
67 byte stage = _map3_lo[ti->tile] >> 6; |
67 byte stage = _map3_lo[ti->tile] >> 6; |
68 uint variant; |
68 uint variant; |
69 variant = ti->x >> 4; |
69 variant = ti->x >> 4; |
70 variant ^= ti->x >> 6; |
70 variant ^= ti->x >> 6; |
71 variant ^= ti->y >> 4; |
71 variant ^= ti->y >> 4; |