World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Определения типов | |
typedef int(* | SDL_main_func) (int argc, char *argv[]) |
Функции | |
SDLMAIN_DECLSPEC int | SDL_main (int argc, char *argv[]) |
DECLSPEC void SDLCALL | SDL_SetMainReady (void) |
DECLSPEC int SDLCALL | SDL_RegisterApp (char *name, Uint32 style, void *hInst) |
DECLSPEC void SDLCALL | SDL_UnregisterApp (void) |
DECLSPEC int SDLCALL | SDL_WinRTRunApp (SDL_main_func mainFunction, void *reserved) |
Initializes and launches an SDL/WinRT application. Подробнее... | |
DECLSPEC int SDLCALL | SDL_UIKitRunApp (int argc, char *argv[], SDL_main_func mainFunction) |
Initializes and launches an SDL application. Подробнее... | |
Redefine main() on some platforms so that it is called by SDL.
The application's main() function must be called with C linkage, and should be declared like this:
См. определение в файле SDL_main.h
typedef int(* SDL_main_func) (int argc, char *argv[]) |
The prototype for the application's main() function
См. определение в файле SDL_main.h строка 120
SDLMAIN_DECLSPEC int SDL_main | ( | int | argc, |
char * | argv[] | ||
) |
См. определение в файле SDLmain.cpp строка 5
Перекрестные ссылки MM_Main(), SDL_Init() и SDL_Quit().
This is called by the real SDL main function to let the rest of the library know that initialization was done properly.
Calling this yourself without knowing what you're doing can cause crashes and hard to diagnose problems with your application.
This can be called to set the application class at startup
DECLSPEC int SDLCALL SDL_WinRTRunApp | ( | SDL_main_func | mainFunction, |
void * | reserved | ||
) |
Initializes and launches an SDL/WinRT application.
mainFunction | The SDL app's C-style main(). |
reserved | Reserved for future use; should be NULL |
DECLSPEC int SDLCALL SDL_UIKitRunApp | ( | int | argc, |
char * | argv[], | ||
SDL_main_func | mainFunction | ||
) |