tron@3075: /* $Id$ */ tron@3075: rubidium@10429: /** @file void_map.h Map accessors for void tiles. */ belugas@6919: tron@3145: #ifndef VOID_MAP_H tron@3145: #define VOID_MAP_H tron@3145: rubidium@8604: #include "tile_map.h" rubidium@8604: rubidium@6985: /** rubidium@6985: * Make a nice void tile ;) rubidium@6985: * @param t the tile to make void rubidium@6985: */ tron@3075: static inline void MakeVoid(TileIndex t) tron@3075: { tron@3075: SetTileType(t, MP_VOID); tron@3080: SetTileHeight(t, 0); tron@3080: _m[t].m1 = 0; tron@3080: _m[t].m2 = 0; tron@3080: _m[t].m3 = 0; tron@3080: _m[t].m4 = 0; tron@3080: _m[t].m5 = 0; belugas@5847: _m[t].m6 = 0; maedhros@6658: _me[t].m7 = 0; tron@3075: } tron@3145: peter1138@4666: #endif /* VOID_MAP_H */