[quake3-commits] r2175 - trunk/code/q3_ui
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Sep 19 23:39:23 EDT 2011
Author: ztm
Date: 2011-09-19 23:39:23 -0400 (Mon, 19 Sep 2011)
New Revision: 2175
Modified:
trunk/code/q3_ui/ui_credits.c
Log:
Center ioq3 credits vertically.
Modified: trunk/code/q3_ui/ui_credits.c
===================================================================
--- trunk/code/q3_ui/ui_credits.c 2011-09-20 03:29:22 UTC (rev 2174)
+++ trunk/code/q3_ui/ui_credits.c 2011-09-20 03:39:23 UTC (rev 2175)
@@ -67,7 +67,9 @@
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 );
y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
More information about the quake3-commits
mailing list