From c6c8beaf58523d2bc045e4753ac6ad8736d317f3 Mon Sep 17 00:00:00 2001 From: RobbyV2 Date: Wed, 29 Jul 2026 18:38:52 -0400 Subject: phys: match System heap accessors --- src/KingSystem/Physics/System/physSystem.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (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 1bd55360..765f4ce4 100644 --- a/src/KingSystem/Physics/System/physSystem.h +++ b/src/KingSystem/Physics/System/physSystem.h @@ -17,6 +17,7 @@ class ContactLayerCollisionInfoGroup; class ContactMgr; class ContactPointInfo; class GroupFilter; +class HavokMemoryAllocator; class LayerContactPointInfo; class MaterialTable; class RayCastForRequest; @@ -132,7 +133,8 @@ public: // 0x000000710121684c void decrementWorldUnkCounter(ContactLayerType layer_type); - // 0x0000007101216cec + bool isHavokMainHeapOom() const; + sead::Heap* getPhysicsTempHeap(LowPriority low_priority) const; private: @@ -144,7 +146,8 @@ private: float _6c = 1.0; float _70 = 1.0 / 30.0; float mTimeFactor{}; - u8 _78[0xa8 - 0x78]; + HavokMemoryAllocator* mHavokAllocator{}; + u8 _80[0xa8 - 0x80]; sead::CriticalSection mCS; void* _e8{}; void* _f0{}; -- cgit v1.2.3