____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <sound.h>
Public Member Functions | |
| CSound () | |
| ~CSound () | |
Public Attributes | |
| unsigned char | Range |
| Range is a multiplier for DistanceSilent. | |
| unsigned char | Number |
| single, group, or table of sounds. | |
| union { | |
| CSample * OneSound | |
| if it's only a simple sound | |
| CSample ** OneGroup | |
| when it's a simple group | |
| struct { | |
| CSound * First | |
| first group: selected sound | |
| CSound * Second | |
| second group: annoyed sound | |
| } TwoGroups | |
| when it's a double group | |
| } | Sound |
Definition at line 78 of file sound.h.
| CSound::~CSound | ( | ) |
| unsigned char CSound::Range |
Range is a multiplier for DistanceSilent.
Range is a multiplier for DistanceSilent. 255 means infinite range of the sound.
Definition at line 90 of file sound.h.
Referenced by PlayGameSound(), PlayMissileSound(), PlayUnitSound(), RegisterTwoGroups(), and SetSoundRange().
| unsigned char CSound::Number |
single, group, or table of sounds.
Definition at line 91 of file sound.h.
Referenced by ChooseSample(), SimpleChooseSample(), and ~CSound().
if it's only a simple sound
Definition at line 93 of file sound.h.
Referenced by ChooseSample(), RegisterSound(), and SimpleChooseSample().
when it's a simple group
Definition at line 94 of file sound.h.
Referenced by ChooseSample(), RegisterSound(), and SimpleChooseSample().
| struct { ... } CSound::TwoGroups |
| union { ... } CSound::Sound |
Referenced by ChooseSample(), CSound(), MapAnimSounds2(), RegisterSound(), RegisterTwoGroups(), SimpleChooseSample(), UnitShowAnimationScaled(), and ~CSound().
1.5.6