hedgewars/SDLh.pas
branchhedgeroid
changeset 6336 cf4c65f9cbbe
parent 6334 b05d3af9a58e
child 6338 633af6fec34f
equal deleted inserted replaced
6334:b05d3af9a58e 6336:cf4c65f9cbbe
   881 
   881 
   882 procedure SDL_WM_SetIcon(icon: PSDL_Surface; mask : Byte); cdecl; external SDLLibName;
   882 procedure SDL_WM_SetIcon(icon: PSDL_Surface; mask : Byte); cdecl; external SDLLibName;
   883 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName;
   883 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName;
   884 function  SDL_WM_ToggleFullScreen(surface: PSDL_Surface): LongInt; cdecl; external SDLLibName;
   884 function  SDL_WM_ToggleFullScreen(surface: PSDL_Surface): LongInt; cdecl; external SDLLibName;
   885 
   885 
   886 function  SDL_CreateThread(fn: pointer; data: pointer): PSDL_Thread; cdecl; external SDLLibName;
   886 function  SDL_CreateThread(fn: pointer; name: PChar; data: pointer): PSDL_Thread; cdecl; external SDLLibName;
   887 procedure SDL_WaitThread(thread: PSDL_Thread; status: PLongInt); cdecl; external SDLLibName;
   887 procedure SDL_WaitThread(thread: PSDL_Thread; status: PLongInt); cdecl; external SDLLibName;
   888 function  SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName;
   888 function  SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName;
   889 procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName;
   889 procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName;
   890 function  SDL_LockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName name 'SDL_mutexP';
   890 function  SDL_LockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName name 'SDL_mutexP';
   891 function  SDL_UnlockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName name 'SDL_mutexV';
   891 function  SDL_UnlockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName name 'SDL_mutexV';