hedgewars/uConsts.pas
changeset 15974 8bb07b0f50ca
parent 15711 4a8a1dd9528a
equal deleted inserted replaced
15973:2d9d07ccb8ef 15974:8bb07b0f50ca
   169     GL_TEXTURE_PRIORITY = $8066;
   169     GL_TEXTURE_PRIORITY = $8066;
   170     {$ENDIF}
   170     {$ENDIF}
   171 
   171 
   172     cVisibleWater       : LongInt = 128;
   172     cVisibleWater       : LongInt = 128;
   173     cTeamHealthWidth    : LongInt = 128;
   173     cTeamHealthWidth    : LongInt = 128;
   174     cTeamHealthHeight   : LongInt = 19 * HDPIScaleFactor;
   174     cTeamHealthHeight   : LongInt = round(19 * HDPIScaleFactor);
   175     cGearContourThreshold : LongInt = 179; // if water opacity is higher than this, draw contour for some gears when in water
   175     cGearContourThreshold : LongInt = 179; // if water opacity is higher than this, draw contour for some gears when in water
   176 
   176 
   177     cifRandomize = $00000001;
   177     cifRandomize = $00000001;
   178     cifTheme     = $00000002;
   178     cifTheme     = $00000002;
   179     cifMap       = $00000002; // either theme or map (or map+theme)
   179     cifMap       = $00000002; // either theme or map (or map+theme)
   219     // key stuff
   219     // key stuff
   220     cKeyMaxIndex = 1600;
   220     cKeyMaxIndex = 1600;
   221     cKbdMaxIndex = 65536;//need more room for the modifier keys
   221     cKbdMaxIndex = 65536;//need more room for the modifier keys
   222 
   222 
   223     // font stuff
   223     // font stuff
   224     cFontBorder = 2 * HDPIScaleFactor;
   224     cFontBorder = round(2 * HDPIScaleFactor);
   225     cFontPadding = 2 * HDPIScaleFactor;
   225     cFontPadding = round(2 * HDPIScaleFactor);
   226 
   226 
   227     cDefaultBuildMaxDist = 256; // default max. building distance with girder/rubber
   227     cDefaultBuildMaxDist = 256; // default max. building distance with girder/rubber
   228     cResurrectorDist = 100; // effect distance of resurrector
   228     cResurrectorDist = 100; // effect distance of resurrector
   229     cSeductionDist = 250; // effect distance of seduction
   229     cSeductionDist = 250; // effect distance of seduction
   230 
   230