mirror of
https://github.com/zeldaret/botw
synced 2026-06-08 20:20:12 -04:00
ksys/phys: Start adding RigidContactPoints
Super messy stuff. I have no idea what it's used for
This commit is contained in:
@@ -10,6 +10,8 @@ namespace ksys::phys {
|
||||
class ContactMgr;
|
||||
class GroupFilter;
|
||||
class RigidBody;
|
||||
class RigidContactPoints;
|
||||
class RigidContactPointsEx;
|
||||
class SystemGroupHandler;
|
||||
|
||||
// FIXME: obviously incomplete. Also this should be moved to its own header
|
||||
@@ -19,15 +21,25 @@ struct RigidBodyRequestMgr {
|
||||
|
||||
class MemSystem {
|
||||
SEAD_SINGLETON_DISPOSER(MemSystem)
|
||||
MemSystem();
|
||||
virtual ~MemSystem();
|
||||
|
||||
public:
|
||||
GroupFilter* getGroupFilter(ContactLayerType type) const;
|
||||
ContactMgr* getContactMgr() const { return mContactMgr; }
|
||||
RigidBodyRequestMgr* getRigidBodyRequestMgr() const { return mRigidBodyRequestMgr; }
|
||||
|
||||
RigidContactPoints* allocContactPoints(sead::Heap* heap, int num, const sead::SafeString& name,
|
||||
int a, int b, int c) const;
|
||||
void freeContactPoints(RigidContactPoints* points) const;
|
||||
void registerContactPoints(RigidContactPoints* points) const;
|
||||
void registerContactPointLayerPair(RigidContactPointsEx* points, ContactLayer layer1,
|
||||
ContactLayer layer2, bool enabled);
|
||||
|
||||
void removeSystemGroupHandler(SystemGroupHandler* handler);
|
||||
|
||||
private:
|
||||
u8 _20[0x148 - 0x20];
|
||||
u8 _28[0x148 - 0x28];
|
||||
ContactMgr* mContactMgr;
|
||||
void* _150;
|
||||
void* _158;
|
||||
|
||||
Reference in New Issue
Block a user