From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02252.html | 242 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 242 insertions(+) create mode 100644 docs/doxygen/nel/a02252.html (limited to 'docs/doxygen/nel/a02252.html') diff --git a/docs/doxygen/nel/a02252.html b/docs/doxygen/nel/a02252.html new file mode 100644 index 00000000..246be002 --- /dev/null +++ b/docs/doxygen/nel/a02252.html @@ -0,0 +1,242 @@ + + +NeL: NLSOUND::CBackgroundSoundManager::TSoundStatus struct Reference + + + +
+

NLSOUND::CBackgroundSoundManager::TSoundStatus Struct Reference

+ + + + + + + + + + + + + + + + + + + + +

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.

TSoundDataSoundData
 The data of the sound.

+

Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NLSOUND::CBackgroundSoundManager::TSoundStatus::TSoundStatus TSoundData sd,
NLMISC::CVector  position,
float  gain,
float  distance,
bool  inside
[inline]
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 282 of file background_sound_manager.h. +

+References Gain, Inside, and SoundData. +

+

00283                         : SoundData(sd), Position(position), Gain(gain), Distance(distance), Inside(inside)
+00284                 {}
+
+


Field Documentation

+

+ + + + +
+ + +
float NLSOUND::CBackgroundSoundManager::TSoundStatus::Distance +
+
+ + + + + +
+   + + +

+The distance beween listener and source. +

+ +

+Definition at line 278 of file background_sound_manager.h.

+

+ + + + +
+ + +
float NLSOUND::CBackgroundSoundManager::TSoundStatus::Gain +
+
+ + + + + +
+   + + +

+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().

+

+ + + + +
+ + +
bool NLSOUND::CBackgroundSoundManager::TSoundStatus::Inside +
+
+ + + + + +
+   + + +

+flag if inside a sound zone +

+ +

+Definition at line 280 of file background_sound_manager.h. +

+Referenced by TSoundStatus(), and NLSOUND::CBackgroundSoundManager::updateBackgroundStatus().

+

+ + + + +
+ + +
NLMISC::CVector NLSOUND::CBackgroundSoundManager::TSoundStatus::Position +
+
+ + + + + +
+   + + +

+The position of the source. +

+ +

+Definition at line 272 of file background_sound_manager.h. +

+Referenced by NLSOUND::CBackgroundSoundManager::updateBackgroundStatus().

+

+ + + + +
+ + +
TSoundData& NLSOUND::CBackgroundSoundManager::TSoundStatus::SoundData +
+
+ + + + + +
+   + + +

+The data of the sound. +

+ +

+Definition at line 270 of file background_sound_manager.h. +

+Referenced by TSoundStatus(), and NLSOUND::CBackgroundSoundManager::updateBackgroundStatus().

+


The documentation for this struct was generated from the following file: +
Generated on Tue Mar 16 14:32:10 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1