mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
Add CPOINode family of classes
This commit is contained in:
19
Runtime/Character/CSoundPOINode.cpp
Normal file
19
Runtime/Character/CSoundPOINode.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "CSoundPOINode.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
CSoundPOINode::CSoundPOINode(CInputStream& in)
|
||||
: CPOINode(in),
|
||||
x38_sfxId(in.readUint32Big()),
|
||||
x3c_falloff(in.readFloatBig()),
|
||||
x40_maxDist(in.readFloatBig())
|
||||
{}
|
||||
|
||||
CSoundPOINode::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)
|
||||
: CPOINode(name, a, time, b, c, d, e, f),
|
||||
x38_sfxId(sfxId), x3c_falloff(falloff), x40_maxDist(maxDist) {}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user