2016-04-13 06:07:23 +00:00
|
|
|
#ifndef __URDE_CSOUNDPOINODE_HPP__
|
|
|
|
#define __URDE_CSOUNDPOINODE_HPP__
|
2016-04-11 07:10:28 +00:00
|
|
|
|
|
|
|
#include "CPOINode.hpp"
|
|
|
|
#include "CCharAnimTime.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2016-04-12 06:15:32 +00:00
|
|
|
class IAnimSourceInfo;
|
2016-04-11 07:10:28 +00:00
|
|
|
|
|
|
|
class CSoundPOINode : public CPOINode
|
|
|
|
{
|
|
|
|
u32 x38_sfxId;
|
|
|
|
float x3c_falloff;
|
|
|
|
float x40_maxDist;
|
|
|
|
public:
|
2016-04-16 21:49:47 +00:00
|
|
|
CSoundPOINode();
|
2016-04-11 07:10:28 +00:00
|
|
|
CSoundPOINode(CInputStream& in);
|
|
|
|
CSoundPOINode(const std::string& name, u16 a,
|
|
|
|
const CCharAnimTime& time, u32 b, bool c,
|
|
|
|
float d, u32 e, u32 f, u32 sfxId, float falloff, float maxDist);
|
2016-04-12 06:15:32 +00:00
|
|
|
|
|
|
|
static u32 _getPOIList(const CCharAnimTime& time,
|
|
|
|
CSoundPOINode* listOut,
|
|
|
|
u32 capacity, u32 iterator, u32 unk1,
|
|
|
|
const std::vector<CSoundPOINode>& stream,
|
|
|
|
const CCharAnimTime& curTime,
|
|
|
|
const IAnimSourceInfo& animInfo, u32 passedCount);
|
|
|
|
static CSoundPOINode CopyNodeMinusStartTime(const CSoundPOINode& node,
|
|
|
|
const CCharAnimTime& startTime);
|
2016-04-11 07:10:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CSOUNDPOINODE_HPP__
|