void_map.h

Go to the documentation of this file.
00001 /* $Id: void_map.h 12971 2008-05-06 15:11:33Z rubidium $ */
00002 
00005 #ifndef VOID_MAP_H
00006 #define VOID_MAP_H
00007 
00008 #include "tile_map.h"
00009 
00014 static inline void MakeVoid(TileIndex t)
00015 {
00016   SetTileType(t, MP_VOID);
00017   SetTileHeight(t, 0);
00018   _m[t].m1 = 0;
00019   _m[t].m2 = 0;
00020   _m[t].m3 = 0;
00021   _m[t].m4 = 0;
00022   _m[t].m5 = 0;
00023   _m[t].m6 = 0;
00024   _me[t].m7 = 0;
00025 }
00026 
00027 #endif /* VOID_MAP_H */

Generated on Mon Feb 16 23:12:12 2009 for openttd by  doxygen 1.5.6