UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
s_local.h File Reference
#include <SDL_mixer.h>
#include "../../shared/shared.h"
#include "../../shared/mathlib.h"
#include "../../common/cvar.h"
#include "../../common/mem.h"

Go to the source code of this file.

Data Structures

struct  s_sample_s
 
struct  s_channel_s
 
struct  s_env_s
 

Macros

#define SAMPLE_TYPES   { "ogg", "wav", nullptr }
 Supported sound file extensions. More...
 
#define MAX_CHANNELS   64
 the sound environment More...
 

Typedefs

typedef struct s_sample_s s_sample_t
 
typedef struct s_channel_s s_channel_t
 
typedef struct s_env_s s_env_t
 

Variables

memPool_tcl_soundSysPool
 
cvar_tsnd_volume
 
cvar_tsnd_distance_scale
 
s_env_t s_env
 

Macro Definition Documentation

#define MAX_CHANNELS   64

the sound environment

Definition at line 58 of file s_local.h.

Referenced by S_AllocChannel(), S_Frame(), S_Init(), and S_LoopSample().

#define SAMPLE_TYPES   { "ogg", "wav", nullptr }

Supported sound file extensions.

Definition at line 39 of file s_local.h.

Referenced by S_CompleteSounds(), and S_LoadSampleChunk().

Typedef Documentation

typedef struct s_channel_s s_channel_t
typedef struct s_env_s s_env_t
typedef struct s_sample_s s_sample_t

Variable Documentation

memPool_t* cl_soundSysPool

Definition at line 48 of file s_main.cpp.

Referenced by S_LoadSampleIdx().

cvar_t* snd_distance_scale

Definition at line 43 of file s_main.cpp.

Referenced by S_SpatializeChannel().

cvar_t* snd_volume

Definition at line 42 of file s_main.cpp.

Referenced by S_LoopSample(), and S_PlaySample().