FS2_Open
Open source remastering of the Freespace 2 engine
|
Go to the source code of this file.
Macros | |
#define | OS_USED (1<<0) |
#define | OS_DS3D (1<<1) |
#define | OS_MAIN (1<<2) |
#define | OS_TURRET_BASE_ROTATION (1<<3) |
#define | OS_TURRET_GUN_ROTATION (1<<4) |
#define | OS_SUBSYS_ALIVE (1<<5) |
#define | OS_SUBSYS_DEAD (1<<6) |
#define | OS_SUBSYS_DAMAGED (1<<7) |
#define | OS_SUBSYS_ROTATION (1<<8) |
Functions | |
void | obj_snd_level_init () |
void | obj_snd_level_close () |
void | obj_snd_do_frame () |
int | obj_snd_assign (int objnum, int sndnum, vec3d *pos, int main, int flags=0, ship_subsys *associated_sub=NULL) |
void | obj_snd_delete (int objnum, int index) |
void | obj_snd_delete_type (int objnum, int sndnum=-1, ship_subsys *ss=NULL) |
void | obj_snd_delete_all () |
void | obj_snd_stop_all () |
int | obj_snd_is_playing (int objnum, int index) |
int | obj_snd_return_instance (int objnum, int index) |
int | obj_snd_update_offset (int objnum, int index, vec3d *new_offset) |
Variables | |
int | Obj_snd_enabled |
#define OS_DS3D (1<<1) |
Definition at line 16 of file objectsnd.h.
#define OS_MAIN (1<<2) |
Definition at line 17 of file objectsnd.h.
#define OS_SUBSYS_ALIVE (1<<5) |
Definition at line 20 of file objectsnd.h.
#define OS_SUBSYS_DAMAGED (1<<7) |
Definition at line 22 of file objectsnd.h.
#define OS_SUBSYS_DEAD (1<<6) |
Definition at line 21 of file objectsnd.h.
#define OS_SUBSYS_ROTATION (1<<8) |
Definition at line 23 of file objectsnd.h.
#define OS_TURRET_BASE_ROTATION (1<<3) |
Definition at line 18 of file objectsnd.h.
#define OS_TURRET_GUN_ROTATION (1<<4) |
Definition at line 19 of file objectsnd.h.
#define OS_USED (1<<0) |
Definition at line 15 of file objectsnd.h.
int obj_snd_assign | ( | int | objnum, |
int | sndnum, | ||
vec3d * | pos, | ||
int | main, | ||
int | flags = 0 , |
||
ship_subsys * | associated_sub = NULL |
||
) |
Definition at line 705 of file objectsnd.cpp.
Definition at line 780 of file objectsnd.cpp.
void obj_snd_delete_all | ( | ) |
Definition at line 849 of file objectsnd.cpp.
void obj_snd_delete_type | ( | int | objnum, |
int | sndnum = -1 , |
||
ship_subsys * | ss = NULL |
||
) |
Definition at line 812 of file objectsnd.cpp.
void obj_snd_do_frame | ( | ) |
Definition at line 457 of file objectsnd.cpp.
Definition at line 878 of file objectsnd.cpp.
void obj_snd_level_close | ( | ) |
Definition at line 864 of file objectsnd.cpp.
void obj_snd_level_init | ( | ) |
Definition at line 191 of file objectsnd.cpp.
Definition at line 891 of file objectsnd.cpp.
void obj_snd_stop_all | ( | ) |
Definition at line 299 of file objectsnd.cpp.
Definition at line 910 of file objectsnd.cpp.
int Obj_snd_enabled |
Definition at line 66 of file objectsnd.cpp.