summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physSystem.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-03-06 22:50:15 +0100
committerLéo Lam <leo@leolam.fr>2022-03-07 12:44:38 +0100
commit62959cc554dae3bf2d18f3f7e55788edf343d8e8 (patch)
tree68b89c8ba299c8b9c849a5c9249a8d8135f09ba0 /src/KingSystem/Physics/System/physSystem.h
parent6229e5d41adcf16a87dba7df9b12c5f91871273b (diff)
ksys/phys: Start adding ClosestPointQuery and iterator stuff
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.h')
-rw-r--r--src/KingSystem/Physics/System/physSystem.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/KingSystem/Physics/System/physSystem.h b/src/KingSystem/Physics/System/physSystem.h
index 9ad2a173..0f3766cd 100644
--- a/src/KingSystem/Physics/System/physSystem.h
+++ b/src/KingSystem/Physics/System/physSystem.h
@@ -25,6 +25,11 @@ enum class IsIndoorStage {
Yes,
};
+enum class LowPriority : bool {
+ Yes = true,
+ No = false,
+};
+
class System {
SEAD_SINGLETON_DISPOSER(System)
System();
@@ -72,6 +77,9 @@ public:
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);
+ // 0x0000007101216cec
+ sead::Heap* getPhysicsTempHeap(LowPriority low_priority) const;
+
private:
u8 _28[0x64 - 0x28];
float _64 = 1.0 / 30.0;