Home
last modified time | relevance | path

Searched refs:PITCH (Results 1 – 25 of 36) sorted by relevance

12

/external/quake/quake/src/WinQuake/
Din_dos.cpp124 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
315 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
316 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
317 cl.viewangles[PITCH] = 80; in IN_MouseMove()
318 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
319 cl.viewangles[PITCH] = -70; in IN_MouseMove()
375 cl.viewangles[PITCH] += aspeed*cl_pitchspeed.value; in IN_JoyMove()
377 cl.viewangles[PITCH] -= aspeed*cl_pitchspeed.value; in IN_JoyMove()
586 extern_control->viewangles[PITCH] = cl.viewangles[PITCH]; in IN_ExternalMove()
592 …s:%f u:%f\n", extern_control->viewangles[YAW], extern_control->viewangles[PITCH], extern_control->… in IN_ExternalMove()
[all …]
Din_sun.cpp237 cl.viewangles[PITCH] += m_pitch.value * dy; in IN_Move()
238 if (cl.viewangles[PITCH] > 80) cl.viewangles[PITCH] = 80; in IN_Move()
239 if (cl.viewangles[PITCH] < -70) cl.viewangles[PITCH] = -70; in IN_Move()
Din_win.cpp165 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
711 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
712 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
713 cl.viewangles[PITCH] = 80; in IN_MouseMove()
714 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
715 cl.viewangles[PITCH] = -70; in IN_MouseMove()
1139 … cl.viewangles[PITCH] -= (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed.value; in IN_JoyMove()
1143 … cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed.value; in IN_JoyMove()
1209 … cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed.value; in IN_JoyMove()
1213 cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * speed * 180.0; in IN_JoyMove()
[all …]
Dcl_input.cpp262 cl.viewangles[PITCH] -= speed*cl_pitchspeed.value * CL_KeyState (&in_forward); in CL_AdjustAngles()
263 cl.viewangles[PITCH] += speed*cl_pitchspeed.value * CL_KeyState (&in_back); in CL_AdjustAngles()
269 cl.viewangles[PITCH] -= speed*cl_pitchspeed.value * up; in CL_AdjustAngles()
270 cl.viewangles[PITCH] += speed*cl_pitchspeed.value * down; in CL_AdjustAngles()
275 if (cl.viewangles[PITCH] > 80) in CL_AdjustAngles()
276 cl.viewangles[PITCH] = 80; in CL_AdjustAngles()
277 if (cl.viewangles[PITCH] < -70) in CL_AdjustAngles()
278 cl.viewangles[PITCH] = -70; in CL_AdjustAngles()
Dview.cpp208 delta = cl.idealpitch - cl.viewangles[PITCH]; in V_DriftPitch()
228 cl.viewangles[PITCH] += move; in V_DriftPitch()
237 cl.viewangles[PITCH] -= move; in V_DriftPitch()
712 pitch = -r_refdef.viewangles[PITCH]; in CalcGunAngle()
719 pitch = angledelta(-pitch - r_refdef.viewangles[PITCH]) * 0.4; in CalcGunAngle()
751 cl.viewent.angles[PITCH] = - (r_refdef.viewangles[PITCH] + pitch); in CalcGunAngle()
754 …cl.viewent.angles[PITCH] -= v_idlescale.value * sin(cl.time*v_ipitch_cycle.value) * v_ipitch_level… in CalcGunAngle()
796 …r_refdef.viewangles[PITCH] += v_idlescale.value * sin(cl.time*v_ipitch_cycle.value) * v_ipitch_lev… in V_AddIdle()
818 r_refdef.viewangles[PITCH] += v_dmg_time/v_kicktime.value*v_dmg_pitch; in V_CalcViewRoll()
885 ent->angles[PITCH] = -cl.viewangles[PITCH]; // the model should face in V_CalcRefdef()
[all …]
Dgl_vidandroid.cpp701 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
773 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
774 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
775 cl.viewangles[PITCH] = 80; in IN_MouseMove()
776 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
777 cl.viewangles[PITCH] = -70; in IN_MouseMove()
Dgl_vidlinux.cpp707 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
846 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
847 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
848 cl.viewangles[PITCH] = 80; in IN_MouseMove()
849 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
850 cl.viewangles[PITCH] = -70; in IN_MouseMove()
Dvid_svgalib.cpp819 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
961 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
962 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
963 cl.viewangles[PITCH] = 80; in IN_MouseMove()
964 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
965 cl.viewangles[PITCH] = -70; in IN_MouseMove()
Dgl_vidlinuxglx.cpp917 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
976 cl.viewangles[PITCH] += m_pitch.value * my; in IN_MouseMove()
977 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
978 cl.viewangles[PITCH] = 80; in IN_MouseMove()
979 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
980 cl.viewangles[PITCH] = -70; in IN_MouseMove()
Dchase.cpp87 r_refdef.viewangles[PITCH] = -atan(stop[2] / dist) / M_PI * 180; in Chase_Update()
Dvid_x.cpp1187 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_Move()
1188 if (cl.viewangles[PITCH] > 80) in IN_Move()
1189 cl.viewangles[PITCH] = 80; in IN_Move()
1190 if (cl.viewangles[PITCH] < -70) in IN_Move()
1191 cl.viewangles[PITCH] = -70; in IN_Move()
Dvid_sunxil.cpp1272 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_Move()
1273 if (cl.viewangles[PITCH] > 80) in IN_Move()
1274 cl.viewangles[PITCH] = 80; in IN_Move()
1275 if (cl.viewangles[PITCH] < -70) in IN_Move()
1276 cl.viewangles[PITCH] = -70; in IN_Move()
Dvid_sunx.cpp1245 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_Move()
1246 if (cl.viewangles[PITCH] > 80) in IN_Move()
1247 cl.viewangles[PITCH] = 80; in IN_Move()
1248 if (cl.viewangles[PITCH] < -70) in IN_Move()
1249 cl.viewangles[PITCH] = -70; in IN_Move()
/external/quake/quake/src/QW/client/
Din_win.c164 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
707 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
708 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
709 cl.viewangles[PITCH] = 80; in IN_MouseMove()
710 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
711 cl.viewangles[PITCH] = -70; in IN_MouseMove()
1132 … cl.viewangles[PITCH] -= (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed.value; in IN_JoyMove()
1136 … cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed.value; in IN_JoyMove()
1202 … cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * aspeed * cl_pitchspeed.value; in IN_JoyMove()
1206 cl.viewangles[PITCH] += (fAxisValue * joy_pitchsensitivity.value) * speed * 180.0; in IN_JoyMove()
[all …]
Dcl_input.c254 cl.viewangles[PITCH] -= speed*cl_pitchspeed.value * CL_KeyState (&in_forward); in CL_AdjustAngles()
255 cl.viewangles[PITCH] += speed*cl_pitchspeed.value * CL_KeyState (&in_back); in CL_AdjustAngles()
261 cl.viewangles[PITCH] -= speed*cl_pitchspeed.value * up; in CL_AdjustAngles()
262 cl.viewangles[PITCH] += speed*cl_pitchspeed.value * down; in CL_AdjustAngles()
267 if (cl.viewangles[PITCH] > 80) in CL_AdjustAngles()
268 cl.viewangles[PITCH] = 80; in CL_AdjustAngles()
269 if (cl.viewangles[PITCH] < -70) in CL_AdjustAngles()
270 cl.viewangles[PITCH] = -70; in CL_AdjustAngles()
Dcl_cam.c455 vec2[PITCH] = -vec2[PITCH];
457 cam_viewangles[PITCH] = adjustang(cam_viewangles[PITCH], vec2[PITCH], cl_camera_maxpitch.value);
490 vec2[PITCH] = -vec2[PITCH]; in Cam_FinishMove()
492 cam_viewangles[PITCH] = adjustang(cam_viewangles[PITCH], vec2[PITCH], cl_camera_maxpitch.value); in Cam_FinishMove()
Dview.c214 delta = 0 - cl.viewangles[PITCH]; in V_DriftPitch()
234 cl.viewangles[PITCH] += move; in V_DriftPitch()
243 cl.viewangles[PITCH] -= move; in V_DriftPitch()
729 pitch = -r_refdef.viewangles[PITCH]; in CalcGunAngle()
736 pitch = angledelta(-pitch - r_refdef.viewangles[PITCH]) * 0.4; in CalcGunAngle()
768 cl.viewent.angles[PITCH] = - (r_refdef.viewangles[PITCH] + pitch); in CalcGunAngle()
805 …r_refdef.viewangles[PITCH] += v_idlescale.value * sin(cl.time*v_ipitch_cycle.value) * v_ipitch_lev… in V_AddIdle()
809 …cl.viewent.angles[PITCH] -= v_idlescale.value * sin(cl.time*v_ipitch_cycle.value) * v_ipitch_level… in V_AddIdle()
831 r_refdef.viewangles[PITCH] += v_dmg_time/v_kicktime.value*v_dmg_pitch; in V_CalcViewRoll()
949 r_refdef.viewangles[PITCH] += cl.punchangle; in V_CalcRefdef()
Dgl_vidlinux.c655 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
794 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
795 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
796 cl.viewangles[PITCH] = 80; in IN_MouseMove()
797 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
798 cl.viewangles[PITCH] = -70; in IN_MouseMove()
Dgl_vidlinuxglx.c716 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
765 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
766 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
767 cl.viewangles[PITCH] = 80; in IN_MouseMove()
768 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
769 cl.viewangles[PITCH] = -70; in IN_MouseMove()
Dgl_vidlinux_svga.c693 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
832 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
833 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
834 cl.viewangles[PITCH] = 80; in IN_MouseMove()
835 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
836 cl.viewangles[PITCH] = -70; in IN_MouseMove()
Dgl_vidlinux_x11.c786 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
853 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_Move()
854 if (cl.viewangles[PITCH] > 80) in IN_Move()
855 cl.viewangles[PITCH] = 80; in IN_Move()
856 if (cl.viewangles[PITCH] < -70) in IN_Move()
857 cl.viewangles[PITCH] = -70; in IN_Move()
Dvid_svgalib.c832 cl.viewangles[PITCH] = 0; in Force_CenterView_f()
974 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_MouseMove()
975 if (cl.viewangles[PITCH] > 80) in IN_MouseMove()
976 cl.viewangles[PITCH] = 80; in IN_MouseMove()
977 if (cl.viewangles[PITCH] < -70) in IN_MouseMove()
978 cl.viewangles[PITCH] = -70; in IN_MouseMove()
Dbothdefs.h52 #define PITCH 0 macro
Dvid_x.c1095 cl.viewangles[PITCH] += m_pitch.value * mouse_y; in IN_Move()
1096 if (cl.viewangles[PITCH] > 80) in IN_Move()
1097 cl.viewangles[PITCH] = 80; in IN_Move()
1098 if (cl.viewangles[PITCH] < -70) in IN_Move()
1099 cl.viewangles[PITCH] = -70; in IN_Move()
Dgl_vidandroid.c300 cl.viewangles[PITCH] = 0; in Force_CenterView_f()

12