$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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. | |
union { | |
CSample * OneSound | |
CSample ** OneGroup | |
if it's only a simple sound | |
struct { | |
CSound * First | |
CSound * Second | |
first group: selected sound | |
} TwoGroups | |
when it's a simple group | |
} | Sound |
single, group, or table of sounds. |
CSound::CSound | ( | ) | [inline] |
CSound::~CSound | ( | ) |
unsigned int CSound::Mapref |
unsigned char CSound::Range |
Range is a multiplier for DistanceSilent. 255 means infinite range of the sound.
unsigned char CSound::Number |
Range is a multiplier for DistanceSilent.
if it's only a simple sound
first group: selected sound
struct { ... } CSound::TwoGroups |
when it's a simple group
union { ... } CSound::Sound |
single, group, or table of sounds.