metaforce/Runtime/Character/CInt32POINode.cpp

19 lines
570 B
C++
Raw Normal View History

2016-04-11 07:10:28 +00:00
#include "CInt32POINode.hpp"
2016-04-12 06:15:32 +00:00
#include "CAnimSourceReader.hpp"
2016-04-11 07:10:28 +00:00
2018-12-08 05:30:43 +00:00
namespace urde {
2016-04-11 07:10:28 +00:00
CInt32POINode::CInt32POINode()
2016-08-21 20:39:18 +00:00
: CPOINode("root", EPOIType::EmptyInt32, CCharAnimTime(), -1, false, 1.f, -1, 0), x38_val(0), x3c_locatorName("root") {}
2016-04-11 07:10:28 +00:00
CInt32POINode::CInt32POINode(CInputStream& in)
2016-04-28 04:52:41 +00:00
: CPOINode(in), x38_val(in.readUint32Big()), x3c_locatorName(in.readString()) {}
2016-04-11 07:10:28 +00:00
2018-12-08 05:30:43 +00:00
CInt32POINode CInt32POINode::CopyNodeMinusStartTime(const CInt32POINode& node, const CCharAnimTime& startTime) {
CInt32POINode ret = node;
ret.x1c_time -= startTime;
return ret;
2016-04-12 06:15:32 +00:00
}
2018-12-08 05:30:43 +00:00
} // namespace urde