summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-07 01:48:35 +0000
committerpixel <pixel>2002-12-07 01:48:35 +0000
commitc8eb483c771a4830d21ddd28fa098325b28a5979 (patch)
treec49c2887d51f3ef0c760f2ae435b59df15f43675 /lib
parent11f44e36d5f02f8309fc463f9a2c6cd81b42c3ce (diff)
Grmfl...
Diffstat (limited to 'lib')
-rw-r--r--lib/engine.cc2
-rw-r--r--lib/glbase.cc2
-rw-r--r--lib/gltexture.cc2
3 files changed, 4 insertions, 2 deletions
diff --git a/lib/engine.cc b/lib/engine.cc
index 919fcb4..6e3f303 100644
--- a/lib/engine.cc
+++ b/lib/engine.cc
@@ -1,6 +1,8 @@
#include <SDL/SDL.h>
#include "engine.h"
+#define _(x) x
+
int mogltk::engine::inited = 0;
int mogltk::engine::setup() throw(GeneralException) {
diff --git a/lib/glbase.cc b/lib/glbase.cc
index 1fb62a5..240b450 100644
--- a/lib/glbase.cc
+++ b/lib/glbase.cc
@@ -136,7 +136,7 @@ void mogltk::glbase::glVertex(GLint x, GLint y, GLint z, GLint w) {
glVertex4i(x, y, z, w);
}
-void mogltk::glbase::glVertex(GLshort x, GLshort y, GLshort z, GLshot w) {
+void mogltk::glbase::glVertex(GLshort x, GLshort y, GLshort z, GLshort w) {
glVertex4i(x, y, z, w);
}
diff --git a/lib/gltexture.cc b/lib/gltexture.cc
index 7949cb9..86a5a44 100644
--- a/lib/gltexture.cc
+++ b/lib/gltexture.cc
@@ -1,7 +1,7 @@
#include <GL/gl.h>
#include <GL/glu.h>
+#include <generic.h>
#include "gltexture.h"
-#include "General.h"
mogltk::texture::texture(int w, int h, bool plane) throw (GeneralException) : width(w), height(h), planar(plane) {
if ((BITCOUNT(w) != 1) || (BITCOUNT(h) != 1))