2016-04-11 07:10:28 +00:00
|
|
|
#ifndef __PSHAG_CINT32POINODE_HPP__
|
|
|
|
#define __PSHAG_CINT32POINODE_HPP__
|
|
|
|
|
|
|
|
#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(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
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __PSHAG_CINT32POINODE_HPP__
|