hedgewars/uConsts.pas
changeset 6917 4889c2b779b4
parent 6891 ab9843957664
child 6941 228c0ab239f1
--- a/hedgewars/uConsts.pas	Mon Apr 23 13:22:30 2012 +0000
+++ b/hedgewars/uConsts.pas	Mon Apr 23 19:22:16 2012 +0200
@@ -155,7 +155,12 @@
     cShotgunRadius = 22;
     cBlowTorchC    = 6;
 
+{$IFDEF SDL13}
+    cKeyMaxIndex = SDL_NUM_SCANCODES;
+{$ELSE}
     cKeyMaxIndex = 1023;
+{$ENDIF}
+
 
     // do not change this value
     cDefaultZoomLevel = 2.0;
@@ -261,6 +266,7 @@
     ammoprop_Utility      = $00001000;
     ammoprop_Effect       = $00002000;
     ammoprop_SetBounce    = $00004000;
+    ammoprop_NeedUpDown   = $00008000;//Used by 
     ammoprop_NoRoundEnd   = $10000000;
 
     AMMO_INFINITE = 100;