mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
d_error_msg mostly done, little Z2LinkMgr work (#2248)
This commit is contained in:
@@ -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*);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user