2016-04-11 07:10:28 +00:00
|
|
|
#include "CBoolPOINode.hpp"
|
2016-04-12 06:15:32 +00:00
|
|
|
#include "CAnimSourceReader.hpp"
|
2016-04-11 07:10:28 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
CBoolPOINode::CBoolPOINode()
|
2016-08-21 20:39:18 +00:00
|
|
|
: CPOINode("root", EPOIType::EmptyBool, CCharAnimTime(), -1, false, 1.f, -1, 0) {}
|
2016-04-11 07:10:28 +00:00
|
|
|
|
|
|
|
CBoolPOINode::CBoolPOINode(CInputStream& in)
|
|
|
|
: CPOINode(in), x38_val(in.readBool()) {}
|
|
|
|
|
2016-04-12 06:15:32 +00:00
|
|
|
CBoolPOINode CBoolPOINode::CopyNodeMinusStartTime(const CBoolPOINode& node,
|
|
|
|
const CCharAnimTime& startTime)
|
|
|
|
{
|
|
|
|
CBoolPOINode ret = node;
|
|
|
|
ret.x1c_time -= startTime;
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2016-04-11 07:10:28 +00:00
|
|
|
}
|