[nexuiz-commits] r7528 - in trunk/data: . qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Aug 26 08:08:40 EDT 2009


Author: fruitiex
Date: 2009-08-26 08:08:39 -0400 (Wed, 26 Aug 2009)
New Revision: 7528

Modified:
   trunk/data/defaultNexuiz.cfg
   trunk/data/qcsrc/client/main.qh
   trunk/data/qcsrc/client/sbar.qc
Log:
bigger observed player's name


Modified: trunk/data/defaultNexuiz.cfg
===================================================================
--- trunk/data/defaultNexuiz.cfg	2009-08-26 09:45:09 UTC (rev 7527)
+++ trunk/data/defaultNexuiz.cfg	2009-08-26 12:08:39 UTC (rev 7528)
@@ -26,7 +26,7 @@
 seta g_configversion 0	"Configuration file version (used to upgrade settings) 0: first run, or previous start was <2.4.1  Later, it's overridden by config.cfg, version ranges are defined in config_update.cfg"
 
 // default.cfg versioning (update using update-cvarcount.sh, run that every time after adding a new cvar)
-set cvar_check_default f65221846eecbdf910cfb40f5839ac0d
+set cvar_check_default ff6f4ae047891b3b61ecfc5b3d3b38b4
 
 // Nexuiz version (formatted for machines)
 // used to determine if a client version is compatible
@@ -1292,7 +1292,7 @@
 
 // good settings for these fonts
 con_chat 5
-con_chatpos -7
+con_chatpos -9
 con_chatsize 10
 con_chatwidth 0.6
 con_notifysize 10
@@ -1410,6 +1410,7 @@
 
 // sbar: font size
 seta sbar_fontsize 11
+seta sbar_fontsize_spec 16
 seta scr_centersize 11
 seta sbar_width 560
 alias sbar_font "loadfont user1 $*; loadfont user2 ${*}-big; sbar_columns_set"

Modified: trunk/data/qcsrc/client/main.qh
===================================================================
--- trunk/data/qcsrc/client/main.qh	2009-08-26 09:45:09 UTC (rev 7527)
+++ trunk/data/qcsrc/client/main.qh	2009-08-26 12:08:39 UTC (rev 7528)
@@ -96,6 +96,7 @@
 
 
 vector sbar_fontsize;
+vector sbar_fontsize_spec;
 
 //float csqc_flags;
 

Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-08-26 09:45:09 UTC (rev 7527)
+++ trunk/data/qcsrc/client/sbar.qc	2009-08-26 12:08:39 UTC (rev 7528)
@@ -2206,6 +2206,7 @@
 	pos = '0 0 0';
 
 	sbar_fontsize = Sbar_GetFontsize("sbar_fontsize");
+	sbar_fontsize_spec = Sbar_GetFontsize("sbar_fontsize_spec");
 
 	if(spectatee_status && !intermission)
 	{
@@ -2215,9 +2216,9 @@
 			s = GetPlayerName(spectatee_status - 1);
 		// spectated player name between HUD and chat area, aligned to the left
 		pos_x = bottomleft_x;
-		pos_y = bottom_y - 61;
-		s = textShortenToWidth(s, vid_conwidth/2.5/sbar_fontsize_x, stringwidth_colors);
-		drawcolorcodedstring(pos, s, sbar_fontsize, 1, DRAWFLAG_NORMAL);
+		pos_y = bottom_y - 66;
+		s = textShortenToWidth(s, vid_conwidth/2.5/sbar_fontsize_spec_x, stringwidth_colors);
+		drawcolorcodedstring(pos, s, sbar_fontsize_spec, 1, DRAWFLAG_NORMAL);
 
 		// spectator text in the upper right corner
 		if(spectatee_status == -1)



More information about the nexuiz-commits mailing list