equal
deleted
inserted
replaced
195 |
195 |
196 PByteArray = ^TByteArray; |
196 PByteArray = ^TByteArray; |
197 TByteArray = array[0..32767] of Byte; |
197 TByteArray = array[0..32767] of Byte; |
198 |
198 |
199 PSDL_Thread = Pointer; |
199 PSDL_Thread = Pointer; |
|
200 PSDL_mutex = Pointer; |
200 |
201 |
201 function SDL_Init(flags: Longword): Integer; cdecl; external SDLLibName; |
202 function SDL_Init(flags: Longword): Integer; cdecl; external SDLLibName; |
202 procedure SDL_Quit; cdecl; external SDLLibName; |
203 procedure SDL_Quit; cdecl; external SDLLibName; |
203 |
204 |
204 procedure SDL_Delay(msec: Longword); cdecl; external SDLLibName; |
205 procedure SDL_Delay(msec: Longword); cdecl; external SDLLibName; |
241 |
242 |
242 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName; |
243 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName; |
243 |
244 |
244 function SDL_CreateThread(fn: pointer; data: pointer): PSDL_Thread; cdecl; external SDLLibName; |
245 function SDL_CreateThread(fn: pointer; data: pointer): PSDL_Thread; cdecl; external SDLLibName; |
245 procedure SDL_WaitThread(thread: PSDL_Thread; status: PInteger); cdecl; external SDLLibName; |
246 procedure SDL_WaitThread(thread: PSDL_Thread; status: PInteger); cdecl; external SDLLibName; |
|
247 function SDL_CreateMutex: PSDL_mutex; cdecl; external SDLLibName; |
|
248 procedure SDL_DestroyMutex(mutex: PSDL_mutex); cdecl; external SDLLibName; |
|
249 function SDL_LockMutex(mutex: PSDL_mutex): integer; cdecl; external SDLLibName name 'SDL_mutexP'; |
|
250 function SDL_UnlockMutex(mutex: PSDL_mutex): integer; cdecl; external SDLLibName name 'SDL_mutexV'; |
246 |
251 |
247 (* TTF *) |
252 (* TTF *) |
248 |
253 |
249 const {$IFDEF WIN32} |
254 const {$IFDEF WIN32} |
250 SDL_TTFLibName = 'SDL_ttf.dll'; |
255 SDL_TTFLibName = 'SDL_ttf.dll'; |