hedgewars/uConsts.pas
changeset 2204 526f8165acce
parent 2182 ed7e7eb3f9ed
child 2210 1cb7118a77dd
equal deleted inserted replaced
2203:6bd39d75e0dd 2204:526f8165acce
   154 	msgOK                = 'ok';
   154 	msgOK                = 'ok';
   155 	msgFailed            = 'failed';
   155 	msgFailed            = 'failed';
   156 	msgFailedSize        = 'failed due to size';
   156 	msgFailedSize        = 'failed due to size';
   157 	msgGettingConfig     = 'Getting game config...';
   157 	msgGettingConfig     = 'Getting game config...';
   158 
   158 
   159 const
   159 const // image flags (for LoadImage())
   160 	ifNone        = $00000000;
   160     ifNone        = $00000000; // nothing special
   161 	ifAlpha       = $00000001;
   161     ifAlpha       = $00000001; // use alpha channel (unused right now?)
   162 	ifCritical    = $00000002;
   162     ifCritical    = $00000002; // image is critical for gameplay (exit game if unable to load)
   163 	ifTransparent = $00000004;
   163     ifTransparent = $00000004; // image uses transparent pixels (color keying)
   164 	ifIgnoreCaps  = $00000008;
   164     ifIgnoreCaps  = $00000008; // ignore hardware capabilities when loading (i.e. image won't be drawn using OpenGL)
   165 	
   165 	
   166 const
   166 const
   167 	cMaxPower     = 1500;
   167 	cMaxPower     = 1500;
   168 	cMaxAngle     = 2048;
   168 	cMaxAngle     = 2048;
   169 	cPowerDivisor = 1500;
   169 	cPowerDivisor = 1500;