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

Function TerraformAddDirtyTile

src/terraform_cmd.cpp:70–73  ·  view source on GitHub ↗

* Adds a tile to the "tile_table" in a TerraformerState. * * @param ts TerraformerState. * @param tile Tile. * @ingroup dirty */

Source from the content-addressed store, hash-verified

68 * @ingroup dirty
69 */
70static void TerraformAddDirtyTile(TerraformerState *ts, TileIndex tile)
71{
72 ts->dirty_tiles.insert(tile);
73}
74
75/**
76 * Adds all tiles that incident with the north corner of a specific tile to the "tile_table" in a TerraformerState.

Callers 1

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected