Pyrogenesis  trunk
Classes | 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/CLogger.h"
#include "ps/ConfigDB.h"
#include "ps/CStr.h"
#include "ps/Filesystem.h"
#include "ps/Game.h"
#include "ps/Util.h"
#include "ps/XML/Xeromyces.h"
#include "simulation2/components/ICmpVisual.h"
#include "simulation2/system/Component.h"
#include "soundmanager/items/ISoundItem.h"
#include "soundmanager/SoundManager.h"
#include <algorithm>
#include <random>
Include dependency graph for SoundGroup.cpp:

Classes

class  CFastRand
 Low randomness, quite-a-lot-faster-than-std::mt19937 random number generator. More...
 

Macros

#define EL(x)   int el_##x = XeroFile.GetElementID(#x)
 

Functions

static void HandleError (const std::wstring &message, const VfsPath &pathname, Status err)
 

Variables

CGameg_Game
 Globally accessible pointer to the CGame object. More...
 
constexpr ALfloat DEFAULT_ROLLOFF = 0.5f
 
constexpr ALfloat MAX_ROLLOFF = 0.7f
 

Macro Definition Documentation

◆ EL

#define EL (   x)    int el_##x = XeroFile.GetElementID(#x)

Function Documentation

◆ HandleError()

static void HandleError ( const std::wstring &  message,
const VfsPath pathname,
Status  err 
)
static

Variable Documentation

◆ DEFAULT_ROLLOFF

constexpr ALfloat DEFAULT_ROLLOFF = 0.5f

◆ g_Game

CGame* g_Game

Globally accessible pointer to the CGame object.

◆ MAX_ROLLOFF

constexpr ALfloat MAX_ROLLOFF = 0.7f