Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TombEngine/TombEngine
/ GetQuadrant
Function
GetQuadrant
TombEngine/Game/collision/collide_room.cpp:739–742 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
737
}
738
739
int GetQuadrant(short angle)
740
{
741
return (unsigned short(angle + ANGLE(45.0f)) / ANGLE(90.0f));
742
}
743
744
bool TestNeighborRooms(int roomNumber0, int roomNumber1)
745
{
Callers
15
InitializeDoor
Function · 0.85
CollidePushableBlock
Function · 0.85
HandleMoveState
Function · 0.85
HandleEdgeSlipState
Function · 0.85
IsValidForPlayer
Function · 0.85
PushableIdleConditions
Function · 0.85
TestPushableMovementConditions
Function · 0.85
CollideStatuePlinth
Function · 0.85
TestLaraHang
Function · 0.85
TestLaraNearClimbableWall
Function · 0.85
TestLaraHangOnClimbableWall
Function · 0.85
TestLaraHangCorner
Function · 0.85
Calls
1
ANGLE
Function · 0.85
Tested by
5
TestPushableMovementConditions
Function · 0.68
TestLaraHang
Function · 0.68
TestLaraNearClimbableWall
Function · 0.68
TestLaraHangOnClimbableWall
Function · 0.68
TestLaraHangCorner
Function · 0.68