summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorpixel <pixel>2002-11-09 18:03:42 +0000
committerpixel <pixel>2002-11-09 18:03:42 +0000
commit1f947113d6e3514145c6a6fee40776949d0aa1ab (patch)
treef6cc8d1cfcb4ceb21904f6e3aa31f8acb452d91b /includes
parentfa18eb9f06e1ddd9882085137d323e800d4c0ab1 (diff)
Synchronisation...
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;
};
};