QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cl_cam.c File Reference

Macros

#define BUTTON_ATTACK   1
 
#define BUTTON_JUMP   2
 
#define MAX_ANGLE_TURN   10
 
#define PM_MAXSPEED   320
 
#define PM_SPECTATORMAXSPEED   500
 
#define PM_STOPSPEED   100
 

Functions

qboolean Cam_DrawPlayer (int playernum)
 
qboolean Cam_DrawViewModel (void)
 
void Cam_FinishMove (usercmd_t *cmd)
 
void Cam_Lock (int playernum)
 
void Cam_Reset (void)
 
void Cam_Track (usercmd_t *cmd)
 
int Cam_TrackNum (void)
 
void CL_Cam_Init_Cvars (void)
 

Variables

int autocam = CAM_NONE
 
qboolean cam_forceview
 
double cam_lastviewtime
 
vec3_t cam_viewangles
 
cvar_tcl_camera_maxpitch
 
cvar_tcl_camera_maxyaw
 
cvar_tcl_chasecam
 
cvar_tcl_hightrack
 
int ideal_track = 0
 
float last_lock = 0
 
int spec_track = 0
 

Macro Definition Documentation

#define BUTTON_ATTACK   1
#define BUTTON_JUMP   2
#define MAX_ANGLE_TURN   10
#define PM_MAXSPEED   320
#define PM_SPECTATORMAXSPEED   500
#define PM_STOPSPEED   100

Function Documentation

qboolean Cam_DrawPlayer ( int  playernum)
qboolean Cam_DrawViewModel ( void  )
void Cam_FinishMove ( usercmd_t cmd)
void Cam_Lock ( int  playernum)
void Cam_Reset ( void  )
void Cam_Track ( usercmd_t cmd)
int Cam_TrackNum ( void  )
void CL_Cam_Init_Cvars ( void  )

Variable Documentation

int autocam = CAM_NONE
qboolean cam_forceview
double cam_lastviewtime
vec3_t cam_viewangles
cvar_t* cl_camera_maxpitch
cvar_t* cl_camera_maxyaw
cvar_t* cl_chasecam
cvar_t* cl_hightrack
int ideal_track = 0
float last_lock = 0
int spec_track = 0