2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 04:27:42 +00:00

New code style refactor

This commit is contained in:
Jack Andersen
2018-12-07 19:30:43 -10:00
parent 41ae32be31
commit 636c82a568
1451 changed files with 171430 additions and 203303 deletions

View File

@@ -3,28 +3,24 @@
#include "CPOINode.hpp"
#include "CCharAnimTime.hpp"
namespace urde
{
namespace urde {
class IAnimSourceInfo;
class CSoundPOINode : public CPOINode
{
u32 x38_sfxId;
float x3c_falloff;
float x40_maxDist;
public:
CSoundPOINode();
CSoundPOINode(CInputStream& in);
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);
class CSoundPOINode : public CPOINode {
u32 x38_sfxId;
float x3c_falloff;
float x40_maxDist;
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; }
public:
CSoundPOINode();
CSoundPOINode(CInputStream& in);
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);
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; }
};
}
} // namespace urde