MCPcopy Create free account
hub / github.com/ZDoom/Raze / PlayerCeilingHit

Function PlayerCeilingHit

source/games/sw/src/player.cpp:2789–2792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2787//---------------------------------------------------------------------------
2788
2789bool PlayerCeilingHit(DSWPlayer* pp, double zlimit)
2790{
2791 return (pp->GetActor()->getOffsetZ() < zlimit);
2792}
2793
2794bool PlayerFloorHit(DSWPlayer* pp, double zlimit)
2795{

Callers 6

DoPlayerJumpFunction · 0.85
DoPlayerForceJumpFunction · 0.85
DoPlayerFallFunction · 0.85
DoPlayerClimbFunction · 0.85
DoPlayerFlyFunction · 0.85
DoPlayerDeathJumpFunction · 0.85

Calls 2

getOffsetZMethod · 0.80
GetActorMethod · 0.45

Tested by

no test coverage detected