/external/quake/quake/src/WinQuake/ |
D | in_dos.cpp | 35 vec3_t viewangles; member 124 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 308 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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() 363 cl.viewangles[YAW] += aspeed*cl_yawspeed.value; in IN_JoyMove() 365 cl.viewangles[YAW] -= aspeed*cl_yawspeed.value; in IN_JoyMove() [all …]
|
D | cl_input.cpp | 255 cl.viewangles[YAW] -= speed*cl_yawspeed.value*CL_KeyState (&in_right); in CL_AdjustAngles() 256 cl.viewangles[YAW] += speed*cl_yawspeed.value*CL_KeyState (&in_left); in CL_AdjustAngles() 257 cl.viewangles[YAW] = anglemod(cl.viewangles[YAW]); in CL_AdjustAngles() 262 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() [all …]
|
D | view.cpp | 208 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() 711 yaw = r_refdef.viewangles[YAW]; in CalcGunAngle() 712 pitch = -r_refdef.viewangles[PITCH]; in CalcGunAngle() 714 yaw = angledelta(yaw - r_refdef.viewangles[YAW]) * 0.4; in CalcGunAngle() 719 pitch = angledelta(-pitch - r_refdef.viewangles[PITCH]) * 0.4; in CalcGunAngle() 750 cl.viewent.angles[YAW] = r_refdef.viewangles[YAW] + yaw; in CalcGunAngle() 751 cl.viewent.angles[PITCH] = - (r_refdef.viewangles[PITCH] + pitch); in CalcGunAngle() 795 …r_refdef.viewangles[ROLL] += v_idlescale.value * sin(cl.time*v_iroll_cycle.value) * v_iroll_level.… in V_AddIdle() [all …]
|
D | in_win.cpp | 165 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 704 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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() 1190 cl.viewangles[YAW] += (fAxisValue * joy_yawsensitivity.value) * aspeed * cl_yawspeed.value; in IN_JoyMove() [all …]
|
D | in_sun.cpp | 231 cl.viewangles[YAW] -= m_yaw.value * dx; in IN_Move() 237 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()
|
D | gl_rmisc.cpp | 129 r_refdef.viewangles[0] = 0; in R_Envmap_f() 130 r_refdef.viewangles[1] = 0; in R_Envmap_f() 131 r_refdef.viewangles[2] = 0; in R_Envmap_f() 137 r_refdef.viewangles[1] = 90; in R_Envmap_f() 143 r_refdef.viewangles[1] = 180; in R_Envmap_f() 149 r_refdef.viewangles[1] = 270; in R_Envmap_f() 155 r_refdef.viewangles[0] = -90; in R_Envmap_f() 156 r_refdef.viewangles[1] = 0; in R_Envmap_f() 162 r_refdef.viewangles[0] = 90; in R_Envmap_f() 163 r_refdef.viewangles[1] = 0; in R_Envmap_f() [all …]
|
D | r_misc.cpp | 76 startangle = r_refdef.viewangles[1]; in R_TimeRefresh_f() 81 r_refdef.viewangles[1] = i/128.0*360.0; in R_TimeRefresh_f() 100 r_refdef.viewangles[1] = startangle; in R_TimeRefresh_f() 423 r_refdef.viewangles[0]= 0; in R_SetupFrame() 424 r_refdef.viewangles[1]= 46.763641357; in R_SetupFrame() 425 r_refdef.viewangles[2]= 0; in R_SetupFrame() 432 AngleVectors (r_refdef.viewangles, vpn, vright, vup); in R_SetupFrame()
|
D | gl_vidandroid.cpp | 701 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 766 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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()
|
D | chase.cpp | 69 AngleVectors (cl.viewangles, forward, right, up); in Chase_Update() 87 r_refdef.viewangles[PITCH] = -atan(stop[2] / dist) / M_PI * 180; in Chase_Update()
|
D | gl_vidlinux.cpp | 707 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 839 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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()
|
D | vid_svgalib.cpp | 819 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 954 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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()
|
D | gl_rmain.cpp | 990 AngleVectors (r_refdef.viewangles, vpn, vright, vup); in R_SetupFrame() 1227 rotateM(mv, -r_refdef.viewangles[2], 1, 0, 0); in R_SetupGL() 1228 rotateM(mv, -r_refdef.viewangles[0], 0, 1, 0); in R_SetupGL() 1229 rotateM(mv, -r_refdef.viewangles[1], 0, 0, 1); in R_SetupGL() 1241 glRotatef (-r_refdef.viewangles[2], 1, 0, 0); in R_SetupGL() 1242 glRotatef (-r_refdef.viewangles[0], 0, 1, 0); in R_SetupGL() 1243 glRotatef (-r_refdef.viewangles[1], 0, 0, 1); in R_SetupGL() 1413 r_refdef.viewangles[0] = -asin (vpn[2])/M_PI*180; in R_Mirror() 1414 r_refdef.viewangles[1] = atan2 (vpn[1], vpn[0])/M_PI*180; in R_Mirror() 1415 r_refdef.viewangles[2] = -r_refdef.viewangles[2]; in R_Mirror()
|
D | gl_vidlinuxglx.cpp | 917 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 969 cl.viewangles[YAW] -= m_yaw.value * mx; in IN_MouseMove() 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()
|
/external/quake/quake/src/QW/client/ |
D | cl_input.c | 247 cl.viewangles[YAW] -= speed*cl_yawspeed.value*CL_KeyState (&in_right); in CL_AdjustAngles() 248 cl.viewangles[YAW] += speed*cl_yawspeed.value*CL_KeyState (&in_left); in CL_AdjustAngles() 249 cl.viewangles[YAW] = anglemod(cl.viewangles[YAW]); in CL_AdjustAngles() 254 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() [all …]
|
D | in_win.c | 164 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 700 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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() 1183 cl.viewangles[YAW] += (fAxisValue * joy_yawsensitivity.value) * aspeed * cl_yawspeed.value; in IN_JoyMove() [all …]
|
D | gl_rmisc.c | 122 r_refdef.viewangles[0] = 0; in R_Envmap_f() 123 r_refdef.viewangles[1] = 0; in R_Envmap_f() 124 r_refdef.viewangles[2] = 0; in R_Envmap_f() 130 r_refdef.viewangles[1] = 90; in R_Envmap_f() 136 r_refdef.viewangles[1] = 180; in R_Envmap_f() 142 r_refdef.viewangles[1] = 270; in R_Envmap_f() 148 r_refdef.viewangles[0] = -90; in R_Envmap_f() 149 r_refdef.viewangles[1] = 0; in R_Envmap_f() 155 r_refdef.viewangles[0] = 90; in R_Envmap_f() 156 r_refdef.viewangles[1] = 0; in R_Envmap_f() [all …]
|
D | view.c | 214 delta = 0 - cl.viewangles[PITCH]; in V_DriftPitch() 234 cl.viewangles[PITCH] += move; in V_DriftPitch() 243 cl.viewangles[PITCH] -= move; in V_DriftPitch() 728 yaw = r_refdef.viewangles[YAW]; in CalcGunAngle() 729 pitch = -r_refdef.viewangles[PITCH]; in CalcGunAngle() 731 yaw = angledelta(yaw - r_refdef.viewangles[YAW]) * 0.4; in CalcGunAngle() 736 pitch = angledelta(-pitch - r_refdef.viewangles[PITCH]) * 0.4; in CalcGunAngle() 767 cl.viewent.angles[YAW] = r_refdef.viewangles[YAW] + yaw; in CalcGunAngle() 768 cl.viewent.angles[PITCH] = - (r_refdef.viewangles[PITCH] + pitch); in CalcGunAngle() 804 …r_refdef.viewangles[ROLL] += v_idlescale.value * sin(cl.time*v_iroll_cycle.value) * v_iroll_level.… in V_AddIdle() [all …]
|
D | cl_cam.c | 207 VectorCopy(player->viewangles, vec); in InitFlyby() 360 VectorCopy(player->viewangles, cl.viewangles); in Cam_Track() 389 vectoangles(vec, cl.viewangles); in Cam_Track() 390 cl.viewangles[0] = -cl.viewangles[0]; in Cam_Track() 460 VectorCopy(cam_viewangles, cl.viewangles); 461 VectorCopy(cl.viewangles, cl.simangles); 495 VectorCopy(cam_viewangles, cl.viewangles); in Cam_FinishMove() 507 VectorCopy(cl.viewangles, cmd->angles); in Cam_FinishMove()
|
D | r_misc.c | 77 startangle = r_refdef.viewangles[1]; in R_TimeRefresh_f() 82 r_refdef.viewangles[1] = i/128.0*360.0; in R_TimeRefresh_f() 101 r_refdef.viewangles[1] = startangle; in R_TimeRefresh_f() 496 r_refdef.viewangles[0]= 0; in R_SetupFrame() 497 r_refdef.viewangles[1]= 46.763641357; in R_SetupFrame() 498 r_refdef.viewangles[2]= 0; in R_SetupFrame() 505 AngleVectors (r_refdef.viewangles, vpn, vright, vup); in R_SetupFrame()
|
D | gl_vidlinux.c | 655 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 787 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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()
|
D | gl_vidlinuxglx.c | 716 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 758 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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()
|
D | gl_vidlinux_svga.c | 693 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 825 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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()
|
D | gl_vidlinux_x11.c | 786 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 848 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_Move() 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()
|
D | vid_svgalib.c | 832 cl.viewangles[PITCH] = 0; in Force_CenterView_f() 967 cl.viewangles[YAW] -= m_yaw.value * mouse_x; in IN_MouseMove() 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()
|
D | gl_rmain.c | 891 AngleVectors (r_refdef.viewangles, vpn, vright, vup); in R_SetupFrame() 1004 glRotatef (-r_refdef.viewangles[2], 1, 0, 0); in R_SetupGL() 1005 glRotatef (-r_refdef.viewangles[0], 0, 1, 0); in R_SetupGL() 1006 glRotatef (-r_refdef.viewangles[1], 0, 0, 1); in R_SetupGL() 1143 r_refdef.viewangles[0] = -asin (vpn[2])/M_PI*180; 1144 r_refdef.viewangles[1] = atan2 (vpn[1], vpn[0])/M_PI*180; 1145 r_refdef.viewangles[2] = -r_refdef.viewangles[2];
|