From bf5279ef2f880cc610808aaa2652a1fa29c61af3 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Fri, 9 Dec 2022 11:38:58 -0800 Subject: [PATCH] Match and link CPrimitive and CHalfTransition, add CPOINode --- src/Kyoto/Animation/CHalfTransition.cpp | 7 +++++++ src/Kyoto/Animation/CPOINode.cpp | 1 + src/Kyoto/Animation/CPrimitive.cpp | 10 ++++++++++ 3 files changed, 18 insertions(+) create mode 100644 src/Kyoto/Animation/CHalfTransition.cpp create mode 100644 src/Kyoto/Animation/CPOINode.cpp create mode 100644 src/Kyoto/Animation/CPrimitive.cpp diff --git a/src/Kyoto/Animation/CHalfTransition.cpp b/src/Kyoto/Animation/CHalfTransition.cpp new file mode 100644 index 00000000..aa6c56a4 --- /dev/null +++ b/src/Kyoto/Animation/CHalfTransition.cpp @@ -0,0 +1,7 @@ +#include "Kyoto/Animation/CHalfTransition.hpp" + +#include "Kyoto/Animation/CMetaTransFactory.hpp" +#include "Kyoto/Streams/CInputStream.hpp" + +CHalfTransition::CHalfTransition(CInputStream& in) +: x0_id(in.Get< uint >()), x4_trans(CMetaTransFactory::CreateMetaTrans(in)) {} diff --git a/src/Kyoto/Animation/CPOINode.cpp b/src/Kyoto/Animation/CPOINode.cpp new file mode 100644 index 00000000..2e40bfc5 --- /dev/null +++ b/src/Kyoto/Animation/CPOINode.cpp @@ -0,0 +1 @@ +#include "Kyoto/Animation/CPOINode.hpp" diff --git a/src/Kyoto/Animation/CPrimitive.cpp b/src/Kyoto/Animation/CPrimitive.cpp new file mode 100644 index 00000000..de199caf --- /dev/null +++ b/src/Kyoto/Animation/CPrimitive.cpp @@ -0,0 +1,10 @@ +#include "Kyoto/Animation/CPrimitive.hpp" + +#include "Kyoto/Streams/CInputStream.hpp" + +CPrimitive::CPrimitive(CInputStream& in) +: x0_animId(in.Get()) +, x4_animIdx(in.Get()) +, x8_animName(in) { + +}