|
|
|
@ -78,6 +78,7 @@ extern cvar_t *cl_forwardspeed;
@@ -78,6 +78,7 @@ extern cvar_t *cl_forwardspeed;
|
|
|
|
|
extern cvar_t *chase_active; |
|
|
|
|
extern cvar_t *scr_ofsx, *scr_ofsy, *scr_ofsz; |
|
|
|
|
extern cvar_t *cl_vsmoothing; |
|
|
|
|
extern cvar_t *cl_viewbob; |
|
|
|
|
extern Vector dead_viewangles; |
|
|
|
|
|
|
|
|
|
#define CAM_MODE_RELAX 1 |
|
|
|
@ -598,6 +599,9 @@ void V_CalcNormalRefdef( struct ref_params_s *pparams )
@@ -598,6 +599,9 @@ void V_CalcNormalRefdef( struct ref_params_s *pparams )
|
|
|
|
|
view->angles[ROLL] -= bob * 1; |
|
|
|
|
view->angles[PITCH] -= bob * 0.3; |
|
|
|
|
|
|
|
|
|
if( cl_viewbob && cl_viewbob->value ) |
|
|
|
|
VectorCopy( view->angles, view->curstate.angles ); |
|
|
|
|
|
|
|
|
|
// pushing the view origin down off of the same X/Z plane as the ent's origin will give the
|
|
|
|
|
// gun a very nice 'shifting' effect when the player looks up/down. If there is a problem
|
|
|
|
|
// with view model distortion, this may be a cause. (SJB).
|
|
|
|
|