Remove unused global variables
authorJoe Doyle (Ginto8) <ginto8@gmail.com>
Thu, 29 Nov 2012 23:13:06 -0500
changeset 8143 3f2ba6debbdd
parent 8142 b10219ef05d3
child 8145 6408c0ba4ba1
Remove unused global variables
hedgewars/uConsts.pas
hedgewars/uVariables.pas
--- a/hedgewars/uConsts.pas	Thu Nov 29 14:48:38 2012 -0500
+++ b/hedgewars/uConsts.pas	Thu Nov 29 23:13:06 2012 -0500
@@ -122,8 +122,6 @@
     cifMap       = $00000002; // either theme or map (or map+theme)
     cifAllInited = cifRandomize or cifTheme or cifMap;
 
-    cTransparentColor: Longword = $00000000;
-
     RGB_LUMINANCE_RED    = 0.212671;
     RGB_LUMINANCE_GREEN  = 0.715160;
     RGB_LUMINANCE_BLUE   = 0.072169;
@@ -131,7 +129,6 @@
     cMaxTeams        = 8;
     cMaxHHIndex      = 7;
     cMaxHHs          = 48;
-    cMaxSpawnPoints  = 1024;
 
     cMaxEdgePoints = 16384;
 
@@ -162,7 +159,6 @@
     cDefaultZoomLevel = 2.0;
 
     cSendEmptyPacketTime = 1000;
-    trigTurns = $80000001;
 
     // game flags
     gfAny                = $FFFFFFFF;
--- a/hedgewars/uVariables.pas	Thu Nov 29 14:48:38 2012 -0500
+++ b/hedgewars/uVariables.pas	Thu Nov 29 23:13:06 2012 -0500
@@ -2479,7 +2479,6 @@
 {$ENDIF}
     cOffsetY: LongInt;
     AFRToggle: Boolean;
-    bAFRRight: Boolean;
 
 
     PauseTexture,