ksys/phys: Add RigidBodyResource

This commit is contained in:
Léo Lam 2022-01-07 00:24:11 +01:00
parent 293b231fd8
commit 9a3016d4a9
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
4 changed files with 36 additions and 6 deletions

View File

@ -95360,12 +95360,12 @@ Address,Quality,Size,Name
0x00000071012afb84,O,000032,_ZN4ksys4phys14MotionAccessor17disableMotionFlagENS0_9RigidBody10MotionFlagE
0x00000071012afba4,U,000112,
0x00000071012afc14,U,000092,
0x00000071012afc70,U,000048,HavokResource::ctor
0x00000071012afca0,U,000004,j__ZN4sead14DirectResourceD2Ev_1
0x00000071012afca4,U,000036,
0x00000071012afcc8,U,000004,nullsub_4776
0x00000071012afccc,U,000288,
0x00000071012afdec,U,000092,
0x00000071012afc70,O,000048,_ZN4ksys4phys17RigidBodyResourceC1Ev
0x00000071012afca0,O,000004,_ZN4ksys4phys17RigidBodyResourceD1Ev
0x00000071012afca4,O,000036,_ZN4ksys4phys17RigidBodyResourceD0Ev
0x00000071012afcc8,O,000004,_ZN4ksys4phys17RigidBodyResource9doCreate_EPhjPN4sead4HeapE
0x00000071012afccc,O,000288,_ZNK4ksys4phys17RigidBodyResource27checkDerivedRuntimeTypeInfoEPKN4sead15RuntimeTypeInfo9InterfaceE
0x00000071012afdec,O,000092,_ZNK4ksys4phys17RigidBodyResource18getRuntimeTypeInfoEv
0x00000071012afe48,U,000060,
0x00000071012afe84,U,000052,
0x00000071012afeb8,U,000188,

Can't render this file because it is too large.

View File

@ -19,6 +19,8 @@ target_sources(uking PRIVATE
RigidBody/physRigidBodyFactory.h
RigidBody/physRigidBodyParam.cpp
RigidBody/physRigidBodyParam.h
RigidBody/physRigidBodyResource.cpp
RigidBody/physRigidBodyResource.h
RigidBody/physRigidBodySetParam.cpp
RigidBody/physRigidBodySetParam.h
RigidBody/Shape/physBoxShape.cpp

View File

@ -0,0 +1,11 @@
#include "KingSystem/Physics/RigidBody/physRigidBodyResource.h"
namespace ksys::phys {
RigidBodyResource::RigidBodyResource() = default;
RigidBodyResource::~RigidBodyResource() = default;
void RigidBodyResource::doCreate_(u8* buffer, u32 bufferSize, sead::Heap* heap) {}
} // namespace ksys::phys

View File

@ -0,0 +1,17 @@
#pragma once
#include <resource/seadResource.h>
namespace ksys::phys {
class RigidBodyResource : public sead::DirectResource {
SEAD_RTTI_OVERRIDE(RigidBodyResource, sead::DirectResource)
public:
RigidBodyResource();
~RigidBodyResource() override;
void doCreate_(u8* buffer, u32 bufferSize, sead::Heap* heap) override;
};
} // namespace ksys::phys