2016-04-11 03:59:54 +00:00
|
|
|
#include "CAnimTreeSingleChild.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2017-11-13 06:19:18 +00:00
|
|
|
CAnimTreeSingleChild::CAnimTreeSingleChild(const std::weak_ptr<CAnimTreeNode>& node, std::string_view name)
|
2016-04-11 03:59:54 +00:00
|
|
|
: CAnimTreeNode(name)
|
2016-09-14 05:45:46 +00:00
|
|
|
, x14_child(node.lock())
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-11 07:10:28 +00:00
|
|
|
SAdvancementResults CAnimTreeSingleChild::VAdvanceView(const CCharAnimTime& a)
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return {};
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-11 07:47:21 +00:00
|
|
|
CCharAnimTime CAnimTreeSingleChild::VGetTimeRemaining() const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return {};
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CAnimTreeSingleChild::VHasOffset(const CSegId& seg) const
|
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return false;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-12 06:15:32 +00:00
|
|
|
zeus::CVector3f CAnimTreeSingleChild::VGetOffset(const CSegId& seg) const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return {};
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-12 06:15:32 +00:00
|
|
|
zeus::CQuaternion CAnimTreeSingleChild::VGetRotation(const CSegId& seg) const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return {};
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-11 07:47:21 +00:00
|
|
|
u32 CAnimTreeSingleChild::VGetBoolPOIList(const CCharAnimTime& time,
|
|
|
|
CBoolPOINode* listOut,
|
|
|
|
u32 capacity, u32 iterator, u32) const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return 0;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-11 07:47:21 +00:00
|
|
|
u32 CAnimTreeSingleChild::VGetInt32POIList(const CCharAnimTime& time,
|
|
|
|
CInt32POINode* listOut,
|
|
|
|
u32 capacity, u32 iterator, u32) const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return 0;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-11 07:47:21 +00:00
|
|
|
u32 CAnimTreeSingleChild::VGetParticlePOIList(const CCharAnimTime& time,
|
|
|
|
CParticlePOINode* listOut,
|
|
|
|
u32 capacity, u32 iterator, u32) const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return 0;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-11 07:47:21 +00:00
|
|
|
u32 CAnimTreeSingleChild::VGetSoundPOIList(const CCharAnimTime& time,
|
|
|
|
CSoundPOINode* listOut,
|
|
|
|
u32 capacity, u32 iterator, u32) const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return 0;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-12 06:15:32 +00:00
|
|
|
bool CAnimTreeSingleChild::VGetBoolPOIState(const char* name) const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return false;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-12 06:15:32 +00:00
|
|
|
s32 CAnimTreeSingleChild::VGetInt32POIState(const char* name) const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return -1;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-12 06:15:32 +00:00
|
|
|
CParticleData::EParentedMode CAnimTreeSingleChild::VGetParticlePOIState(const char* name) const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return CParticleData::EParentedMode::Initial;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CAnimTreeSingleChild::VGetSegStatementSet(const CSegIdList& list,
|
|
|
|
CSegStatementSet& setOut) const
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CAnimTreeSingleChild::VGetSegStatementSet(const CSegIdList& list,
|
|
|
|
CSegStatementSet& setOut,
|
|
|
|
const CCharAnimTime& time) const
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CAnimTreeSingleChild::VSetPhase(float)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
SAdvancementResults
|
|
|
|
CAnimTreeSingleChild::VGetAdvancementResults(const CCharAnimTime& a,
|
|
|
|
const CCharAnimTime& b) const
|
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return {};
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-08-27 04:54:53 +00:00
|
|
|
u32 CAnimTreeSingleChild::Depth() const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-08-27 04:54:53 +00:00
|
|
|
return 1;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
2016-04-11 23:35:37 +00:00
|
|
|
u32 CAnimTreeSingleChild::VGetNumChildren() const
|
2016-04-11 03:59:54 +00:00
|
|
|
{
|
2016-05-21 03:02:09 +00:00
|
|
|
return 0;
|
2016-04-11 03:59:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|