summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/engine.h')
-rw-r--r--include/engine.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/engine.h b/include/engine.h
index 58ca46f..cc78fc3 100644
--- a/include/engine.h
+++ b/include/engine.h
@@ -9,6 +9,7 @@ namespace mogltk {
class engine : public Base {
public:
static int setup() throw(GeneralException);
+ static int postsetup() throw(GeneralException);
static int GetInited();
static SDL_RWops * RWFromHandle(Handle *) throw (GeneralException);
static void pollevents();
@@ -16,10 +17,13 @@ namespace mogltk {
static bool getappactive();
static void setcursorvisible(bool);
static bool getcursorvisible();
+ static bool quitrequested();
private:
- static int inited;
+ static bool inited;
+ static bool postsetuped;
static bool appactive;
static bool cursorvisible;
+ static bool quitrequest;
};
};