Consistent names

This commit is contained in:
robojumper
2025-06-06 23:30:01 +02:00
parent 052c69fc96
commit 5969ccb7fd
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ class dSnd3DActor_c : public nw4r::snd::Sound3DActor {
static const u32 NUM_SOUNDS = 4;
public:
dSnd3DActor_c(dSndSourceParam *pAmbientParam, u8);
dSnd3DActor_c(dSndSourceParam *pSourceParam, u8);
virtual ~dSnd3DActor_c() {}
@@ -88,7 +88,7 @@ protected:
/* 0xAC */ nw4r::math::VEC3 mPositionTransformedByListener;
/* 0xB8 */ f32 mDistanceToCameraTarget;
/* 0xBC */ nw4r::math::VEC3 mPositionRelativeToCameraTarget;
/* 0xC8 */ dSndSourceParam *mpFloatBundle;
/* 0xC8 */ dSndSourceParam *mpSourceParam;
/* 0xCC */ u16 mFlags;
/* 0xD0 */ nw4r::math::VEC3 mPositionRelativeToPlayer;
/* 0xDC */ f32 mDistanceToPlayer;
+2 -2
View File
@@ -9,7 +9,7 @@
#include <cmath>
dSnd3DActor_c::dSnd3DActor_c(dSndSourceParam *pFloatBundle, u8 a2)
dSnd3DActor_c::dSnd3DActor_c(dSndSourceParam *pSourceParam, u8 a2)
: nw4r::snd::Sound3DActor(
dSndPlayerMgr_c::GetInstance()->getSoundArchivePlayerForType(a2), dSnd3DManager_c::GetInstance()->getManager()
),
@@ -24,7 +24,7 @@ dSnd3DActor_c::dSnd3DActor_c(dSndSourceParam *pFloatBundle, u8 a2)
mDistanceToListener(INFINITY),
mCameraDirectionDot(0.0f),
a_field_0x9C(0.0f),
mpFloatBundle(pFloatBundle),
mpSourceParam(pSourceParam),
mFlags(0),
mDistanceToPlayer(INFINITY),
a_field_0xE0(0.0f) {