|
virtual bool | Init (const char *resname, bool loop, float volume_preset, int type, SoundControl *&ctrl, bool dopplerEffect) |
| Initialize this Handle. More...
|
|
| SongHandle (csRef< iDocument > musicalSheet, Instrument *instrument) |
| Constructor. More...
|
|
virtual | ~SongHandle () |
| Destructor. More...
|
|
Public Member Functions inherited from SoundHandle |
void | ConvertTo3D (float mindist, float maxdist, csVector3 pos, csVector3 dir, float rad) |
| Converts this Handle to a 3D Handle. More...
|
|
void | ConvertTo3D (float mindist, float maxdist, csVector3 pos, csVector3 dir, float rad) |
| Converts this Handle to a 3D Handle. More...
|
|
void | Fade (float volume, int time, int direction) |
| Does fading calculation for this Handle. More...
|
|
void | Fade (float volume, int time, int direction) |
| Does fading calculation for this Handle. More...
|
|
void | FadeStep () |
| Perform a fading step if it is needed. More...
|
|
bool | GetAutoRemove () |
| Returns state of AutoRemove. More...
|
|
bool | GetAutoRemove () |
| Returns state of AutoRemove. More...
|
|
uint | GetID () const |
| Gets the ID of this handle. More...
|
|
csVector3 | GetSourcePosition () |
| Gets the position of the source. More...
|
|
bool | Init (const char *resname, bool loop, float volume_preset, int type, SoundControl *&ctrl) |
| Initialize this Handle. More...
|
|
bool | Is3D () |
| Detects if the source of this handle is 3D. More...
|
|
bool | IsDopplerEffectEnabled () |
| Check if the doppler effect is enabled for this sound. More...
|
|
bool | IsWithinMaximumDistance (csVector3 listenerPos) const |
| Check if the listener is within the maximum distance allowed. More...
|
|
virtual void | OnSoundChange (SoundControl *sndCtrl) |
| This function is called everytime the volume or the toggle change. More...
|
|
virtual bool | Perform (iTimerEvent *) |
| Unpause the sound after the given delay has elapsed. More...
|
|
void | RemoveCallback () |
| Remove the callback. More...
|
|
void | RemoveCallback () |
| Remove the callback. More...
|
|
void | SetAutoRemove (bool toggle) |
| Whether to remove this Sound/Handle on pause. More...
|
|
void | SetAutoRemove (bool toggle) |
| Whether to remove this Sound/Handle on pause. More...
|
|
void | SetCallback (void(*object), void(*function)(void *)) |
| Sets a Callback to a object function. More...
|
|
void | SetCallback (void(*object), void(*function)(void *)) |
| Sets a Callback to a object function. More...
|
|
void | SetID (uint identifier) |
| Sets the ID of this handle. More...
|
|
| SoundHandle (SoundSystemManager *) |
| constructor More...
|
|
| SoundHandle () |
| constructor More...
|
|
void | UnpauseAfterDelay (unsigned int delay) |
| Unpause the sound stream of this header after the given delay. More...
|
|
| ~SoundHandle () |
| destructor More...
|
|
virtual | ~SoundHandle () |
| destructor More...
|
|
Definition at line 34 of file songhandle.h.