MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / GetCeiling

Function GetCeiling

TombEngine/Game/collision/collide_room.cpp:1071–1074  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1069}
1070
1071int GetCeiling(FloorInfo* floor, int x, int y, int z)
1072{
1073 return GetSurfaceHeight(RoomVector(floor->RoomNumber, y), x, z, false).value_or(NO_HEIGHT);
1074}
1075
1076int GetDistanceToFloor(int itemNumber, bool precise)
1077{

Callers 7

InitializeRopeFunction · 0.85
ControlWreckingBallFunction · 0.85
JeepControlFunction · 0.85
LOSAndReturnTargetFunction · 0.85
CreaturePathfindFunction · 0.85
UpdateGunShellsFunction · 0.85
GetCollisionInfoFunction · 0.85

Calls 2

GetSurfaceHeightFunction · 0.85
RoomVectorClass · 0.70

Tested by

no test coverage detected