Hotfix: Conditional order comparator dropdown list was broken.
[openttd-joker.git] / src / void_map.h
blob8d9ebe10a3e0553c9610a1960b3c7835c5d46758
1 /* $Id: void_map.h 17248 2009-08-21 20:21:05Z rubidium $ */
3 /*
4 * This file is part of OpenTTD.
5 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
6 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
7 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
8 */
10 /** @file void_map.h Map accessors for void tiles. */
12 #ifndef VOID_MAP_H
13 #define VOID_MAP_H
15 #include "tile_map.h"
17 /**
18 * Make a nice void tile ;)
19 * @param t the tile to make void
21 static inline void MakeVoid(TileIndex t)
23 SetTileType(t, MP_VOID);
24 SetTileHeight(t, 0);
25 _m[t].m1 = 0;
26 _m[t].m2 = 0;
27 _m[t].m3 = 0;
28 _m[t].m4 = 0;
29 _m[t].m5 = 0;
30 _me[t].m6 = 0;
31 _me[t].m7 = 0;
34 #endif /* VOID_MAP_H */