mirror of
https://github.com/zeldaret/botw
synced 2026-08-17 21:13:01 -04:00
ksys: Start adding PhysicsUserTag
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#include "KingSystem/Physics/System/physUserTag.h"
|
||||
|
||||
namespace ksys::phys {
|
||||
|
||||
void UserTag::m2(void* a) {
|
||||
// FIXME
|
||||
}
|
||||
|
||||
void UserTag::m3(void* a, void* b, float c) {
|
||||
// FIXME
|
||||
}
|
||||
|
||||
void UserTag::m4() {}
|
||||
|
||||
void UserTag::m5() {}
|
||||
|
||||
void UserTag::m7() {}
|
||||
|
||||
} // namespace ksys::phys
|
||||
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include <prim/seadRuntimeTypeInfo.h>
|
||||
#include <prim/seadSafeString.h>
|
||||
#include "KingSystem/Utils/Types.h"
|
||||
|
||||
namespace ksys::phys {
|
||||
|
||||
class UserTag {
|
||||
SEAD_RTTI_BASE(UserTag)
|
||||
public:
|
||||
UserTag() = default;
|
||||
|
||||
// FIXME: names and types
|
||||
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 m5();
|
||||
virtual const sead::SafeString& getName() const { return sead::SafeString::cEmptyString; }
|
||||
virtual void m7();
|
||||
virtual const sead::SafeString& getName2() const { return sead::SafeString::cEmptyString; }
|
||||
virtual ~UserTag() = default;
|
||||
};
|
||||
KSYS_CHECK_SIZE_NX150(UserTag, 0x8);
|
||||
|
||||
} // namespace ksys::phys
|
||||
Reference in New Issue
Block a user