hedgewars/uConsts.pas
changeset 13861 d82c580b6596
parent 13663 91d48cbae927
child 14041 44f20c9e6861
equal deleted inserted replaced
13860:aba78789f0bf 13861:d82c580b6596
   176     RGB_LUMINANCE_BLUE   = 0.072169;
   176     RGB_LUMINANCE_BLUE   = 0.072169;
   177 
   177 
   178     // hedgehog info
   178     // hedgehog info
   179     cMaxTeams        = 8; // maximum number of teams
   179     cMaxTeams        = 8; // maximum number of teams
   180     cMaxHHIndex      = 7; // maximum hedgehog index (counting starts at 0)
   180     cMaxHHIndex      = 7; // maximum hedgehog index (counting starts at 0)
       
   181                           // NOTE: If you change cMaxHHIndex, also change cMaxHogHealth!
   181     cMaxHHs          = cMaxTeams * (cMaxHHIndex+1); // maximum number of hogs
   182     cMaxHHs          = cMaxTeams * (cMaxHHIndex+1); // maximum number of hogs
   182 
   183 
   183     cClanColors      = 9; // number of possible clan colors
   184     cClanColors      = 9; // number of possible clan colors
   184 
   185 
   185     cMaxEdgePoints = 32768;
   186     cMaxEdgePoints = 32768;
   186 
   187 
   187     cHHRadius = 9; // hedgehog radius
   188     cHHRadius = 9; // hedgehog radius
   188     cHHStepTicks = 29;
   189     cHHStepTicks = 29;
   189 
   190 
   190     cMaxHogHealth : LongInt = High(LongInt) div (cMaxHHIndex+1); // maximum hedgehog health
   191     cMaxHogHealth = 268435455; // maximum hedgehog health
       
   192     // cMaxHogHealth was calculated by: High(LongInt) div (cMaxHHIndex+1);
   191 
   193 
   192     // Z levels
   194     // Z levels
   193     cHHZ = 1000;
   195     cHHZ = 1000;
   194     cCurrHHZ = Succ(cHHZ);
   196     cCurrHHZ = Succ(cHHZ);
   195 
   197