MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / TerraformSetHeightOfTile

Function TerraformSetHeightOfTile

src/terraform_cmd.cpp:58–61  ·  view source on GitHub ↗

* Stores the TileHeight (height of north corner) of a tile in a TerraformerState. * * @param ts TerraformerState. * @param tile Tile. * @param height New TileHeight. */

Source from the content-addressed store, hash-verified

56 * @param height New TileHeight.
57 */
58static void TerraformSetHeightOfTile(TerraformerState *ts, TileIndex tile, int height)
59{
60 ts->tile_to_new_height[tile] = height;
61}
62
63/**
64 * Adds a tile to the "tile_table" in a TerraformerState.

Callers 1

TerraformTileHeightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected