Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JAISoundHandles.h
Go to the documentation of this file.
1#ifndef JAISOUNDHANDLES_H
2#define JAISOUNDHANDLES_H
3
6
7class JAISound;
8class JAISoundID;
9
15public:
18
19 bool isSoundAttached() const { return sound_ != NULL; }
20
22 JUT_ASSERT(58, sound_ != 0);
23 return sound_;
24 }
25
26 operator bool() const { return isSoundAttached(); }
27
28 void releaseSound();
29
30 JAISound* getSound() { return sound_; }
31
32 JAISound* sound_; // member from assert in operator->()
33};
34
55
56#endif /* JAISOUNDHANDLES_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JAISoundHandles.h:14
JAISoundHandle()
Definition JAISoundHandles.h:16
void releaseSound()
Definition JAISound.cpp:14
bool isSoundAttached() const
Definition JAISoundHandles.h:19
JAISound * operator->() const
Definition JAISoundHandles.h:21
JAISound * sound_
Definition JAISoundHandles.h:32
~JAISoundHandle()
Definition JAISoundHandles.h:17
JAISound * getSound()
Definition JAISoundHandles.h:30
Definition JAISoundHandles.h:39
JAISoundHandles(JAISoundHandle *pHandle, int param_1)
Definition JAISoundHandles.h:41
JAISoundHandle * getHandleSoundID(JAISoundID)
Definition JAISoundHandles.cpp:18
int numHandles_
Definition JAISoundHandles.h:53
JAISoundHandle * getFreeHandle()
Definition JAISoundHandles.cpp:31
JAISoundHandle & operator[](int n)
Definition JAISoundHandles.h:46
JAISoundHandle * mSoundHandle
Definition JAISoundHandles.h:52
Definition JAISound.h:234
n
Definition e_fmod.c:112
Definition d_a_obj_sekizoa.cpp:447