OpenTTD Source 20241224-master-gf74b0cf984
void_map.h File Reference

Map accessors for void tiles. More...

#include "tile_map.h"

Go to the source code of this file.

Functions

void MakeVoid (Tile t)
 Make a nice void tile ;)
 

Detailed Description

Map accessors for void tiles.

Definition in file void_map.h.

Function Documentation

◆ MakeVoid()

void MakeVoid ( Tile  t)
inline

Make a nice void tile ;)

Parameters
tthe tile to make void

Definition at line 19 of file void_map.h.

References Tile::m1(), Tile::m2(), Tile::m3(), Tile::m4(), Tile::m5(), Tile::m6(), Tile::m7(), MP_VOID, SetTileHeight(), and SetTileType().

Referenced by _GenerateWorld(), GenerateLandscape(), GenerateTerrainPerlin(), and GrayscaleToMapHeights().