forked from 0ad/0ad
35 lines
696 B
C
35 lines
696 B
C
|
|
//
|
|
// GUI integration
|
|
//
|
|
|
|
extern void GUI_Init();
|
|
|
|
extern void GUI_Shutdown();
|
|
|
|
extern void GUI_ShowMainMenu();
|
|
|
|
// display progress / description in loading screen
|
|
extern void GUI_DisplayLoadProgress(int percent, const wchar_t* pending_task);
|
|
|
|
|
|
|
|
extern void Render();
|
|
|
|
extern void Shutdown();
|
|
|
|
|
|
enum InitFlags
|
|
{
|
|
// avoid setting a video mode / initializing OpenGL; assume that has
|
|
// already been done and everything is ready for rendering.
|
|
// needed by map editor because it creates its own window.
|
|
INIT_HAVE_VMODE = 1,
|
|
|
|
// skip initializing the in-game GUI.
|
|
// needed by map editor because it uses its own GUI.
|
|
INIT_NO_GUI = 2
|
|
};
|
|
|
|
extern void Init(int argc, char* argv[], uint flags);
|