| 490 | } |
| 491 | |
| 492 | static int GetSlopePixelZ_Object(TileIndex tile, uint x, uint y, bool) |
| 493 | { |
| 494 | if (IsObjectType(tile, OBJECT_OWNED_LAND)) { |
| 495 | auto [tileh, z] = GetTilePixelSlope(tile); |
| 496 | |
| 497 | return z + GetPartialPixelZ(x & 0xF, y & 0xF, tileh); |
| 498 | } else { |
| 499 | return GetTileMaxPixelZ(tile); |
| 500 | } |
| 501 | } |
| 502 | |
| 503 | static Foundation GetFoundation_Object(TileIndex tile, Slope tileh) |
| 504 | { |
nothing calls this directly
no test coverage detected