summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/System/physSystem.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-01-26 01:39:59 +0100
committerLéo Lam <leo@leolam.fr>2022-01-27 01:54:56 +0100
commite1f3e551cbae95331c7b5c81d3f7b380558a7e07 (patch)
tree3740130b0ac797834c55ad823067dd538d84b703 /src/KingSystem/Physics/System/physSystem.h
parente4f1a053cd02227328c561f4c21682c352964ce4 (diff)
ksys/phys: Add more RigidBody functions
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.h')
-rw-r--r--src/KingSystem/Physics/System/physSystem.h7
1 files changed, 6 insertions, 1 deletions
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;