_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
Channels for sound effects and unit speech. More...
Public Attributes | |
CSample * | Sample |
Origin * | Unit |
sample to play More... | |
unsigned char | Volume |
pointer to unit, who plays the sound, if any More... | |
signed char | Stereo |
Volume of this channel. More... | |
bool | Playing |
stereo location of sound (-128 left, 0 center, 127 right) More... | |
int | Point |
channel is currently playing More... | |
void(* | FinishedCallback )(int channel) |
point in sample if playing or next free channel More... | |
Channels for sound effects and unit speech.
void(* SoundChannel::FinishedCallback)(int channel) |
point in sample if playing or next free channel
bool SoundChannel::Playing |
stereo location of sound (-128 left, 0 center, 127 right)
int SoundChannel::Point |
channel is currently playing
CSample* SoundChannel::Sample |
signed char SoundChannel::Stereo |
Volume of this channel.
Origin* SoundChannel::Unit |
sample to play
unsigned char SoundChannel::Volume |
pointer to unit, who plays the sound, if any