ksys/phys: Add ClothResource stub

This commit is contained in:
Léo Lam
2022-01-07 00:19:35 +01:00
parent 423eb84362
commit 293b231fd8
4 changed files with 35 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
target_sources(uking PRIVATE
Cloth/physClothParam.cpp
Cloth/physClothParam.h
Cloth/physClothResource.cpp
Cloth/physClothResource.h
Ragdoll/physRagdollConfig.cpp
Ragdoll/physRagdollConfig.h
@@ -0,0 +1,7 @@
#include "KingSystem/Physics/Cloth/physClothResource.h"
namespace ksys::phys {
ClothResource::ClothResource() = default;
} // namespace ksys::phys
@@ -0,0 +1,25 @@
#pragma once
#include <prim/seadSafeString.h>
#include <resource/seadResource.h>
namespace ksys::phys {
class ClothResource : public sead::DirectResource {
public:
ClothResource();
~ClothResource() override;
void doCreate_(u8* buffer, u32 bufferSize, sead::Heap* heap) override;
private:
void* _20{};
int _28{};
void* _30{};
int _38{};
void* _40{};
u8 _48{};
sead::FixedSafeString<128> _50;
};
} // namespace ksys::phys