|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Functions | |
| vector | CursorToWorldCoord (vector mpos) |
| STATIC_INIT_LATE (viewloc_cursor) | |
| void | viewloc_PlayerPhysics (entity this) |
| void | viewloc_SetTags (entity this) |
| void | viewloc_SetViewLocation () |
Variables | |
| vector | old_camera_angle = '0 0 0' |
Definition at line 88 of file viewloc.qc.
References max_shot_distance, MOVE_NOMONSTERS, NULL, trace_endpos, vec2, vec3, and vector.
Referenced by viewloc_SetViewLocation().
| STATIC_INIT_LATE | ( | viewloc_cursor | ) |
Definition at line 200 of file viewloc.qc.
References autocvar_vid_conheight, autocvar_vid_conwidth, and viewloc_mousepos.
Definition at line 13 of file viewloc.qc.
References angles_y, BIT, entity(), FL_DUCKED, flags, input_buttons, normalize(), PHYS_CS, PHYS_INPUT_BUTTON_CROUCH, vectoangles(), vector, viewloc, VIEWLOC_FREEAIM, and VIEWLOC_FREEMOVE.
Referenced by sys_phys_update().
Definition at line 74 of file viewloc.qc.
References entity(), entnum, findfloat(), NULL, tag_networkviewloc, and viewloc.
Referenced by NET_HANDLE().
| void viewloc_SetViewLocation | ( | ) |
Definition at line 97 of file viewloc.qc.
References aim_vec(), angle_snap_f(), angle_snap_vec(), CSQCModel_server2csqc(), CursorToWorldCoord(), entity(), freeze_ang, freeze_org, input_movevalues, LOG_TRACE, max(), min(), normalize(), old_camera_angle, player_localentnum, spectatee_status, vec_bounds_in(), vec_to_max(), vec_to_min(), vectoangles(), vector, VF_ANGLES, VF_CL_VIEWANGLES, VF_ORIGIN, VIEWLOC_CAM_NOANGLE, VIEWLOC_CAM_SNAP_CLOSE, VIEWLOC_CAM_SNAP_HARD, VIEWLOC_CAM_SNAP_UNLOCK, VIEWLOC_CAM_TRACK, VIEWLOC_FREEAIM, VIEWLOC_FREEMOVE, viewloc_mousepos, and vtos().
| vector old_camera_angle = '0 0 0' |
Definition at line 96 of file viewloc.qc.
Referenced by viewloc_SetViewLocation().