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

Method SetTile

src/bitmap_type.h:79–83  ·  view source on GitHub ↗

* Add a tile as part of the tile area. * @param tile Tile to add. */

Source from the content-addressed store, hash-verified

77 * @param tile Tile to add.
78 */
79 inline void SetTile(TileIndex tile)
80 {
81 assert(this->Contains(tile));
82 this->data[Index(tile)] = true;
83 }
84
85 /**
86 * Clear a tile from the tile area.

Callers 2

RecomputeCatchmentMethod · 0.80
FillIndustryCatchmentFunction · 0.80

Calls 1

ContainsMethod · 0.45

Tested by

no test coverage detected