mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
Center ioq3 credits vertically.
This commit is contained in:
parent
2943488927
commit
3f79d04536
1 changed files with 3 additions and 1 deletions
|
@ -67,7 +67,9 @@ static void UI_CreditMenu_Draw_ioq3( void ) {
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
y = 12;
|
// Center text vertically on the screen
|
||||||
|
y = (SCREEN_HEIGHT - ARRAY_LEN(names) * (1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE)) / 2;
|
||||||
|
|
||||||
UI_DrawProportionalString( 320, y, "ioquake3 contributors:", UI_CENTER|UI_SMALLFONT, color_white );
|
UI_DrawProportionalString( 320, y, "ioquake3 contributors:", UI_CENTER|UI_SMALLFONT, color_white );
|
||||||
y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
|
y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue