Center ioq3 credits vertically.

This commit is contained in:
Zack Middleton 2011-09-20 03:39:23 +00:00
parent 2943488927
commit 3f79d04536

View file

@ -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;