43 #define CAMERA_START_DIST 600
44 #define CAMERA_START_HEIGHT UNIT_HEIGHT * 1.5
45 #define CAMERA_LEVEL_HEIGHT UNIT_HEIGHT
void CL_CameraZoomIn(void)
Zooms the scene of the battlefield in.
This is a cvar definition. Cvars can be user modified and used in our menus e.g.
void CL_CheckCameraRoute(const pos3_t from, const pos3_t target)
Only moves the camera to the given target location if its not yet close enough.
void CL_CameraMove(void)
Update the camera position. This can be done in two different reasons. The first is the user input...
void CL_CameraZoomOut(void)
Zooms the scene of the battlefield out.
void CL_CameraRoute(const pos3_t from, const pos3_t target)
Interpolates the camera movement from the given start point to the given end point.