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

Function SetAnimatedTileState

src/animated_tile_map.h:39–42  ·  view source on GitHub ↗

* Set the animated state of a tile. * @param t The tile. */

Source from the content-addressed store, hash-verified

37 * @param t The tile.
38 */
39inline void SetAnimatedTileState(Tile t, AnimatedTileState state)
40{
41 SB(t.m6(), 0, 2, to_underlying(state));
42}
43
44#endif /* ANIMATED_TILE_MAP_H */

Callers 4

DeleteAnimatedTileFunction · 0.85
AddAnimatedTileFunction · 0.85
AnimateAnimatedTilesFunction · 0.85
AfterLoadGameFunction · 0.85

Calls 2

SBFunction · 0.85
to_underlyingFunction · 0.85

Tested by

no test coverage detected