|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Функции | |
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
| DECLSPEC int SDLCALL SDL_Init | ( | Uint32 | flags | ) |
This function initializes the subsystems specified by flags
Используется в SDL_main().
Граф вызова функции:| 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.
This function cleans up specific SDL subsystems
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.
This function cleans up all initialized subsystems. You should call it upon all exit conditions.
Используется в SDL_main().
Граф вызова функции: