1#include "Game/AreaObj/SoundEmitterSphere.hpp"
2#include "Game/AudioLib/AudAnmSoundObject.hpp"
5 const char *gSoundNameTable[6] = {
6 "SE_AT_LV_MAGMA_AMBIENT",
7 "SE_OJ_LV_FLOATING_SAND",
8 "SE_AT_LV_WIND_DESERT",
9 "SE_AT_LV_MAGMA_WIND_VOLCANO",
10 "SE_AT_LV_KOOPA_FLOAT_SAND",
11 "SE_AT_LV_WIND_RABBIT_MAZE"
15SoundEmitterSphere::SoundEmitterSphere(
int type,
const char *pName) :
AreaObj(type, pName) {
24SoundEmitterSphere::~SoundEmitterSphere() {
30 mSoundName = gSoundNameTable[mObjArg0];
31 mSoundIndex = mObjArg0;
34 MR::connectToSceneAreaObj(
this);
35 MR::registerDemoSimpleCastAll(
this);
38void SoundEmitterSphere::movement() {
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.