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

Function GetSlopePixelZ_Clear

src/clear_cmd.cpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158static int GetSlopePixelZ_Clear(TileIndex tile, uint x, uint y, bool)
159{
160 auto [tileh, z] = GetTilePixelSlope(tile);
161
162 return z + GetPartialPixelZ(x & 0xF, y & 0xF, tileh);
163}
164
165static Foundation GetFoundation_Clear(TileIndex, Slope)
166{

Callers

nothing calls this directly

Calls 2

GetTilePixelSlopeFunction · 0.85
GetPartialPixelZFunction · 0.85

Tested by

no test coverage detected