hedgewars/uConsts.pas
changeset 2244 853a1db1cff6
parent 2243 b4764993f833
child 2247 10a5c05e09c9
equal deleted inserted replaced
2243:b4764993f833 2244:853a1db1cff6
   161     ifNone        = $00000000; // nothing special
   161     ifNone        = $00000000; // nothing special
   162     ifAlpha       = $00000001; // use alpha channel (unused right now?)
   162     ifAlpha       = $00000001; // use alpha channel (unused right now?)
   163     ifCritical    = $00000002; // image is critical for gameplay (exit game if unable to load)
   163     ifCritical    = $00000002; // image is critical for gameplay (exit game if unable to load)
   164     ifTransparent = $00000004; // image uses transparent pixels (color keying)
   164     ifTransparent = $00000004; // image uses transparent pixels (color keying)
   165     ifIgnoreCaps  = $00000008; // ignore hardware capabilities when loading (i.e. image will not be drawn using OpenGL)
   165     ifIgnoreCaps  = $00000008; // ignore hardware capabilities when loading (i.e. image will not be drawn using OpenGL)
   166 	
   166     ifLowRes      = $00000010; // try loading a low resolution image when it is critical
   167 const
   167 const
   168 	cMaxPower     = 1500;
   168 	cMaxPower     = 1500;
   169 	cMaxAngle     = 2048;
   169 	cMaxAngle     = 2048;
   170 	cPowerDivisor = 1500;
   170 	cPowerDivisor = 1500;
   171 
   171 
   189     LAND_HEIGHT_MASK = $FFFFF800;
   189     LAND_HEIGHT_MASK = $FFFFF800;
   190 {$ENDIF}
   190 {$ENDIF}
   191 
   191 
   192     COLOR_LAND           = $FFFF;  // white
   192     COLOR_LAND           = $FFFF;  // white
   193 	COLOR_INDESTRUCTIBLE = $88FF;  // red
   193 	COLOR_INDESTRUCTIBLE = $88FF;  // red
   194 
       
   195 
   194 
   196     //some opengl headers do not have these macros
   195     //some opengl headers do not have these macros
   197     GL_BGR  = $80E0;
   196     GL_BGR  = $80E0;
   198     GL_BGRA = $80E1;
   197     GL_BGRA = $80E1;
   199 
   198