World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл SDL.h

См. исходные тексты.

Функции

SDL_INIT_*

These are the flags which may be passed to SDL_Init(). You should specify the subsystems which you will be using in your application.

DECLSPEC int SDLCALL SDL_Init (Uint32 flags)
 
DECLSPEC int SDLCALL SDL_InitSubSystem (Uint32 flags)
 
DECLSPEC void SDLCALL SDL_QuitSubSystem (Uint32 flags)
 
DECLSPEC Uint32 SDLCALL SDL_WasInit (Uint32 flags)
 
DECLSPEC void SDLCALL SDL_Quit (void)
 

Подробное описание

Main include header for the SDL library

См. определение в файле SDL.h

Функции

◆ SDL_Init()

DECLSPEC int SDLCALL SDL_Init ( Uint32  flags)

This function initializes the subsystems specified by flags

Используется в SDL_main().

+ Граф вызова функции:

◆ SDL_InitSubSystem()

DECLSPEC int SDLCALL SDL_InitSubSystem ( Uint32  flags)

This function initializes specific SDL subsystems

Subsystem initialization is ref-counted, you must call SDL_QuitSubSystem() for each SDL_InitSubSystem() to correctly shutdown a subsystem manually (or call SDL_Quit() to force shutdown). If a subsystem is already loaded then this call will increase the ref-count and return.

◆ SDL_QuitSubSystem()

DECLSPEC void SDLCALL SDL_QuitSubSystem ( Uint32  flags)

This function cleans up specific SDL subsystems

◆ SDL_WasInit()

DECLSPEC Uint32 SDLCALL SDL_WasInit ( Uint32  flags)

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.

◆ SDL_Quit()

DECLSPEC void SDLCALL SDL_Quit ( void  )

This function cleans up all initialized subsystems. You should call it upon all exit conditions.

Используется в SDL_main().

+ Граф вызова функции: