r4103 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Aug 11 12:58:26 EDT 2008


Author: div0
Date: 2008-08-11 12:58:25 -0400 (Mon, 11 Aug 2008)
New Revision: 4103

Modified:
   trunk/data/qcsrc/client/Defs.qc
   trunk/data/qcsrc/client/Main.qc
   trunk/data/qcsrc/client/miscfunctions.qc
Log:
remove unuseds (except for the fteqcc bug ones)


Modified: trunk/data/qcsrc/client/Defs.qc
===================================================================
--- trunk/data/qcsrc/client/Defs.qc	2008-08-11 10:19:38 UTC (rev 4102)
+++ trunk/data/qcsrc/client/Defs.qc	2008-08-11 16:58:25 UTC (rev 4103)
@@ -151,18 +151,20 @@
 float		intermission;
 float		sb_showscores;
 .string		message;
-float		coop;
-float		deathmatch;
+// float		coop;
+// float		deathmatch;
 
-float		dmg_take;
-float		dmg_save;
-vector		dmg_origin;
+// float		dmg_take;
+// float		dmg_save;
+// vector		dmg_origin;
 
 // Darkplaces Render Modifications
+#if 0
 .float alpha;
 .float renderflags;
 .vector colormod;
 .float scale;
+#endif
 
 // Basic variables
 .float enttype; // entity type sent from server
@@ -171,7 +173,6 @@
 .float team_size;
 
 float vid_conwidth, vid_conheight;
-float caps_team1, caps_team2;
 float configdb;
 string shortmapname;
 
@@ -180,7 +181,6 @@
 float race_time;
 float race_laptime;
 float race_checkpointtime;
-float race_delta;
 float race_previousbesttime;
 string race_previousbestname;
 float race_nextcheckpoint;

Modified: trunk/data/qcsrc/client/Main.qc
===================================================================
--- trunk/data/qcsrc/client/Main.qc	2008-08-11 10:19:38 UTC (rev 4102)
+++ trunk/data/qcsrc/client/Main.qc	2008-08-11 16:58:25 UTC (rev 4103)
@@ -141,7 +141,6 @@
 
 void Playerchecker_Think()
 {
-	entity pl;
 	float i;
 	for(i = 0; i < maxclients; ++i)
 	{
@@ -178,8 +177,6 @@
 
 void PostInit(void)
 {
-	float i;
-
 	print(strcat("PostInit\n    maxclients = ", ftos(maxclients), "\n"));
 	localcmd(strcat("\nsbar_columns_set ", cvar_string("sbar_columns"), ";\n"));
 
@@ -308,7 +305,7 @@
 {
 	float i, Team;
 	float isNew;
-	entity tm, o;
+	entity o;
 
 	// damnit -.- don't want to go change every single .sv_entnum in sbar.qc AGAIN
 	// (no I've never heard of M-x replace-string, sed, or anything like that)
@@ -404,7 +401,6 @@
 		}
 	} else if(self.enttype == ENT_CLIENT_SCORES)
 	{
-		entity tm;
 		if(self.owner)
 		{
 			SetTeam(self.owner, -1);
@@ -568,7 +564,6 @@
 
 void Net_ReadRace()
 {
-	float checkpoint, t;
 	float b;
 
 	b = ReadByte();

Modified: trunk/data/qcsrc/client/miscfunctions.qc
===================================================================
--- trunk/data/qcsrc/client/miscfunctions.qc	2008-08-11 10:19:38 UTC (rev 4102)
+++ trunk/data/qcsrc/client/miscfunctions.qc	2008-08-11 16:58:25 UTC (rev 4103)
@@ -1,4 +1,3 @@
-float databuf;
 var float(string text, float handleColors) stringwidth;
 
 entity players;




More information about the nexuiz-commits mailing list