mirror of https://github.com/AxioDL/metaforce.git
18 lines
531 B
C++
18 lines
531 B
C++
#include "Runtime/Character/CBoolPOINode.hpp"
|
|
|
|
#include "Runtime/Character/CAnimSourceReader.hpp"
|
|
|
|
namespace metaforce {
|
|
|
|
CBoolPOINode::CBoolPOINode() : CPOINode("root", EPOIType::EmptyBool, CCharAnimTime(), -1, false, 1.f, -1, 0) {}
|
|
|
|
CBoolPOINode::CBoolPOINode(CInputStream& in) : CPOINode(in), x38_val(in.ReadBool()) {}
|
|
|
|
CBoolPOINode CBoolPOINode::CopyNodeMinusStartTime(const CBoolPOINode& node, const CCharAnimTime& startTime) {
|
|
CBoolPOINode ret = node;
|
|
ret.x1c_time -= startTime;
|
|
return ret;
|
|
}
|
|
|
|
} // namespace metaforce
|