summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/engine.h2
-rw-r--r--includes/glbase.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/includes/engine.h b/includes/engine.h
index e7a4f6b..bf53bab 100644
--- a/includes/engine.h
+++ b/includes/engine.h
@@ -4,7 +4,7 @@
#include "Exceptions.h"
namespace mogltk {
- class engine {
+ class engine : public Base {
public:
static int setup() throw(GeneralException);
static int GetInited();
diff --git a/includes/glbase.h b/includes/glbase.h
index 98fd537..78272eb 100644
--- a/includes/glbase.h
+++ b/includes/glbase.h
@@ -5,14 +5,16 @@
#include "Exceptions.h"
namespace mogltk {
- class glbase {
+ class glbase : public Base {
public:
static int setup(int w = 640, int h = 480, int flags = 0) throw(GeneralException);
static int GetWidth(void);
static int GetHeight(void);
static int GetInited(void);
+ static void Enter2DMode(void);
+ static void Leave2DMode(void);
private:
- static int width, height, inited;
+ static int width, height, inited, twoD;
static SDL_Surface * surface;
};
};