summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physSystem.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-03-01 19:23:38 +0100
committerLéo Lam <leo@leolam.fr>2022-03-01 19:28:11 +0100
commit11dafc6ac301bf8200bebf63ba1a8c0b8507160d (patch)
tree80729d84ce5969927a7c3237889e48033c074ee5 /src/KingSystem/Physics/System/physSystem.h
parent1ee012858c2c1f348e9ede0b26f36ffc0e1fa8b3 (diff)
ksys/phys: Add CollisionInfo
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.h')
-rw-r--r--src/KingSystem/Physics/System/physSystem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/KingSystem/Physics/System/physSystem.h b/src/KingSystem/Physics/System/physSystem.h
index 14b8f365..3e08d3e1 100644
--- a/src/KingSystem/Physics/System/physSystem.h
+++ b/src/KingSystem/Physics/System/physSystem.h
@@ -9,6 +9,7 @@
namespace ksys::phys {
+class CollisionInfo;
class ContactMgr;
class GroupFilter;
class MaterialTable;
@@ -55,6 +56,11 @@ public:
void registerContactPointLayerPair(ContactPointInfoEx* info, ContactLayer layer1,
ContactLayer layer2, bool enabled);
+ // 0x00000071012169a4
+ CollisionInfo* allocCollisionInfo(sead::Heap* heap, const sead::SafeString& name) const;
+ // 0x00000071012169ac
+ void freeCollisionInfo(CollisionInfo* info) const;
+
// 0x0000007101216a20
void registerRigidBodyForContactSystem(RigidBody* body);