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

Function SetLiftPosition

src/town_map.h:157–160  ·  view source on GitHub ↗

* Set the position of the lift on this animated house * @param t the tile * @param pos position, from 0 to 36 */

Source from the content-addressed store, hash-verified

155 * @param pos position, from 0 to 36
156 */
157inline void SetLiftPosition(Tile t, uint8_t pos)
158{
159 SB(t.m6(), 2, 6, pos);
160}
161
162/**
163 * Get the completion of this house

Callers 2

AnimateTile_TownFunction · 0.85
AfterLoadGameFunction · 0.85

Calls 1

SBFunction · 0.85

Tested by

no test coverage detected