r4598 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Oct 3 06:09:49 EDT 2008


Author: div0
Date: 2008-10-03 06:09:49 -0400 (Fri, 03 Oct 2008)
New Revision: 4598

Modified:
   trunk/data/qcsrc/client/Main.qc
   trunk/data/qcsrc/client/hook.qc
   trunk/data/qcsrc/client/main.qh
   trunk/data/qcsrc/client/mapvoting.qc
   trunk/data/qcsrc/client/particles.qc
   trunk/data/qcsrc/client/teamradar.qc
Log:
less warnings


Modified: trunk/data/qcsrc/client/Main.qc
===================================================================
--- trunk/data/qcsrc/client/Main.qc	2008-10-03 10:06:10 UTC (rev 4597)
+++ trunk/data/qcsrc/client/Main.qc	2008-10-03 10:09:49 UTC (rev 4598)
@@ -474,7 +474,6 @@
 void Ent_Nagger()
 {
 	float nags;
-	string s;
 
 	nags = ReadByte();
 
@@ -600,10 +599,6 @@
 
 void Gamemode_Init()
 {
-	local string mapinfo, infoline;
-	local float len;
-	local float file;
-
 	get_mi_min_max();
 	mi_center = (mi_min + mi_max) * 0.5;
 	mi_scale = mi_max - mi_min;
@@ -643,8 +638,6 @@
 
 void Fog_Force()
 {
-	string s;
-
 	// TODO somehow thwart prvm_globalset client ...
 
 	if(forcefog != "")

Modified: trunk/data/qcsrc/client/hook.qc
===================================================================
--- trunk/data/qcsrc/client/hook.qc	2008-10-03 10:06:10 UTC (rev 4597)
+++ trunk/data/qcsrc/client/hook.qc	2008-10-03 10:09:49 UTC (rev 4598)
@@ -31,7 +31,7 @@
 
 void Draw_GrapplingHook()
 {
-	vector a, b, o;
+	vector a, b;
 	string tex;
 	vector rgb;
 

Modified: trunk/data/qcsrc/client/main.qh
===================================================================
--- trunk/data/qcsrc/client/main.qh	2008-10-03 10:06:10 UTC (rev 4597)
+++ trunk/data/qcsrc/client/main.qh	2008-10-03 10:09:49 UTC (rev 4598)
@@ -91,8 +91,8 @@
 float scores_flags[MAX_SCORE];
 string teamscores_label[MAX_SCORE];
 float teamscores_flags[MAX_SCORE];
-.float scores[MAX_SCORE];
-.float teamscores[MAX_TEAMSCORE];
+.float scores[MAX_SCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(scores);
+.float teamscores[MAX_TEAMSCORE]; FTEQCC_YOU_SUCK_THIS_IS_NOT_UNREFERENCED(teamscores);
 
 #define IS_INCREASING(x) ( (x)&SFL_LOWER_IS_BETTER )
 #define IS_DECREASING(x) ( !((x)&SFL_LOWER_IS_BETTER) )

Modified: trunk/data/qcsrc/client/mapvoting.qc
===================================================================
--- trunk/data/qcsrc/client/mapvoting.qc	2008-10-03 10:06:10 UTC (rev 4597)
+++ trunk/data/qcsrc/client/mapvoting.qc	2008-10-03 10:09:49 UTC (rev 4598)
@@ -34,7 +34,7 @@
 
 void MapVote_DrawMapItem(vector pos, float isize, float tsize, string map, string pic, float count, float id)
 {
-	vector img_size, a, b;
+	vector img_size;
 	vector rgb;
 	string label;
 	float text_size;
@@ -61,8 +61,6 @@
 
 	if(pic == "")
 	{
-		a_x = img_size_x; // for the lines
-		b_y = img_size_y;
 		drawfill(pos, img_size, '.5 .5 .5', .7, DRAWFLAG_NORMAL);
 	}
 	else

Modified: trunk/data/qcsrc/client/particles.qc
===================================================================
--- trunk/data/qcsrc/client/particles.qc	2008-10-03 10:06:10 UTC (rev 4597)
+++ trunk/data/qcsrc/client/particles.qc	2008-10-03 10:09:49 UTC (rev 4598)
@@ -1,6 +1,5 @@
 vector PointInBrush_vec;
 entity PointInBrush_brush;
-entity PointInBrush_allmask;
 .float dphitcontentsmask;
 float PointInBrush_Recurse()
 {

Modified: trunk/data/qcsrc/client/teamradar.qc
===================================================================
--- trunk/data/qcsrc/client/teamradar.qc	2008-10-03 10:06:10 UTC (rev 4597)
+++ trunk/data/qcsrc/client/teamradar.qc	2008-10-03 10:09:49 UTC (rev 4598)
@@ -105,7 +105,7 @@
 void() teamradar_view =
 {
 	local float color;
-	local vector coord, rgb;
+	local vector rgb;
 	local entity tm;
 	float scale2d, normalsize, bigsize;
 	float a;




More information about the nexuiz-commits mailing list