Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
Z2AudioMgr Class Reference

#include <Z2AudioMgr.h>

+ Inheritance diagram for Z2AudioMgr:
+ Collaboration diagram for Z2AudioMgr:

Public Member Functions

 Z2AudioMgr ()
 
 ~Z2AudioMgr ()
 
void init (JKRSolidHeap *, u32, void *, JKRArchive *)
 
void setOutputMode (u32)
 
void zeldaGFrameWork ()
 
void gframeProcess ()
 
void resetProcess (u32, bool)
 
void resetRecover ()
 
bool hasReset () const
 
bool isResetting ()
 
virtual bool startSound (JAISoundID, JAISoundHandle *, JGeometry::TVec3< f32 > const *)
 
- Public Member Functions inherited from Z2SeMgr
void seStart (JAISoundID, Vec const *, u32, s8, f32, f32, f32, f32, u8)
 
 Z2SeMgr ()
 
void initSe ()
 
void resetModY ()
 
void modHeightAtCamera (Vec const **)
 
void incrCrowdSize ()
 
void decrCrowdSize ()
 
bool seStart (JAISoundID, Vec const *, u32, s8, f32, f32, f32, f32, u8)
 
bool seStartLevel (JAISoundID, Vec const *, u32, s8, f32, f32, f32, f32, u8)
 
void seStop (JAISoundID, u32)
 
void seStopAll (u32)
 
void seMoveVolumeAll (f32, u32)
 
void messageSePlay (u16, Vec *, s8)
 
void talkInSe ()
 
void talkOutSe ()
 
void menuInSe ()
 
void setLevObjSE (u32, Vec *, s8)
 
void setMultiTriggerSE (u32, Vec *, s8)
 
void processSeFramework ()
 
bool isLevelSe (JAISoundID)
 
bool isSoundCulling (JAISoundID)
 
void resetCrowdSize ()
 
- Public Member Functions inherited from JASGlobalInstance< Z2SeMgr >
 JASGlobalInstance (Z2SeMgr *inst)
 
 JASGlobalInstance (bool param_1)
 
 ~JASGlobalInstance ()
 
- Public Member Functions inherited from Z2SeqMgr
void bgmStop (u32, s32)
 
void subBgmStart (u32)
 
void subBgmStop ()
 
 Z2SeqMgr ()
 
void bgmStart (u32 i_bgmID, u32, s32)
 
void bgmStop (u32 i_bgmID, s32)
 
void subBgmStart (u32)
 
void subBgmStop ()
 
void subBgmStopInner ()
 
void bgmStreamPrepare (u32)
 
bool bgmStreamCheckReady ()
 
void bgmStreamPlay ()
 
void bgmStreamStop (u32)
 
void changeBgmStatus (s32)
 
void changeSubBgmStatus (s32)
 
void onVariantBgmJumpEnd (bool)
 
void changeFishingBgm (s32)
 
void talkInBgm ()
 
void talkOutBgm ()
 
void menuInBgm ()
 
void menuOutBgm ()
 
void fanfareFramework ()
 
void stopWolfHowlSong ()
 
void setHeightVolMod (bool, u32)
 
void setTimeProcVolMod (bool, u32)
 
void processBgmFramework ()
 
bool checkBgmIDPlaying (u32)
 
f32 getChildTrackVolume (JAISoundHandle *, int)
 
void setChildTrackVolume (JAISoundHandle *, int, float, u32, float, float)
 
void resetBattleBgmParams ()
 
void setBattleBgmOff (bool)
 
void setBattleSearched (bool)
 
void setBattleDistIgnore (bool)
 
void setBattleGhostMute (bool)
 
void setBattleDistState (u8)
 
void setBattleSeqState (u8)
 
void setBattleLastHit (u8)
 
void battleBgmFramework ()
 
void startBattleBgm (bool)
 
void stopBattleBgm (u8, u8)
 
void fieldBgmStart ()
 
void fieldRidingMute ()
 
void onFieldBgmJumpStart ()
 
void onFieldBgmJumpEnd ()
 
void fieldBgmFramework ()
 
void mbossBgmMuteProcess ()
 
void bgmSetSwordUsing (s32)
 
void bgmNowBattle (float)
 
void taktModeMute ()
 
void taktModeMuteOff ()
 
void setFieldBgmPlay (bool value)
 
void unMuteSceneBgm (u32 count)
 
void muteSceneBgm (u32 count, f32 vol)
 
void setTwilightGateVol (f32 vol)
 
void setWindStoneVol (f32 vol, u32 count)
 
void onEnemyDamage ()
 
void bgmAllMute (u32 count, f32 val)
 
void bgmAllUnMute (u32 count)
 
bool isItemGetDemo ()
 
u32 getMainBgmID ()
 
u32 getSubBgmID ()
 
u32 getStreamBgmID ()
 
bool checkBgmPlaying ()
 
JAISoundHandlegetMainBgmHandle ()
 
JAISoundHandlegetSubBgmHandle ()
 
- Public Member Functions inherited from JASGlobalInstance< Z2SeqMgr >
 JASGlobalInstance (Z2SeqMgr *inst)
 
 JASGlobalInstance (bool param_1)
 
 ~JASGlobalInstance ()
 
- Public Member Functions inherited from Z2SceneMgr
 Z2SceneMgr ()
 
void setInDarkness (bool)
 
void setSceneExist (bool)
 
void setFadeOutStart (u8)
 
void setFadeInStart (u8)
 
void setSceneName (char *, s32, s32)
 
void sceneChange (JAISoundID, u8, u8, u8, u8, u8, bool)
 
void framework ()
 
void load1stDynamicWave ()
 
void _load1stWaveInner_1 ()
 
void _load1stWaveInner_2 ()
 
bool check1stDynamicWave ()
 
void load2ndDynamicWave ()
 
void sceneBgmStart ()
 
void loadStaticWaves ()
 
BOOL checkFirstWaves ()
 
bool eraseSeWave (u32)
 
bool eraseBgmWave (u32)
 
s32 getWaveLoadStatus (u32, u32)
 
bool loadSeWave (u32)
 
bool loadBgmWave (u32)
 
bool isSceneExist () const
 
int getCurrentSceneNum () const
 
s8 getCurrentRoomNum ()
 
bool isInGame () const
 
void setInGame (bool i_inGame)
 
bool isInDarkness () const
 
s8 getRoomReverb () const
 
bool isMovieDemo ()
 
s32 getSeLoadStatus (u32 wave)
 
s32 getBgmLoadStatus (u32 wave)
 
- Public Member Functions inherited from JASGlobalInstance< Z2SceneMgr >
 JASGlobalInstance (Z2SceneMgr *inst)
 
 JASGlobalInstance (bool param_1)
 
 ~JASGlobalInstance ()
 
- Public Member Functions inherited from Z2StatusMgr
 Z2StatusMgr ()
 
void heartGaugeOn ()
 
void processHeartGaugeSound ()
 
void talkIn ()
 
void talkOut ()
 
void menuIn ()
 
void menuOut ()
 
bool isMovieDemo ()
 
void setDemoName (char *)
 
void processTime ()
 
bool checkDayTime ()
 
void setEventBit (void *)
 
void setCameraPolygonPos (Vec *)
 
void setCameraGroupInfo (u8)
 
void setCameraInWaterDepth (float)
 
u8 getDemoStatus () const
 
void setHour (s32 hour)
 
void setMinute (s32 min)
 
void setWeekday (s32 day)
 
f32 getCameraInWaterDepth ()
 
f32 getCameraInWaterDepthRatio () const
 
u8 getHour ()
 
bool isPaused ()
 
bool isHeartGuageOn ()
 
void getCameraMapInfo (u32 info)
 
void setPauseFlag (u8 flag)
 
- Public Member Functions inherited from JASGlobalInstance< Z2StatusMgr >
 JASGlobalInstance (Z2StatusMgr *inst)
 
 JASGlobalInstance (bool param_1)
 
 ~JASGlobalInstance ()
 
- Public Member Functions inherited from Z2SoundObjMgr
 Z2SoundObjMgr ()
 
void setForceBattleArea (bool, u16, u16, u16)
 
void searchEnemy ()
 
void setGhostEnemyState (u8)
 
u8 getEnemyID (char const *, JSULink< Z2CreatureEnemy > *)
 
void setBattleInit ()
 
bool checkBattleFinish ()
 
void deleteEnemyAll ()
 
bool removeEnemy (JSULink< Z2CreatureEnemy > *)
 
u8 isTwilightBattle ()
 
u8 getEnemyNumVeryFar ()
 
bool isForceBattle ()
 
JSUList< Z2CreatureEnemy > * getEnemyList ()
 
- Public Member Functions inherited from JASGlobalInstance< Z2SoundObjMgr >
 JASGlobalInstance (Z2SoundObjMgr *inst)
 
 JASGlobalInstance (bool param_1)
 
 ~JASGlobalInstance ()
 

Static Public Member Functions

static Z2AudioMgrgetInterface ()
 
- Static Public Member Functions inherited from JASGlobalInstance< Z2SeMgr >
static Z2SeMgrgetInstance ()
 
- Static Public Member Functions inherited from JASGlobalInstance< Z2SeqMgr >
static Z2SeqMgrgetInstance ()
 
- Static Public Member Functions inherited from JASGlobalInstance< Z2SceneMgr >
static Z2SceneMgrgetInstance ()
 
- Static Public Member Functions inherited from JASGlobalInstance< Z2StatusMgr >
static Z2StatusMgrgetInstance ()
 
- Static Public Member Functions inherited from JASGlobalInstance< Z2SoundObjMgr >
static Z2SoundObjMgrgetInstance ()
 

Public Attributes

bool mResettingFlag
 
bool field_0x519
 
JASAudioReseter mAudioReseter
 
Z2SoundStarter mSoundStarter
 
Z2SoundMgr mSoundMgr
 
Z2SoundInfo mSoundInfo
 
Z2Audience mAudience
 
Z2SpeechMgr2 mSpeechMgr
 
Z2FxLineMgr mFxLineMgr
 
- Public Attributes inherited from Z2SeqMgr
JAISoundHandle mMainBgmHandle
 
JAISoundHandle mSubBgmHandle
 
JAISoundHandle mFanfareHandle
 
JAISoundHandle mStreamBgmHandle
 
JAISoundID mFanfareID
 
Z2SoundFader mMainBgmMaster
 
Z2SoundFader mSubBgmMaster
 
Z2SoundFader mBgmPause
 
Z2SoundFader mSceneBgm
 
Z2SoundFader mFanfareMute
 
Z2SoundFader mStreamBgmMaster
 
Z2SoundFader mAllBgmMaster
 
Z2SoundFader field_0x84
 
Z2SoundFader mWindStone
 
Z2SoundFader field_0xa4
 
f32 mTwilightGateVol
 
s16 field_0xb8
 
u8 mFanfareCount
 
u8 mDekuToadCount
 
u8 mBgmStatus
 
u8 mSubBgmStatus
 
u8 mBattleDistState
 
u8 mBattleSeqState
 
u8 mBattleSeqCount
 
u8 field_0xc1
 
u8 mBattleLastHit
 
u8 mRideCount
 
u8 field_0xc4
 
f32 field_0xc8
 
f32 field_0xcc
 
struct { 
 
   bool   mBattleDistIgnore: 1 
 
   bool   flag1: 1 
 
   bool   mBattleSearched: 1 
 
   bool   mBattleBgmOff: 1 
 
   bool   mRiding: 1 
 
   bool   mFieldBgmPlay: 1 
 
   bool   mHeightVolMod: 1 
 
   bool   mTimeProcVolMod: 1 
 
mFlags 
 
- Public Attributes inherited from Z2StatusMgr
u8 mHour
 
u8 mMinute
 
u8 mWeekday
 
u8 field_0x03
 
s16 mTime
 
voidmEventBit
 
u8 mPauseFlag
 
u32 mCameraMapInfo
 
u32 field_0x14
 
f32 mUnderwaterDepth
 
f32 mCameraInWaterDepthRatio
 
Vec mPolygonPosition
 
u8 mDemoStatus
 
u8 mHeartGaugeOn
 

Static Public Attributes

static u8 mAudioMgrPtr [4+4]
 
static Z2AudioMgrmAudioMgrPtr
 
- Static Public Attributes inherited from JASGlobalInstance< Z2SeMgr >
static Z2SeMgrsInstance
 
- Static Public Attributes inherited from JASGlobalInstance< Z2SeqMgr >
static Z2SeqMgrsInstance
 
- Static Public Attributes inherited from JASGlobalInstance< Z2SceneMgr >
static Z2SceneMgrsInstance
 
- Static Public Attributes inherited from JASGlobalInstance< Z2StatusMgr >
static Z2StatusMgrsInstance
 
- Static Public Attributes inherited from JASGlobalInstance< Z2SoundObjMgr >
static Z2SoundObjMgrsInstance
 

Additional Inherited Members

- Protected Member Functions inherited from JSUList< Z2CreatureEnemy >
 JSUList ()
 
