2016-04-11 07:10:28 +00:00
|
|
|
#include "CParticlePOINode.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
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
CParticlePOINode::CParticlePOINode() : CPOINode("root", EPOIType::Particle, CCharAnimTime(), -1, false, 1.f, -1, 0) {}
|
2016-04-16 21:49:47 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
CParticlePOINode::CParticlePOINode(CInputStream& in) : CPOINode(in), x38_data(in) {}
|
2016-04-11 07:10:28 +00:00
|
|
|
|
2016-04-12 06:15:32 +00:00
|
|
|
CParticlePOINode CParticlePOINode::CopyNodeMinusStartTime(const CParticlePOINode& node,
|
2018-12-08 05:30:43 +00:00
|
|
|
const CCharAnimTime& startTime) {
|
|
|
|
CParticlePOINode 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
|