hedgewars/uConsts.pas
changeset 3594 aeca3d8f1b29
parent 3569 27b0ec683572
child 3611 ed00aa2b339e
equal deleted inserted replaced
3593:ae50f63e4fa9 3594:aeca3d8f1b29
   212 {$WARNINGS OFF}
   212 {$WARNINGS OFF}
   213     cAirPlaneSpeed: hwFloat = (isNegative: false; QWordValue:   3006477107); // 1.4
   213     cAirPlaneSpeed: hwFloat = (isNegative: false; QWordValue:   3006477107); // 1.4
   214     cBombsSpeed   : hwFloat = (isNegative: false; QWordValue:    429496729);
   214     cBombsSpeed   : hwFloat = (isNegative: false; QWordValue:    429496729);
   215 {$WARNINGS ON}
   215 {$WARNINGS ON}
   216 
   216 
       
   217     // reducedquality flags
       
   218     rqNone        = $00000000;  // don't reduce quality
       
   219     rqBlurryLand  = $00000001;  // downscaled terrain
       
   220     rqLowRes      = $00000002;  // use half land array
       
   221     rqNoBackground= $00000004;  // don't draw background
       
   222     rqSimpleRope  = $00000008;  // avoid drawing rope
       
   223     rq2DWater     = $00000010;  // disabe 3D water effect
       
   224     rqFancyBoom   = $00000020;  // no fancy explosion effects
       
   225     rqKillFlakes  = $00000040;  // no flakes
       
   226     rqSlowMenu    = $00000080;  // ammomenu appears with no animation
       
   227     rqPlainSplash = $00000100;  // no droplets
       
   228 
   217     // image flags (for LoadImage())
   229     // image flags (for LoadImage())
   218     ifNone        = $00000000;  // nothing special
   230     ifNone        = $00000000;  // nothing special
   219     ifAlpha       = $00000001;  // use alpha channel (unused right now?)
   231     ifAlpha       = $00000001;  // use alpha channel (unused right now?)
   220     ifCritical    = $00000002;  // image is critical for gameplay (exit game if unable to load)
   232     ifCritical    = $00000002;  // image is critical for gameplay (exit game if unable to load)
   221     ifTransparent = $00000004;  // image uses transparent pixels (color keying)
   233     ifTransparent = $00000004;  // image uses transparent pixels (color keying)
   222     ifIgnoreCaps  = $00000008;  // ignore hardware capabilities when loading (i.e. image will not be drawn using OpenGL)
   234     ifIgnoreCaps  = $00000008;  // ignore hardware capabilities when loading (i.e. image will not be drawn using OpenGL)
   223 
   235 
   224     // texture priority (allows OpenGL to keep frequently used textures in video memory more easily)
   236     // texture priority (allows OpenGL to keep frequently used textures in video memory more easily)
   225     tpLowest     = 0.00;
   237     tpLowest      = 0.00;
   226     tpLow         = 0.25;
   238     tpLow         = 0.25;
   227     tpMedium      = 0.50;
   239     tpMedium      = 0.50;
   228     tpHigh        = 0.75;
   240     tpHigh        = 0.75;
   229     tpHighest    = 1.00;
   241     tpHighest     = 1.00;
   230 
   242 
   231     {*  REFERENCE
   243     {*  REFERENCE
   232       4096 -> $FFFFF000
   244       4096 -> $FFFFF000
   233       2048 -> $FFFFF800
   245       2048 -> $FFFFF800
   234       1024 -> $FFFFFC00
   246       1024 -> $FFFFFC00