[nexuiz-commits] r6725 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue May 12 18:14:45 EDT 2009


Author: div0
Date: 2009-05-12 18:14:45 -0400 (Tue, 12 May 2009)
New Revision: 6725

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
make strength/invincible countdown look better with the new pics


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-05-12 22:07:15 UTC (rev 6724)
+++ trunk/data/qcsrc/client/sbar.qc	2009-05-12 22:14:45 UTC (rev 6725)
@@ -1449,8 +1449,8 @@
 	vector pos, picsize, number_position;
 	float strength_time, invincibility_time, countdown_fontsize;
 
-	picsize = '40 40 0';
-	countdown_fontsize = 22;
+	picsize = '48 48 0';
+	countdown_fontsize = 24;
 	
 	//element will be positioned on the right side of the screen:
 	pos_x = vid_conwidth - picsize_x - 10; //margin 10 from right border
@@ -1462,7 +1462,7 @@
 	//now calculate the values Sbar_DrawXNum() will be called with:
 	number_position_x = number_position_x - sbar_x; //relative to sbar coordinates
 	number_position_y = number_position_y - sbar_y; //relative to sbar coordinates
-	number_position_y += 10; //center number vertically to the icon
+	number_position_y += 14; //center number vertically to the icon
 	
 	pos_z = number_position_z = 0;
 	



More information about the nexuiz-commits mailing list