mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-25 13:30:58 +00:00
Move world text up
This commit is contained in:
parent
626b57c17b
commit
0cfc029f33
1 changed files with 6 additions and 6 deletions
|
@ -533,15 +533,15 @@ void HUD_WorldText(int alpha)
|
|||
|
||||
if (!strcmp("location", key)) // search for location key
|
||||
{
|
||||
Draw_ColoredString(4, vid.height/2 + 32, value, 255, 255, 255, alpha, 1);
|
||||
Draw_ColoredString(4, vid.height/2 + 16, value, 255, 255, 255, alpha, 1);
|
||||
}
|
||||
if (!strcmp("date", key)) // search for date key
|
||||
{
|
||||
Draw_ColoredString(4, vid.height/2 + 42, value, 255, 255, 255, alpha, 1);
|
||||
Draw_ColoredString(4, vid.height/2 + 26, value, 255, 255, 255, alpha, 1);
|
||||
}
|
||||
if (!strcmp("person", key)) // search for person key
|
||||
{
|
||||
Draw_ColoredString(4, vid.height/2 + 52, value, 255, 255, 255, alpha, 1);
|
||||
Draw_ColoredString(4, vid.height/2 + 36, value, 255, 255, 255, alpha, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -617,7 +617,7 @@ void HUD_Rounds (void)
|
|||
Draw_ColoredString(vid.width/2 - (strlen("Round")*16)/2, 80, "Round", 255, 0, 0, value, 2);
|
||||
|
||||
HUD_WorldText(value2);
|
||||
Draw_ColoredString(4, vid.height/2 + 22, "'Nazi Zombies'", 255, 255, 255, value2, 1);
|
||||
Draw_ColoredString(4, vid.height/2 + 6, "'Nazi Zombies'", 255, 255, 255, value2, 1);
|
||||
|
||||
value -= cl.time * 0.4;
|
||||
value2 += cl.time * 0.4;
|
||||
|
@ -631,7 +631,7 @@ void HUD_Rounds (void)
|
|||
// Hold world text for a few seconds
|
||||
else if (textstate == 2) {
|
||||
HUD_WorldText(255);
|
||||
Draw_ColoredString(4, vid.height/2 + 22, "'Nazi Zombies'", 255, 255, 255, 255, 1);
|
||||
Draw_ColoredString(4, vid.height/2 + 6, "'Nazi Zombies'", 255, 255, 255, 255, 1);
|
||||
|
||||
value2 += cl.time * 0.4;
|
||||
|
||||
|
@ -643,7 +643,7 @@ void HUD_Rounds (void)
|
|||
// Fade worldtext out, finally.
|
||||
else if (textstate == 3) {
|
||||
HUD_WorldText(value2);
|
||||
Draw_ColoredString(4, vid.height/2 + 22, "'Nazi Zombies'", 255, 255, 255, value2, 1);
|
||||
Draw_ColoredString(4, vid.height/2 + 6, "'Nazi Zombies'", 255, 255, 255, value2, 1);
|
||||
|
||||
value2 -= cl.time * 0.4;
|
||||
|
||||
|
|
Loading…
Reference in a new issue