mirror of
https://github.com/DrBeef/Quake2Quest.git
synced 2024-11-10 06:41:53 +00:00
HUD
This commit is contained in:
parent
3bcafe27ca
commit
812e4c2c78
2 changed files with 3 additions and 9 deletions
|
@ -988,8 +988,8 @@ void SCR_ExecuteLayoutString (char *s,float separation)
|
|||
y = 0;
|
||||
width = 3;
|
||||
|
||||
int offset_stereo=0;
|
||||
if (separation>0)offset_stereo=viddef.width;
|
||||
int offset_stereo= (separation>0) ? -25 : 25;
|
||||
//if (separation>0)offset_stereo=viddef.width;
|
||||
//offset_stereo=100;
|
||||
|
||||
while (s)
|
||||
|
@ -1023,7 +1023,7 @@ void SCR_ExecuteLayoutString (char *s,float separation)
|
|||
if (!strcmp(token, "yb"))
|
||||
{
|
||||
token = COM_Parse (&s);
|
||||
y = viddef.height + atoi(token);
|
||||
y = (viddef.height * 0.72) + atoi(token);
|
||||
continue;
|
||||
}
|
||||
if (!strcmp(token, "yv"))
|
||||
|
|
|
@ -502,12 +502,6 @@ void SCR_DrawCrosshair (float separation)
|
|||
, 0.75 + 0.25*sin(anglemod(cl.time*0.005)) //alpha
|
||||
, crosshair_pic); //pic
|
||||
#else
|
||||
if (separation>0){
|
||||
re.DrawPic (scr_vrect.x+scr_vrect.width + ((scr_vrect.width - crosshair_width)>>1)
|
||||
, scr_vrect.y + ((scr_vrect.height - crosshair_height)>>1), crosshair_pic);
|
||||
|
||||
}
|
||||
else
|
||||
re.DrawPic (scr_vrect.x + ((scr_vrect.width - crosshair_width)>>1)
|
||||
, scr_vrect.y + ((scr_vrect.height - crosshair_height)>>1), crosshair_pic);
|
||||
|
||||
|
|
Loading…
Reference in a new issue