src/collision.c file

Classes

struct ColSettings
struct LinkedList2

Enums

enum ColSettingsFlags { COL_FLAG_1 = 1, COL_FLAG_2 = 2, COL_FLAG_4 = 4, COL_FLAG_8 = 8 }

Typedefs

using CollisionHandler = CollisionResult(*)(Entity*org, Entity*tgt, u32 direction, ColSettings*settings)

Functions

void ram_CollideAll(void)
auto sub_08081420(Entity*) -> u32
void SoundReqClipped(Entity*, u32)
void sub_08079D84(void)
void sub_080180BC(Entity*, Entity*)
void ClearHitboxList(void)
void CollisionMain(void)
void RegisterPlayerHitbox(void)
auto sub_0801766C(Entity* this) -> u32
auto sub_080176E4(Entity* this) -> u32
void sub_08017744(Entity* this)
auto IsColliding(Entity* this, Entity* that) -> bool32
auto IsCollidingPlayer(Entity* this) -> bool32
auto CalculateDamage(Entity* org, Entity* tgt) -> s32
void sub_08017940(Entity* org, Entity* tgt)
void sub_080179EC(Entity* a1, Entity* a2)
auto sub_08017A90(Entity* a1, Entity* parent) -> Entity*
auto CollisionDefault(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto CollisionNoOp(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto CollisionGroundItem(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017B58(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017EB0(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017F3C(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017F40(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_0801802C(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017DD4(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_080180E8(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017BBC(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017C40(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017D6C(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017D28(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08018168(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08018228(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08018250(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto CollisionMazaalShrinkRay(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_080182A8(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017B1C(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017CBC(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult
auto sub_08017E88(Entity* org, Entity* tgt, u32 direction, ColSettings* settings) -> CollisionResult

Variables

u8 gCollidableCount
u8 gUnk_080B3740
ColSettings gCollisionMtx
LinkedList2 gUnk_03003C70
LinkedList2* gUnk_02018EA0
const CollisionHandler gCollisionHandlers
const u8 gMapTileTypeToActTile