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

Function GetSlopePixelZ_Trees

src/tree_cmd.cpp:706–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704
705
706static int GetSlopePixelZ_Trees(TileIndex tile, uint x, uint y, bool)
707{
708 auto [tileh, z] = GetTilePixelSlope(tile);
709
710 return z + GetPartialPixelZ(x & 0xF, y & 0xF, tileh);
711}
712
713static Foundation GetFoundation_Trees(TileIndex, Slope)
714{

Callers

nothing calls this directly

Calls 2

GetTilePixelSlopeFunction · 0.85
GetPartialPixelZFunction · 0.85

Tested by

no test coverage detected