mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-07 06:46:43 +00:00
5f9c891734
Only doc landscape_grid.html has been updated, landscape.html will be done latter. -CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
19 lines
259 B
C
19 lines
259 B
C
/* $Id$ */
|
|
|
|
#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;
|
|
}
|
|
|
|
#endif /* VOID_MAP_H */
|