hedgewars/SDLh.pas
changeset 66 9643d75baf1e
parent 35 9367f246fb5f
child 70 82d93eeecebe
--- a/hedgewars/SDLh.pas	Tue Jun 20 20:08:17 2006 +0000
+++ b/hedgewars/SDLh.pas	Tue Jun 20 21:18:49 2006 +0000
@@ -196,6 +196,8 @@
      PByteArray = ^TByteArray;
      TByteArray = array[0..32767] of Byte;
 
+     PSDL_Thread = Pointer;
+
 function  SDL_Init(flags: Longword): Integer; cdecl; external SDLLibName;
 procedure SDL_Quit; cdecl; external SDLLibName;
 
@@ -239,6 +241,9 @@
 
 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: PInteger); cdecl; external SDLLibName;
+
 (*  TTF  *)
 
 const {$IFDEF WIN32}