summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/engine.h2
-rw-r--r--lib/engine.cc2
-rw-r--r--lib/glbase.cc2
-rw-r--r--lib/gltexture.cc2
-rw-r--r--po/fr.po4
5 files changed, 7 insertions, 5 deletions
diff --git a/include/engine.h b/include/engine.h
index 2b8af3c..7df7e9f 100644
--- a/include/engine.h
+++ b/include/engine.h
@@ -1,7 +1,7 @@
#ifndef __ENGINE_H__
#define __ENGINE_H__
-#include <IRC.h>
+#include <Exceptions.h>
namespace mogltk {
class engine : public Base {
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))
diff --git a/po/fr.po b/po/fr.po
index 4be2a1d..7085ca9 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: mogltk 1.0.1\n"
-"POT-Creation-Date: 2002-12-06 01:47+0100\n"
+"POT-Creation-Date: 2002-12-07 01:41+0100\n"
"PO-Revision-Date: 2001-10-29 08:26GMT\n"
"Last-Translator: Nicolas Noble <nicolas@nobis-crew.org>\n"
"Language-Team: French <fr@li.org>\n"
@@ -14,6 +14,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 0.8\n"
-#: lib/engine.cc:13
+#: lib/engine.cc:12
msgid "Unable to start SDL base system"
msgstr ""