equal
deleted
inserted
replaced
194 end; |
194 end; |
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; |
|
200 |
199 function SDL_Init(flags: Longword): Integer; cdecl; external SDLLibName; |
201 function SDL_Init(flags: Longword): Integer; cdecl; external SDLLibName; |
200 procedure SDL_Quit; cdecl; external SDLLibName; |
202 procedure SDL_Quit; cdecl; external SDLLibName; |
201 |
203 |
202 procedure SDL_Delay(msec: Longword); cdecl; external SDLLibName; |
204 procedure SDL_Delay(msec: Longword); cdecl; external SDLLibName; |
203 function SDL_GetTicks: Longword; cdecl; external SDLLibName; |
205 function SDL_GetTicks: Longword; cdecl; external SDLLibName; |
236 function SDL_PollEvent(event: PSDL_Event): Integer; cdecl; external SDLLibName; |
238 function SDL_PollEvent(event: PSDL_Event): Integer; cdecl; external SDLLibName; |
237 |
239 |
238 function SDL_ShowCursor(toggle: Integer): Integer; cdecl; external SDLLibName; |
240 function SDL_ShowCursor(toggle: Integer): Integer; cdecl; external SDLLibName; |
239 |
241 |
240 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName; |
242 procedure SDL_WM_SetCaption(title: PChar; icon: PChar); cdecl; external SDLLibName; |
|
243 |
|
244 function SDL_CreateThread(fn: pointer; data: pointer): PSDL_Thread; cdecl; external SDLLibName; |
|
245 procedure SDL_WaitThread(thread: PSDL_Thread; status: PInteger); cdecl; external SDLLibName; |
241 |
246 |
242 (* TTF *) |
247 (* TTF *) |
243 |
248 |
244 const {$IFDEF WIN32} |
249 const {$IFDEF WIN32} |
245 SDL_TTFLibName = 'SDL_ttf.dll'; |
250 SDL_TTFLibName = 'SDL_ttf.dll'; |