1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

OMG! Main Menu!

This commit is contained in:
Perttu Ahola 2011-01-23 17:29:15 +02:00
parent c0a1bcf473
commit c914cbb0a0
25 changed files with 897 additions and 272 deletions

View file

@ -23,13 +23,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "common_irrlicht.h"
#include "modalMenu.h"
class IGameCallback
{
public:
virtual void exitToOS() = 0;
virtual void disconnect() = 0;
};
class GUIPauseMenu : public GUIModalMenu
{
public:
GUIPauseMenu(gui::IGUIEnvironment* env,
gui::IGUIElement* parent, s32 id,
IrrlichtDevice *dev,
int *active_menu_count);
IGameCallback *gamecallback,
IMenuManager *menumgr);
~GUIPauseMenu();
void removeChildren();
@ -43,7 +50,7 @@ public:
bool OnEvent(const SEvent& event);
private:
IrrlichtDevice *m_dev;
IGameCallback *m_gamecallback;
};
#endif