From e1f3e551cbae95331c7b5c81d3f7b380558a7e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Wed, 26 Jan 2022 01:39:59 +0100 Subject: ksys/phys: Add more RigidBody functions --- src/KingSystem/Physics/System/physSystem.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (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 783e7643..efdc0d7a 100644 --- a/src/KingSystem/Physics/System/physSystem.h +++ b/src/KingSystem/Physics/System/physSystem.h @@ -30,6 +30,7 @@ class System { virtual ~System(); public: + float get64() const { return _64; } float getTimeFactor() const { return mTimeFactor; } GroupFilter* getGroupFilter(ContactLayerType type) const; ContactMgr* getContactMgr() const { return mContactMgr; } @@ -61,7 +62,11 @@ public: void unlockWorld(ContactLayerType type, void* a = nullptr, int b = 0, bool c = false); private: - u8 _28[0x74 - 0x28]; + u8 _28[0x64 - 0x28]; + float _64 = 1.0 / 30.0; + float _68 = 1.0 / 30.0; + float _6c = 1.0; + float _70 = 1.0 / 30.0; float mTimeFactor{}; u8 _78[0xa8 - 0x78]; sead::CriticalSection mCS; -- cgit v1.2.3