Open source remastering of the Freespace 2 engine
observer.h File Reference

Go to the source code of this file.


struct  observer


#define OBS_MAX_VEL_X   (85.0f)
#define OBS_MAX_VEL_Y   (85.0f)
#define OBS_MAX_VEL_Z   (85.0f)
#define OBS_FLAG_USED   (1<<1)
#define MAX_OBSERVER_OBS   17


typedef struct observer observer


void observer_init ()
int observer_create (matrix *orient, vec3d *pos)
void observer_delete (object *obj)
void observer_get_eye (vec3d *eye_pos, matrix *eye_orient, object *obj)


observer Observers [MAX_OBSERVER_OBS]

Macro Definition Documentation

#define MAX_OBSERVER_OBS   17

Definition at line 33 of file observer.h.

#define OBS_FLAG_USED   (1<<1)

Definition at line 24 of file observer.h.

#define OBS_MAX_VEL_X   (85.0f)

Definition at line 19 of file observer.h.

#define OBS_MAX_VEL_Y   (85.0f)

Definition at line 20 of file observer.h.

#define OBS_MAX_VEL_Z   (85.0f)

Definition at line 21 of file observer.h.

Typedef Documentation

typedef struct observer observer

Function Documentation

int observer_create ( matrix orient,
vec3d pos 

Definition at line 32 of file observer.cpp.

void observer_delete ( object obj)

Definition at line 86 of file observer.cpp.

void observer_get_eye ( vec3d eye_pos,
matrix eye_orient,
object obj 

Definition at line 99 of file observer.cpp.

void observer_init ( )

Definition at line 22 of file observer.cpp.

Variable Documentation

Definition at line 20 of file observer.cpp.