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
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
4 changed files with 35 additions and 1 deletions

View File

@ -93541,7 +93541,7 @@ Address,Quality,Size,Name
0x000000710121cc30,O,000072,_ZN4ksys4phys10ClothParamD2Ev
0x000000710121cc78,O,000004,_ZN4ksys4phys10ClothParamD0Ev
0x000000710121cc7c,O,000004,_ZN4ksys4phys17ClothSubWindParamD0Ev
0x000000710121cc80,U,000152,
0x000000710121cc80,O,000152,_ZN4ksys4phys13ClothResourceC1Ev
0x000000710121cd18,U,000356,
0x000000710121ce7c,U,000036,
0x000000710121cea0,U,000068,

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

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

View File

@ -0,0 +1,7 @@
#include "KingSystem/Physics/Cloth/physClothResource.h"
namespace ksys::phys {
ClothResource::ClothResource() = default;
} // namespace ksys::phys

View File

@ -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