2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CANIMTREESINGLECHILD_HPP__
|
|
|
|
#define __URDE_CANIMTREESINGLECHILD_HPP__
|
2016-04-10 21:22:59 +00:00
|
|
|
|
2016-04-11 03:59:54 +00:00
|
|
|
#include "CAnimTreeNode.hpp"
|
|
|
|
|
2016-04-10 21:22:59 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2016-04-11 03:59:54 +00:00
|
|
|
class CAnimTreeSingleChild : public CAnimTreeNode
|
2016-04-10 21:22:59 +00:00
|
|
|
{
|
2016-04-11 03:59:54 +00:00
|
|
|
std::shared_ptr<CAnimTreeNode> x14_child;
|
|
|
|
public:
|
|
|
|
CAnimTreeSingleChild(const std::weak_ptr<CAnimTreeNode>& node, const std::string& name);
|
|
|
|
|
2016-04-11 07:10:28 +00:00
|
|
|
SAdvancementResults VAdvanceView(const CCharAnimTime& a);
|
2016-04-11 07:47:21 +00:00
|
|
|
CCharAnimTime VGetTimeRemaining() const;
|
2016-04-11 03:59:54 +00:00
|
|
|
bool VHasOffset(const CSegId& seg) const;
|
2016-04-12 06:15:32 +00:00
|
|
|
zeus::CVector3f VGetOffset(const CSegId& seg) const;
|
|
|
|
zeus::CQuaternion VGetRotation(const CSegId& seg) const;
|
2016-04-11 07:47:21 +00:00
|
|
|
u32 VGetBoolPOIList(const CCharAnimTime& time, CBoolPOINode* listOut, u32 capacity, u32 iterator, u32) const;
|
|
|
|
u32 VGetInt32POIList(const CCharAnimTime& time, CInt32POINode* listOut, u32 capacity, u32 iterator, u32) const;
|
|
|
|
u32 VGetParticlePOIList(const CCharAnimTime& time, CParticlePOINode* listOut, u32 capacity, u32 iterator, u32) const;
|
|
|
|
u32 VGetSoundPOIList(const CCharAnimTime& time, CSoundPOINode* listOut, u32 capacity, u32 iterator, u32) const;
|
2016-04-12 06:15:32 +00:00
|
|
|
bool VGetBoolPOIState(const char* name) const;
|
|
|
|
s32 VGetInt32POIState(const char* name) const;
|
|
|
|
CParticleData::EParentedMode VGetParticlePOIState(const char* name) const;
|
2016-04-11 03:59:54 +00:00
|
|
|
void VGetSegStatementSet(const CSegIdList& list, CSegStatementSet& setOut) const;
|
|
|
|
void VGetSegStatementSet(const CSegIdList& list, CSegStatementSet& setOut, const CCharAnimTime& time) const;
|
|
|
|
void VSetPhase(float);
|
|
|
|
SAdvancementResults VGetAdvancementResults(const CCharAnimTime& a, const CCharAnimTime& b) const;
|
2016-08-27 04:54:53 +00:00
|
|
|
u32 Depth() const;
|
2016-04-11 23:35:37 +00:00
|
|
|
u32 VGetNumChildren() const;
|
2016-04-10 21:22:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CANIMTREESINGLECHILD_HPP__
|