metaforce/Runtime/Character/CInt32POINode.hpp

33 lines
974 B
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_CINT32POINODE_HPP__
#define __URDE_CINT32POINODE_HPP__
2016-04-11 07:10:28 +00:00
#include "CPOINode.hpp"
namespace urde
{
2016-04-12 06:15:32 +00:00
class IAnimSourceInfo;
2016-04-11 07:10:28 +00:00
class CInt32POINode : public CPOINode
{
2016-04-12 06:15:32 +00:00
s32 x38_val;
2016-04-11 07:10:28 +00:00
std::string x3c_boneName;
public:
CInt32POINode();
2016-04-11 07:10:28 +00:00
CInt32POINode(CInputStream& in);
2016-04-12 06:15:32 +00:00
s32 GetValue() const {return x38_val;}
const std::string& GetBoneName() const {return x3c_boneName;}
static u32 _getPOIList(const CCharAnimTime& time,
CInt32POINode* listOut,
u32 capacity, u32 iterator, u32 unk1,
const std::vector<CInt32POINode>& stream,
const CCharAnimTime& curTime,
const IAnimSourceInfo& animInfo, u32 passedCount);
static CInt32POINode CopyNodeMinusStartTime(const CInt32POINode& node,
const CCharAnimTime& startTime);
2016-04-11 07:10:28 +00:00
};
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CINT32POINODE_HPP__