Files
@ r7317:1d7343ddd282
Branch filter:
Location: cpp/openttd-patchpack/source/src/void_map.h - annotation
r7317:1d7343ddd282
370 B
text/x-c
(svn r10672) -Codechange: typify some parameters/variables.
r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r6423:c3b8b9853091 r6423:c3b8b9853091 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r6489:47abbb44f4d0 r6489:47abbb44f4d0 r6489:47abbb44f4d0 r6489:47abbb44f4d0 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5596:84985796bbd9 r6332:7393965b5322 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 r5475:3f5cd13d1b63 | /* $Id$ */
/** @file void_map.h */
#ifndef VOID_MAP_H
#define VOID_MAP_H
/**
* Make a nice void tile ;)
* @param t the tile to make void
*/
static inline void MakeVoid(TileIndex t)
{
SetTileType(t, MP_VOID);
SetTileHeight(t, 0);
_m[t].m1 = 0;
_m[t].m2 = 0;
_m[t].m3 = 0;
_m[t].m4 = 0;
_m[t].m5 = 0;
_m[t].m6 = 0;
_me[t].m7 = 0;
}
#endif /* VOID_MAP_H */
|