_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <sound.h>
Public Member Functions | |
| CSound () | |
sound.cpp - The sound. | |
| ~CSound () | |
Public Attributes | |
| unsigned int | Mapref |
| unsigned char | Range |
| unsigned char | Number |
| Range is a multiplier for DistanceSilent. More... | |
| union { | |
| CSample * OneSound | |
| CSample ** OneGroup | |
| if it's only a simple sound More... | |
| struct { | |
| CSound * First | |
| CSound * Second | |
| first group: selected sound More... | |
| } TwoGroups | |
| when it's a simple group More... | |
| } | Sound |
| single, group, or table of sounds. More... | |
Sound definition.
|
inline |
| CSound::~CSound | ( | ) |
| CSound* CSound::First |
| unsigned int CSound::Mapref |
| unsigned char CSound::Number |
Range is a multiplier for DistanceSilent.
| CSample** CSound::OneGroup |
if it's only a simple sound
| CSample* CSound::OneSound |
| unsigned char CSound::Range |
Range is a multiplier for DistanceSilent. 255 means infinite range of the sound.
| CSound* CSound::Second |
first group: selected sound
| union { ... } CSound::Sound |
single, group, or table of sounds.
| struct { ... } CSound::TwoGroups |
when it's a simple group
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.