summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physMemSystem.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-01-17 12:12:51 +0100
committerLéo Lam <leo@leolam.fr>2022-01-17 16:58:22 +0100
commit392c0973c71fc40ce451b8a191dd50592553e745 (patch)
tree0c753fa8c3591d08ce83b5cad11f9897f98e3d6f /src/KingSystem/Physics/System/physMemSystem.h
parentab71075dee21ef1fe4103c08b4b12b37f29e39cb (diff)
ksys/phys: Add a bunch of easy RigidBody functions
Diffstat (limited to 'src/KingSystem/Physics/System/physMemSystem.h')
-rw-r--r--src/KingSystem/Physics/System/physMemSystem.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/KingSystem/Physics/System/physMemSystem.h b/src/KingSystem/Physics/System/physMemSystem.h
index 63652c5a..143c9764 100644
--- a/src/KingSystem/Physics/System/physMemSystem.h
+++ b/src/KingSystem/Physics/System/physMemSystem.h
@@ -36,6 +36,8 @@ public:
SystemData* getSystemData() const { return mSystemData; }
MaterialTable* getMaterialTable() const { return mMaterialTable; }
+ bool isPaused() const;
+
void initSystemData(sead::Heap* heap);
RigidContactPoints* allocContactPoints(sead::Heap* heap, int num, const sead::SafeString& name,
@@ -51,6 +53,9 @@ public:
void removeSystemGroupHandler(SystemGroupHandler* handler);
+ void lockWorld(ContactLayerType type, void* a = nullptr, int b = 0, bool c = false);
+ void unlockWorld(ContactLayerType type, void* a = nullptr, int b = 0, bool c = false);
+
private:
u8 _28[0xa8 - 0x28];
sead::CriticalSection mCS;