FS2_Open
Open source remastering of the Freespace 2 engine
game_snd Class Reference

#include <sound.h>

Public Member Functions

 game_snd ()
 

Public Attributes

SCP_string name
 The name of the sound. More...
 
char filename [MAX_FILENAME_LEN]
 
uint signature
 Unique signature of this sound. More...
 
float default_volume
 range: 0.0 -> 1.0 More...
 
int min
 distance at which sound will stop getting louder More...
 
int max
 distance at which sound is inaudible More...
 
bool preload
 preload sound (ie read from disk before mission starts) More...
 
int id
 index into Sounds[], where sound data is stored More...
 
int id_sig
 signature of Sounds[] element More...
 
int flags
 
EnhancedSoundData enhanced_sound_data
 

Detailed Description

Game level sound entities

Definition at line 72 of file sound.h.

Constructor & Destructor Documentation

game_snd::game_snd ( )

Definition at line 1551 of file sound.cpp.

Member Data Documentation

float game_snd::default_volume

range: 0.0 -> 1.0

Definition at line 78 of file sound.h.

EnhancedSoundData game_snd::enhanced_sound_data

Definition at line 85 of file sound.h.

char game_snd::filename[MAX_FILENAME_LEN]

Definition at line 76 of file sound.h.

int game_snd::flags

Definition at line 84 of file sound.h.

int game_snd::id

index into Sounds[], where sound data is stored

Definition at line 82 of file sound.h.

int game_snd::id_sig

signature of Sounds[] element

Definition at line 83 of file sound.h.

int game_snd::max

distance at which sound is inaudible

Definition at line 80 of file sound.h.

int game_snd::min

distance at which sound will stop getting louder

Definition at line 79 of file sound.h.

SCP_string game_snd::name

The name of the sound.

Definition at line 75 of file sound.h.

bool game_snd::preload

preload sound (ie read from disk before mission starts)

Definition at line 81 of file sound.h.

uint game_snd::signature

Unique signature of this sound.

Definition at line 77 of file sound.h.


The documentation for this class was generated from the following files: