mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-22 12:11:36 +00:00
lcd_x == buhbye
This commit is contained in:
parent
d60c3427c9
commit
80b88be543
1 changed files with 1 additions and 35 deletions
|
@ -145,42 +145,8 @@ void V_RenderView (void)
|
||||||
|
|
||||||
R_PushDlights (vec3_origin);
|
R_PushDlights (vec3_origin);
|
||||||
|
|
||||||
if (lcd_x->value)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
// render two interleaved views
|
|
||||||
//
|
|
||||||
int i;
|
|
||||||
|
|
||||||
vid.rowbytes <<= 1;
|
|
||||||
vid.aspect *= 0.5;
|
|
||||||
|
|
||||||
r_refdef.viewangles[YAW] -= lcd_yaw->value;
|
|
||||||
for (i=0 ; i<3 ; i++)
|
|
||||||
r_refdef.vieworg[i] -= right[i]*lcd_x->value;
|
|
||||||
R_RenderView ();
|
R_RenderView ();
|
||||||
|
|
||||||
vid.buffer += vid.rowbytes>>1;
|
|
||||||
|
|
||||||
R_PushDlights (vec3_origin);
|
|
||||||
|
|
||||||
r_refdef.viewangles[YAW] += lcd_yaw->value*2;
|
|
||||||
for (i=0 ; i<3 ; i++)
|
|
||||||
r_refdef.vieworg[i] += 2*right[i]*lcd_x->value;
|
|
||||||
R_RenderView ();
|
|
||||||
|
|
||||||
vid.buffer -= vid.rowbytes>>1;
|
|
||||||
|
|
||||||
r_refdef.vrect.height <<= 1;
|
|
||||||
|
|
||||||
vid.rowbytes >>= 1;
|
|
||||||
vid.aspect *= 2;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
R_RenderView ();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (crosshair->int_val)
|
if (crosshair->int_val)
|
||||||
Draw_Crosshair();
|
Draw_Crosshair();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue