summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/Actor/resResourcePhysics.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-06-15 17:47:03 +0200
committerLéo Lam <leo@leolam.fr>2021-06-15 18:04:39 +0200
commitdd0cc52ce99b9d78f1c7022c1bf13349149f263a (patch)
tree2eb5acd7d704d612181399bd8ab2be7b84fe450f /src/KingSystem/Resource/Actor/resResourcePhysics.cpp
parent38e5e47b07696a0954145bf68148cb0301cf133c (diff)
ksys: Move ActorParam classes into separate folder to declutter Resource/
Diffstat (limited to 'src/KingSystem/Resource/Actor/resResourcePhysics.cpp')
-rw-r--r--src/KingSystem/Resource/Actor/resResourcePhysics.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/KingSystem/Resource/Actor/resResourcePhysics.cpp b/src/KingSystem/Resource/Actor/resResourcePhysics.cpp
new file mode 100644
index 00000000..f9a90eda
--- /dev/null
+++ b/src/KingSystem/Resource/Actor/resResourcePhysics.cpp
@@ -0,0 +1,15 @@
+#include "KingSystem/Resource/Actor/resResourcePhysics.h"
+
+namespace ksys::res {
+
+void Physics::doCreate_(u8* buffer, u32 buffer_size, sead::Heap* heap) {}
+
+bool Physics::parse_(u8* data, size_t size, sead::Heap* heap) {
+ if (!data)
+ return true;
+
+ mParamSet.parse(this, agl::utl::ResParameterArchive{data}, heap);
+ return true;
+}
+
+} // namespace ksys::res