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 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.
| void camera_add | ( | int | type | ) |
Add a camera to the end of the array.
| 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.
| 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.
| 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.
| 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).
| 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.
| vec | Target vector. |
| void camera_set_vec | ( | VECTOR * | vec | ) |
Set the camera location.
| vec | New camera location. set the current camera's location |
| STRING* cameraManager_rot_next_c = "F7" |
1.5.4