X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fsdl2%2Fsdl.inc;h=5457364936df8a3f1114e101a9ca81ba3cf49cc7;hb=ac201b02f10ef558087d50f6b03b4519ab567558;hp=17b0b86d1c2ec58d75cbf975ac3214ae28197057;hpb=423556f23c02a18964bd2c1e125516c0c902ca46;p=d2df-sdl.git diff --git a/src/lib/sdl2/sdl.inc b/src/lib/sdl2/sdl.inc index 17b0b86..5457364 100644 --- a/src/lib/sdl2/sdl.inc +++ b/src/lib/sdl2/sdl.inc @@ -17,11 +17,11 @@ const SDL_INIT_NOPARACHUTE = $00100000; //Don't catch fatal signals {$EXTERNALSYM SDL_INIT_NOPARACHUTE} SDL_INIT_EVERYTHING = SDL_INIT_TIMER or - SDL_INIT_AUDIO or - SDL_INIT_VIDEO or - SDL_INIT_JOYSTICK or - SDL_INIT_HAPTIC or - SDL_INIT_GAMECONTROLLER; + SDL_INIT_AUDIO or + SDL_INIT_VIDEO or + SDL_INIT_JOYSTICK or + SDL_INIT_HAPTIC or + SDL_INIT_GAMECONTROLLER; {$EXTERNALSYM SDL_INIT_EVERYTHING} {** @@ -41,22 +41,21 @@ function SDL_InitSubSystem(flags: UInt32): SInt32 cdecl; external SDL_LibName {$ {** * This function cleans up specific SDL subsystems *} - + procedure SDL_QuitSubSystem(flags: UInt32) cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_QuitSubSystem' {$ENDIF} {$ENDIF}; {** * This function returns a mask of the specified subsystems which have * previously been initialized. - * + * * If flags is 0, it returns a mask of all initialized subsystems. *} - + function SDL_WasInit(flags: UInt32): UInt32 cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_WasInit' {$ENDIF} {$ENDIF}; {** * This function cleans up all initialized subsystems. You should * call it upon all exit conditions. *} - -procedure SDL_Quit() cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_Quit' {$ENDIF} {$ENDIF}; +procedure SDL_Quit() cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name '_SDL_Quit' {$ENDIF} {$ENDIF};