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:
@@ -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);
|
||||
}
|
||||
|
||||
/* * /
|
||||
|
||||
Reference in New Issue
Block a user