From 62959cc554dae3bf2d18f3f7e55788edf343d8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 6 Mar 2022 22:50:15 +0100 Subject: ksys/phys: Start adding ClosestPointQuery and iterator stuff --- src/KingSystem/Physics/System/physSystem.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/KingSystem/Physics/System/physSystem.h') 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; -- cgit v1.2.3