hedgewars/uConsts.pas
branchui-scaling
changeset 15663 d92eeb468dad
parent 15283 c4fd2813b127
parent 15442 6031c0cfec89
child 15664 0b99e220568a
equal deleted inserted replaced
15283:c4fd2813b127 15663:d92eeb468dad
   108     ifNone        = $00000000;  // nothing special
   108     ifNone        = $00000000;  // nothing special
   109     ifAlpha       = $00000001;  // use alpha channel (unused right now?)
   109     ifAlpha       = $00000001;  // use alpha channel (unused right now?)
   110     ifCritical    = $00000002;  // image is critical for gameplay (exit game if unable to load)
   110     ifCritical    = $00000002;  // image is critical for gameplay (exit game if unable to load)
   111     ifColorKey    = $00000004;  // image uses transparent pixels (color keying)
   111     ifColorKey    = $00000004;  // image uses transparent pixels (color keying)
   112     ifIgnoreCaps  = $00000008;  // ignore hardware capabilities when loading (i.e. image will not be drawn using OpenGL)
   112     ifIgnoreCaps  = $00000008;  // ignore hardware capabilities when loading (i.e. image will not be drawn using OpenGL)
       
   113     ifDigestAlpha = $00000010;  // add alpha channel to the digest
       
   114     ifDigestAll   = $00000020;  // add all channels to the digest
   113 
   115 
   114     // texture priority (allows OpenGL to keep frequently used textures in video memory more easily)
   116     // texture priority (allows OpenGL to keep frequently used textures in video memory more easily)
   115     tpLowest      = 0.00;
   117     tpLowest      = 0.00;
   116     tpLow         = 0.25;
   118     tpLow         = 0.25;
   117     tpMedium      = 0.50;
   119     tpMedium      = 0.50;
   324     cMaxSlotAmmoIndex   = 5; // maximum index for ammos per slot (column in ammo menu)
   326     cMaxSlotAmmoIndex   = 5; // maximum index for ammos per slot (column in ammo menu)
   325 
   327 
   326     // AI hints to be set for any gear
   328     // AI hints to be set for any gear
   327     aihUsualProcessing    = $00000000; // treat gear as usual
   329     aihUsualProcessing    = $00000000; // treat gear as usual
   328     aihDoesntMatter       = $00000001; // ignore gear in attack calculations and don't intentionally attack it
   330     aihDoesntMatter       = $00000001; // ignore gear in attack calculations and don't intentionally attack it
       
   331     aihAmmosChanged       = $00000002; // set when ammos were changed within this turn but not processed yet
   329 
   332 
   330     // ammo properties
   333     // ammo properties
   331     ammoprop_Timerable    = $00000001; // can set timer
   334     ammoprop_Timerable    = $00000001; // can set timer
   332     ammoprop_Power        = $00000002; // can power up fire strength
   335     ammoprop_Power        = $00000002; // can power up fire strength
   333     ammoprop_NeedTarget   = $00000004; // must select target
   336     ammoprop_NeedTarget   = $00000004; // must select target