hedgewars/SDLh.pas
changeset 2674 2fce032f2f95
parent 2671 7e0f88013fe8
child 2689 dfda97c153a4
equal deleted inserted replaced
2673:2c847bcc951d 2674:2fce032f2f95
   569 /////////////////////////////////////////////////////////////////
   569 /////////////////////////////////////////////////////////////////
   570 
   570 
   571 
   571 
   572 {* SDL *}
   572 {* SDL *}
   573 function  SDL_Init(flags: Longword): LongInt; cdecl; external SDLLibName;
   573 function  SDL_Init(flags: Longword): LongInt; cdecl; external SDLLibName;
       
   574 function  SDL_InitSubSystem(flags: LongWord): LongInt; cdecl; external SDLLibName;
   574 procedure SDL_Quit; cdecl; external SDLLibName;
   575 procedure SDL_Quit; cdecl; external SDLLibName;
   575 
   576 
   576 function  SDL_VideoDriverName(var namebuf; maxlen: LongInt): PChar; cdecl; external SDLLibName;
   577 function  SDL_VideoDriverName(var namebuf; maxlen: LongInt): PChar; cdecl; external SDLLibName;
   577 procedure SDL_EnableUNICODE(enable: LongInt); cdecl; external SDLLibName;
   578 procedure SDL_EnableUNICODE(enable: LongInt); cdecl; external SDLLibName;
   578 
   579 
   626 function  SDL_WaitEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName;
   627 function  SDL_WaitEvent(event: PSDL_Event): LongInt; cdecl; external SDLLibName;
   627 
   628 
   628 function  SDL_ShowCursor(toggle: LongInt): LongInt; cdecl; external SDLLibName;
   629 function  SDL_ShowCursor(toggle: LongInt): LongInt; cdecl; external SDLLibName;
   629 
   630 
   630 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName;
   631 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName;
       
   632 function  SDL_WM_ToggleFullScreen(surface: PSDL_Surface): LongInt; cdecl; external SDLLibName;
   631 
   633 
   632 function  SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName;
   634 function  SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName;
   633 procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName;
   635 procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName;
   634 function  SDL_LockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName name 'SDL_mutexP';
   636 function  SDL_LockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName name 'SDL_mutexP';
   635 function  SDL_UnlockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName name 'SDL_mutexV';
   637 function  SDL_UnlockMutex(mutex: PSDL_mutex): LongInt; cdecl; external SDLLibName name 'SDL_mutexV';