OpenTTD Source 20241224-master-gee860a5c8e
TerraformerState Struct Reference

State of the terraforming. More...

Data Fields

TileIndexSet dirty_tiles
 The tiles that need to be redrawn.
 
TileIndexToHeightMap tile_to_new_height
 The tiles for which the height has changed.
 

Detailed Description

State of the terraforming.

Definition at line 33 of file terraform_cmd.cpp.

Field Documentation

◆ dirty_tiles

TileIndexSet TerraformerState::dirty_tiles

The tiles that need to be redrawn.

Definition at line 34 of file terraform_cmd.cpp.

Referenced by CmdTerraformLand(), and TerraformAddDirtyTile().

◆ tile_to_new_height

TileIndexToHeightMap TerraformerState::tile_to_new_height

The tiles for which the height has changed.

Definition at line 35 of file terraform_cmd.cpp.

Referenced by CmdTerraformLand(), TerraformGetHeightOfTile(), and TerraformSetHeightOfTile().


The documentation for this struct was generated from the following file: