4 void View_Update (void)
10 angle_alive = input_angles;
12 if(player_flags & PFL_DEAD)
14 R_SetView(VF_ORIGIN, vieworg+'0 0 4');
16 R_SetView(VF_ANGLES, angle_alive);
17 R_SetView(VF_CL_VIEWANGLES, angle_alive);
21 if(input_buttons & 16 && getstati(STAT_HEALTH) != 6666)
22 vieworg += PL_CROUCH_VIEW_OFS;
24 vieworg += PL_VIEW_OFS;
26 R_SetView(VF_ORIGIN, vieworg);
27 R_SetView(VF_ANGLES, input_angles);
29 cprint(ftos(input_buttons));
31 if(!cvar("cg_showvelocity"))
38 s = strcat(s, " ups");
39 drawstring('1 0 0'*vid_width + '-64 64 0', s, '8 8 0', VEC_1, 1, 0);
41 s = strcat(s, " max");
42 drawstring('1 0 0'*vid_width + '-64 72 0', s, '8 8 0', VEC_1, 1, 0);