C:/Program Files/GStudio7/include/t7/t7Camera.h File Reference


Defines

#define t7Camera_camFirst   1
 First-Person view.
#define t7Camera_camThird   2
 3rd-Person view.
#define t7Camera_camOrbit   3
 View orbits the target at a set distance.
#define t7Camera_camFree   4
 Free moving camera (no target).

Functions

void camera_add (int type)
 Add a camera to the end of the array.
void camera_insert (int type, int n)
 Insert a camera at a point in the array.
void camera_remove ()
 Remove the current camera.
void camera_next ()
 Go to the next valid camera (loop).
void camera_prev ()
 Go to the prev valid camera (loop).
void camera_set_target_ent (ENTITY *pEnt)
 Set an entity for the camera to follow.
void camera_set_target_offset (ENTITY *pEnt, float x, float y, float z)
 Set an entity for the camera to follow (plus offset).
void camera_set_target_vec (VECTOR *vec)
 Set an look at target vector for the camera.
void camera_set_vec (VECTOR *vec)
 Set the camera location.
void camera_set_ang (ANGLE *ang)
 Set the camera angle.

Variables

STRING * cameraManager_rot_next_c = "F7"

Define Documentation

#define t7Camera_camFirst   1

First-Person view.

#define t7Camera_camFree   4

Free moving camera (no target).

#define t7Camera_camOrbit   3

View orbits the target at a set distance.

#define t7Camera_camThird   2

3rd-Person view.


Function Documentation

void camera_add ( int  type  ) 

Add a camera to the end of the array.

Parameters:
type Type of camera to add (see t7Camera_ defines).

void camera_insert ( int  type,
int  n 
)

Insert a camera at a point in the array.

Parameters:
type Type of camera to add (see t7Camera_ defines).
n Location in the array to add.

void camera_next (  ) 

Go to the next valid camera (loop).

void camera_prev (  ) 

Go to the prev valid camera (loop).

void camera_remove (  ) 

Remove the current camera.

void camera_set_ang ( ANGLE *  ang  ) 

Set the camera angle.

Parameters:
ang New camera angle. set the current camera's angle

void camera_set_target_ent ( ENTITY *  pEnt  ) 

Set an entity for the camera to follow.

Parameters:
pEnt Pointer to the entity we want to follow.

void camera_set_target_offset ( ENTITY *  pEnt,
float  x,
float  y,
float  z 
)

Set an entity for the camera to follow (plus offset).

Parameters:
pEnt Pointer to the entity we want to follow.
x Offset in X
y Offset in Y
z Offset in Z

void camera_set_target_vec ( VECTOR *  vec  ) 

Set an look at target vector for the camera.

Parameters:
vec Target vector.

void camera_set_vec ( VECTOR *  vec  ) 

Set the camera location.

Parameters:
vec New camera location. set the current camera's location


Variable Documentation

STRING* cameraManager_rot_next_c = "F7"


Generated on Tue Dec 18 23:14:26 2007 for t7DLL by  doxygen 1.5.4