2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-04-11 07:10:28 +00:00
|
|
|
|
2019-09-28 02:53:03 +00:00
|
|
|
#include "Runtime/Character/CCharAnimTime.hpp"
|
|
|
|
#include "Runtime/Character/CPOINode.hpp"
|
2016-04-11 07:10:28 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2016-04-12 06:15:32 +00:00
|
|
|
class IAnimSourceInfo;
|
2016-04-11 07:10:28 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CSoundPOINode : public CPOINode {
|
|
|
|
u32 x38_sfxId;
|
|
|
|
float x3c_falloff;
|
|
|
|
float x40_maxDist;
|
|
|
|
|
2016-04-11 07:10:28 +00:00
|
|
|
public:
|
2020-03-31 03:52:22 +00:00
|
|
|
explicit CSoundPOINode();
|
|
|
|
explicit CSoundPOINode(CInputStream& in);
|
|
|
|
explicit CSoundPOINode(std::string_view name, EPOIType type, 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
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
static CSoundPOINode CopyNodeMinusStartTime(const CSoundPOINode& node, const CCharAnimTime& startTime);
|
|
|
|
u32 GetSfxId() const { return x38_sfxId; }
|
|
|
|
float GetFalloff() const { return x3c_falloff; }
|
|
|
|
float GetMaxDist() const { return x40_maxDist; }
|
2016-04-11 07:10:28 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|