summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physSystem.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-03-13 19:33:03 +0100
committerLéo Lam <leo@leolam.fr>2022-03-13 23:57:28 +0100
commita9d5f88968714639e114d93c2ec4b9e18ff1a4cb (patch)
tree58d8dc5e65df7e85b5dd91e76b5bb4f8471fbc9c /src/KingSystem/Physics/System/physSystem.h
parent335a5a201aea74b0650fdcf4fa2093066d2bdad8 (diff)
ksys/phys: Add ContactLayerCollisionInfoGroup
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.h')
-rw-r--r--src/KingSystem/Physics/System/physSystem.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/System/physSystem.h b/src/KingSystem/Physics/System/physSystem.h
index 3a1ebba8..68fd7bac 100644
--- a/src/KingSystem/Physics/System/physSystem.h
+++ b/src/KingSystem/Physics/System/physSystem.h
@@ -10,6 +10,8 @@
namespace ksys::phys {
class CollisionInfo;
+class ContactLayerCollisionInfo;
+class ContactLayerCollisionInfoGroup;
class ContactMgr;
class GroupFilter;
class MaterialTable;
@@ -69,8 +71,17 @@ public:
// 0x00000071012169ac
void freeCollisionInfo(CollisionInfo* info) const;
+ // 0x00000071012169b4
+ ContactLayerCollisionInfoGroup*
+ makeContactLayerCollisionInfoGroup(sead::Heap* heap, ContactLayer layer, int capacity,
+ const sead::SafeString& name);
+ // 0x00000071012169c0
+ void freeContactLayerCollisionInfoGroup(ContactLayerCollisionInfoGroup* group);
+ // 0x00000071012169c8
+ ContactLayerCollisionInfo* trackLayerPair(ContactLayer layer_a, ContactLayer layer_b);
+
// 0x0000007101216a20
- void registerRigidBodyForContactSystem(RigidBody* body);
+ void removeRigidBodyFromContactSystem(RigidBody* body);
void removeSystemGroupHandler(SystemGroupHandler* handler);