 JSUList (bool init)
 
 ~JSUList ()
 
bool append (JSULink< Z2CreatureEnemy > *link)
 
bool prepend (JSULink< Z2CreatureEnemy > *link)
 
bool insert (JSULink< Z2CreatureEnemy > *before, JSULink< Z2CreatureEnemy > *link)
 
bool remove (JSULink< Z2CreatureEnemy > *link)
 
JSULink< Z2CreatureEnemy > * getFirst () const
 
JSULink< Z2CreatureEnemy > * getLast () const
 
JSULink< Z2CreatureEnemy > * getNth (int index)
 
JSULink< Z2CreatureEnemy > * getEnd () const
 
u32 getNumLinks () const
 
- Protected Member Functions inherited from JSUPtrList
 JSUPtrList ()
 
 JSUPtrList (bool init)
 
 ~JSUPtrList ()
 
void initiate ()
 
void setFirst (JSUPtrLink *first)
 
bool append (JSUPtrLink *ptr)
 
bool prepend (JSUPtrLink *ptr)
 
bool insert (JSUPtrLink *before, JSUPtrLink *ptr)
 
bool remove (JSUPtrLink *ptr)
 
JSUPtrLinkgetNthLink (u32 i) const
 
JSUPtrLinkgetFirstLink () const
 
JSUPtrLinkgetLastLink () const
 
u32 getNumLinks () const
 

Constructor & Destructor Documentation

◆ Z2AudioMgr()

Z2AudioMgr::Z2AudioMgr ( )

◆ ~Z2AudioMgr()

Z2AudioMgr::~Z2AudioMgr ( )
inline

Member Function Documentation

◆ getInterface()

static Z2AudioMgr * Z2AudioMgr::getInterface ( )
inlinestatic

◆ gframeProcess()

void Z2AudioMgr::gframeProcess ( )

◆ hasReset()

bool Z2AudioMgr::hasReset ( ) const

◆ init()

void Z2AudioMgr::init ( JKRSolidHeap param_0,
u32  param_1,
void param_2,
JKRArchive param_3 
)

◆ isResetting()

bool Z2AudioMgr::isResetting ( )
inline

◆ resetProcess()

void Z2AudioMgr::resetProcess ( u32  param_0,
bool  param_1 
)

◆ resetRecover()

void Z2AudioMgr::resetRecover ( )

◆ setOutputMode()

void Z2AudioMgr::setOutputMode ( u32  mode)

◆ startSound()

bool Z2AudioMgr::startSound ( JAISoundID  param_0,
JAISoundHandle param_1,
JGeometry::TVec3< f32 > const param_2 
)
virtual

◆ zeldaGFrameWork()

void Z2AudioMgr::zeldaGFrameWork ( )

Member Data Documentation

◆ field_0x519

bool Z2AudioMgr::field_0x519

◆ mAudience

Z2Audience Z2AudioMgr::mAudience

◆ mAudioMgrPtr [1/2]

Z2AudioMgr* Z2AudioMgr::mAudioMgrPtr
static

◆ mAudioMgrPtr [2/2]

Z2AudioMgr * Z2AudioMgr::mAudioMgrPtr
static

◆ mAudioReseter

JASAudioReseter Z2AudioMgr::mAudioReseter

◆ mFxLineMgr

Z2FxLineMgr Z2AudioMgr::mFxLineMgr

◆ mResettingFlag

bool Z2AudioMgr::mResettingFlag

◆ mSoundInfo

Z2SoundInfo Z2AudioMgr::mSoundInfo

◆ mSoundMgr

Z2SoundMgr Z2AudioMgr::mSoundMgr

◆ mSoundStarter

Z2SoundStarter Z2AudioMgr::mSoundStarter

◆ mSpeechMgr

Z2SpeechMgr2 Z2AudioMgr::mSpeechMgr

The documentation for this class was generated from the following files: