#include <soundList.h>
Public Member Functions | |
| SoundLoopManager (Sound *snd, bool _active=true) | |
| void | activate (int dummy) |
| void | fadeOut (int ms) |
| ~SoundLoopManager () | |
A sound may be preloaded, later activated and this class assures that it is closed again. Or it simply can be loaded with a running sound and stops it on destruction
Definition at line 19 of file soundList.h.
|
||||||||||||
|
Definition at line 43 of file soundList.cpp. References displayLogMessage(). |
|
|
Definition at line 27 of file soundList.h. References Sound::stop(). |
|
|
Definition at line 50 of file soundList.cpp. References displayLogMessage(), and Sound::playLoop(). Referenced by BaseVehicleMovement::moveunitxy(). |
|
|
Definition at line 26 of file soundList.h. References Sound::fadeOut(). Referenced by BaseVehicleMovement::moveunitxy(). |
1.4.2