Public Member Functions | |
| TSoundStatus (TSoundData &sd, NLMISC::CVector position, float gain, float distance, bool inside) | |
| Constructor. | |
Data Fields | |
| float | Distance |
| The distance beween listener and source. | |
| float | Gain |
| bool | Inside |
| flag if inside a sound zone | |
| NLMISC::CVector | Position |
| The position of the source. | |
| TSoundData & | SoundData |
| The data of the sound. | |
|
||||||||||||||||||||||||
|
Constructor.
Definition at line 282 of file background_sound_manager.h. References Gain, Inside, and SoundData.
|
|
|
The distance beween listener and source.
Definition at line 278 of file background_sound_manager.h. |
|
|
The relative gain of the source. This is used for patatoid competition.when a smaller patatoid mute bigger one. Definition at line 276 of file background_sound_manager.h. Referenced by TSoundStatus(), and NLSOUND::CBackgroundSoundManager::updateBackgroundStatus(). |
|
|
flag if inside a sound zone
Definition at line 280 of file background_sound_manager.h. Referenced by TSoundStatus(), and NLSOUND::CBackgroundSoundManager::updateBackgroundStatus(). |
|
|
The position of the source.
Definition at line 272 of file background_sound_manager.h. Referenced by NLSOUND::CBackgroundSoundManager::updateBackgroundStatus(). |
|
|
The data of the sound.
Definition at line 270 of file background_sound_manager.h. Referenced by TSoundStatus(), and NLSOUND::CBackgroundSoundManager::updateBackgroundStatus(). |
1.3.6