mirror of
https://github.com/zeldaret/botw
synced 2026-08-17 05:01:25 -04:00
ksys/phys: Add more RigidBody functions
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -10,7 +10,7 @@ void UserTag::m3(void* a, void* b, float c) {
|
||||
// FIXME
|
||||
}
|
||||
|
||||
void UserTag::m4() {}
|
||||
void UserTag::onBodyShapeChanged(RigidBody* body) {}
|
||||
|
||||
void UserTag::m5() {}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ public:
|
||||
virtual void m2(void* a);
|
||||
// a and b are probably physics bodies?
|
||||
virtual void m3(void* a, void* b, float c);
|
||||
virtual void m4();
|
||||
virtual void onBodyShapeChanged(RigidBody* body);
|
||||
virtual void m5();
|
||||
virtual const sead::SafeString& getName() const { return sead::SafeString::cEmptyString; }
|
||||
virtual void m7(RigidBody* rigid_body, int a);
|
||||
|
||||
Reference in New Issue
Block a user