Pyrogenesis  trunk
Macros | Functions | Variables
SoundGroup.cpp File Reference
#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>
Include dependency graph for SoundGroup.cpp:

Macros

#define PI   3.14126f
 
#define EL(x)   int el_##x = XeroFile.GetElementID(#x)
 
#define AT(x)   int at_##x = XeroFile.GetAttributeID(#x)
 

Functions

static float RandFloat (float min, float max)
 
static void HandleError (const CStrW &message, const VfsPath &pathname, Status err)
 

Variables

CGameg_Game
 

File : SoundGroup.cpp Project : 0 A.D. More...

 
static const bool DISABLE_INTENSITY = true
 

Macro Definition Documentation

#define AT (   x)    int at_##x = XeroFile.GetAttributeID(#x)
#define EL (   x)    int el_##x = XeroFile.GetElementID(#x)
#define PI   3.14126f

Function Documentation

static void HandleError ( const CStrW &  message,
const VfsPath pathname,
Status  err 
)
static
static float RandFloat ( float  min,
float  max 
)
static

Variable Documentation

const bool DISABLE_INTENSITY = true
static
CGame* g_Game


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.