d_error_msg mostly done, little Z2LinkMgr work (#2248)

This commit is contained in:
TakaRikka
2024-11-12 02:41:55 -08:00
committed by GitHub
parent f2a7b2a83a
commit ebd7e3feed
14 changed files with 426 additions and 466 deletions
+2 -1
View File
@@ -29,8 +29,9 @@ public:
void resetRecover();
bool hasReset() const;
static Z2AudioMgr* getInterface() { return mAudioMgrPtr; }
bool isResetting() { return mResettingFlag; }
static Z2AudioMgr* getInterface() { return mAudioMgrPtr; }
static Z2AudioMgr* mAudioMgrPtr;
/* 0x0514 */ virtual bool startSound(JAISoundID, JAISoundHandle*, JGeometry::TVec3<f32> const*);
+2 -2
View File
@@ -64,8 +64,8 @@ public:
void setRiding(bool);
void setMagnetized(bool);
void setWolfEyeOpen(bool);
void startLinkSound(JAISoundID, u32, s8);
void startLinkSoundLevel(JAISoundID, u32, s8);
Z2SoundHandlePool* startLinkSound(JAISoundID, u32, s8);
JAISoundHandle* startLinkSoundLevel(JAISoundID, u32, s8);
void startLinkVoice(JAISoundID, s8);
void startLinkVoiceLevel(JAISoundID, s8);
void startLinkSwordSound(JAISoundID, u32, s8);
+7
View File
@@ -30,6 +30,13 @@ public:
void stopAllSounds(u32 fadeout);
void stopSound(JAISoundID soundID, u32 param_1) {
JAISoundHandle* phandle = getHandleSoundID(soundID);
if (phandle != NULL) {
(*phandle)->stop(param_1);
}
}
void setPos(const JGeometry::TVec3<f32>& pos);
int getNumHandles() const { return getNumLinks(); }