OpenTTD Source  20241121-master-g67a0fccfad
void_cmd.cpp File Reference

Handling of void tiles. More...

#include "stdafx.h"
#include "landscape.h"
#include "command_func.h"
#include "viewport_func.h"
#include "slope_func.h"
#include "water.h"
#include "table/strings.h"
#include "table/sprites.h"
#include "safeguards.h"

Go to the source code of this file.

Functions

static void DrawTile_Void (TileInfo *ti)
 
static int GetSlopePixelZ_Void (TileIndex, uint x, uint y, bool)
 
static Foundation GetFoundation_Void (TileIndex, Slope)
 
static CommandCost ClearTile_Void (TileIndex, DoCommandFlag)
 
static void GetTileDesc_Void (TileIndex, TileDesc *td)
 
static void TileLoop_Void (TileIndex tile)
 
static void ChangeTileOwner_Void (TileIndex, Owner, Owner)
 
static TrackStatus GetTileTrackStatus_Void (TileIndex, TransportType, uint, DiagDirection)
 
static CommandCost TerraformTile_Void (TileIndex, DoCommandFlag, int, Slope)
 

Variables

const TileTypeProcs _tile_type_void_procs
 

Detailed Description

Handling of void tiles.

Definition in file void_cmd.cpp.

Variable Documentation

◆ _tile_type_void_procs

const TileTypeProcs _tile_type_void_procs
extern
Initial value:
= {
DrawTile_Void,
GetSlopePixelZ_Void,
ClearTile_Void,
nullptr,
GetTileDesc_Void,
GetTileTrackStatus_Void,
nullptr,
nullptr,
TileLoop_Void,
ChangeTileOwner_Void,
nullptr,
nullptr,
GetFoundation_Void,
TerraformTile_Void,
}

Definition at line 55 of file landscape.cpp.