hedgewars/SDLh.pas
changeset 191 a03c2d037e24
parent 183 57c2ef19f719
child 192 b644f61e803f
--- a/hedgewars/SDLh.pas	Thu Oct 05 20:13:51 2006 +0000
+++ b/hedgewars/SDLh.pas	Sun Oct 08 18:17:52 2006 +0000
@@ -110,7 +110,7 @@
                   r: Byte;
                   g: Byte;
                   b: Byte;
-                  a: Byte;
+                  unused: Byte;
                   end;
 
      PSDL_RWops = ^TSDL_RWops;
@@ -174,9 +174,6 @@
      PByteArray = ^TByteArray;
      TByteArray = array[0..32767] of Byte;
 
-     PSDL_Thread = Pointer;
-     PSDL_mutex = Pointer;
-
 function  SDL_Init(flags: Longword): integer; cdecl; external SDLLibName;
 procedure SDL_Quit; cdecl; external SDLLibName;
 
@@ -220,13 +217,6 @@
 
 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName;
 
-function  SDL_CreateThread(fn: pointer; data: pointer): PSDL_Thread; cdecl; external SDLLibName;
-procedure SDL_WaitThread(thread: PSDL_Thread; status: PLongInt); cdecl; external SDLLibName;
-function  SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName;
-procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName;
-function  SDL_LockMutex(mutex: PSDL_mutex): integer; cdecl; external SDLLibName name 'SDL_mutexP';
-function  SDL_UnlockMutex(mutex: PSDL_mutex): integer; cdecl; external SDLLibName name 'SDL_mutexV';
-
 (*  TTF  *)
 
 const {$IFDEF WIN32}