r3875 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jul 21 12:17:48 EDT 2008


Author: blub0
Date: 2008-07-21 12:17:48 -0400 (Mon, 21 Jul 2008)
New Revision: 3875

Modified:
   trunk/data/qcsrc/client/mapvoting.qc
Log:
fixed mapname position

Modified: trunk/data/qcsrc/client/mapvoting.qc
===================================================================
--- trunk/data/qcsrc/client/mapvoting.qc	2008-07-21 16:10:26 UTC (rev 3874)
+++ trunk/data/qcsrc/client/mapvoting.qc	2008-07-21 16:17:48 UTC (rev 3875)
@@ -32,7 +32,6 @@
 	
 	drawstring(pos - '40 0', strcat(ftos(id+1), "."), img_size, rgb, 1, DRAWFLAG_NORMAL);
 
-	pos_y += img_size_y*0.5;
 	pos_x += isize/0.75 + 10;
 
 	if(mv_detail)
@@ -66,7 +65,6 @@
 	
 	drawstring(pos - '40 0', strcat(ftos(id+1), "."), img_size, rgb, 1, DRAWFLAG_NORMAL);
 	
-	pos_y += img_size_y*0.5;
 	pos_x += isize/0.75 + 10;
 
 	if(mv_detail)
@@ -92,7 +90,6 @@
 	
 	drawstring(pos - '40 0', strcat(ftos(id+1), "."), img_size, rgb, 1, DRAWFLAG_NORMAL);
 	
-	pos_y += img_size_y*0.5;
 	pos_x += isize/0.75 + 10;
 
 	if(mv_detail)
@@ -108,6 +105,7 @@
 	vector pos;
 	float isize;
 	float center;
+	float margin;
 	
 	center = (vid_conwidth - 1)/2;
 	xmin = vid_conwidth*0.2;
@@ -141,6 +139,7 @@
 	
 	isize = (ymax - pos_y - mv_num_maps*10) / mv_num_maps;
 	isize = min(isize, 64);
+
 	for(i = 0; i < (mv_num_maps - mv_abstain); ++i)
 	{
 		tmp = mv_votes[i]; // FTEQCC bug: too many array accesses in the function call screw it up




More information about the nexuiz-commits mailing list