2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 19:11:20 +00:00
metaforce/Runtime/Character/CBoolPOINode.cpp
Lioncash 1cb289f243 RuntimeCommon: Normalize cpp inclusions
Normalizes the headers for the cpp files in the RuntimeCommon target.
Now all headers and source files within the RuntimeCommon/RuntimeCommonB
targets are normalized and consistent with one another.
2020-01-15 09:15:47 -05:00

18 lines
521 B
C++

#include "Runtime/Character/CBoolPOINode.hpp"
#include "Runtime/Character/CAnimSourceReader.hpp"
namespace urde {
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 urde