Change position of "SCROLL/SPACE..." HUD messages

Now "SCROLL/SPACE..." messages will be visible on the right side
of display, in every standard aspect ratio.
This commit is contained in:
aurhat
2014-11-15 15:12:06 +01:00
parent 1346b5ea0b
commit 87bf71c8f1
+3 -3
View File
@@ -1028,9 +1028,9 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
{
glLoadIdentity();
glOrtho(0, VIRTW*3/2, VIRTH*3/2, 0, -1, 1);
const int left = (VIRTW*3/2)*8/11, top = (VIRTH*3/2)*3/4;
draw_textf("SPACE to change view", left, top);
draw_textf("SCROLL to change player", left, top+80);
const int left = (VIRTW)*3/2, top = (VIRTH*3/2)*3/4;
draw_textf("SPACE to change view", left - (text_width("SCROLL to change player") + FONTH/2), top);
draw_textf("SCROLL to change player", left - (text_width("SCROLL to change player") + FONTH/2), top+80);
}
/* * /