branch | cpp_gui |
changeset 6308 | 646711c5feaa |
parent 6307 | f40e88cff863 |
child 8604 | 8afdd9877afd |
6307:f40e88cff863 | 6308:646711c5feaa |
---|---|
3 /** @file void_map.h */ |
3 /** @file void_map.h */ |
4 |
4 |
5 #ifndef VOID_MAP_H |
5 #ifndef VOID_MAP_H |
6 #define VOID_MAP_H |
6 #define VOID_MAP_H |
7 |
7 |
8 /** |
|
9 * Make a nice void tile ;) |
|
10 * @param t the tile to make void |
|
11 */ |
|
8 static inline void MakeVoid(TileIndex t) |
12 static inline void MakeVoid(TileIndex t) |
9 { |
13 { |
10 SetTileType(t, MP_VOID); |
14 SetTileType(t, MP_VOID); |
11 SetTileHeight(t, 0); |
15 SetTileHeight(t, 0); |
12 _m[t].m1 = 0; |
16 _m[t].m1 = 0; |