hedgewars/SDLh.pas
branchwebgl
changeset 8833 c13ebed437cb
parent 8096 453917e94e55
parent 8777 cce79a042cfc
child 9127 e350500c4edb
--- a/hedgewars/SDLh.pas	Wed Feb 20 02:21:58 2013 +0100
+++ b/hedgewars/SDLh.pas	Tue Apr 02 21:00:57 2013 +0200
@@ -36,7 +36,10 @@
 
 {$IFDEF UNIX}
     {$IFNDEF DARWIN}
-        {$linklib c}
+        {necessary for statically linking physfs (divdi3 undefined on 32 bit)}
+        {$IFDEF CPU32}
+            {$linklib stdc++}
+        {$ENDIF}
     {$ENDIF}
     {$IFDEF HAIKU}
         {$linklib root}
@@ -315,6 +318,22 @@
     IMG_INIT_PNG = $00000002;
     IMG_INIT_TIF = $00000004;
 
+    {* SDL_keysym *}
+    SDLK_BACKSPACE = 8;
+    SDLK_RETURN    = 13;
+    SDLK_ESCAPE    = 27;
+    SDLK_q         = 113;
+    SDLK_w         = 119;
+    SDLK_DELETE    = 127;
+    SDLK_UP        = 273;
+    SDLK_DOWN      = 274;
+    SDLK_RIGHT     = 275;
+    SDLK_LEFT      = 276;
+    SDLK_HOME      = 278;
+    SDLK_END       = 279;
+    SDLK_PAGEUP    = 280;
+    SDLK_PAGEDOWN  = 281;
+
 
 /////////////////////////////////////////////////////////////////
 ///////////////////////  TYPE DEFINITIONS ///////////////////////