#include "precompiled.h"
#include "SoundGroup.h"
#include "graphics/Camera.h"
#include "graphics/GameView.h"
#include "lib/rand.h"
#include "ps/Game.h"
#include "ps/CLogger.h"
#include "ps/CStr.h"
#include "ps/Filesystem.h"
#include "ps/Util.h"
#include "ps/XML/Xeromyces.h"
#include "soundmanager/items/ISoundItem.h"
#include "soundmanager/SoundManager.h"
#include <algorithm>
Go to the source code of this file.
|
#define | PI 3.14126f |
|
#define | EL(x) int el_##x = XeroFile.GetElementID(#x) |
|
#define | AT(x) int at_##x = XeroFile.GetAttributeID(#x) |
|
#define AT |
( |
|
x | ) |
int at_##x = XeroFile.GetAttributeID(#x) |
#define EL |
( |
|
x | ) |
int el_##x = XeroFile.GetElementID(#x) |
static void HandleError |
( |
const CStrW & |
message, |
|
|
const VfsPath & |
pathname, |
|
|
Status |
err |
|
) |
| |
|
static |
static float RandFloat |
( |
float |
min, |
|
|
float |
max |
|
) |
| |
|
static |
const bool DISABLE_INTENSITY = true |
|
static |
File : SoundGroup.cpp Project : 0 A.D.
Description : Loads up a group of sound files with shared properties,
and provides a simple interface for playing them.
File : SoundGroup.cpp Project : 0 A.D.
Definition at line 56 of file Game.cpp.