src/void_map.h
author belugas
Mon, 16 Apr 2007 19:44:22 +0000
changeset 6971 ecd31bf08a31
parent 6919 339210ecccd3
child 6308 646711c5feaa
permissions -rw-r--r--
(svn r9651) -Codechange: make legend system of smallmap a little bit less magic with the help of a struct and not an array of bytes
/* $Id$ */

/** @file void_map.h */

#ifndef VOID_MAP_H
#define VOID_MAP_H

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 */