summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-14 23:17:58 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-14 23:17:58 +0000
commit1c38618bb88e2e2b6f2c110382737e8e03c54a86 (patch)
treeaa5a03382f0414b567dd07b0c595d0c73245316a /src/gui
parent8e1c3b592c9ebcec9e006bcc54eea55bfea4a864 (diff)
downloadmana-client-1c38618bb88e2e2b6f2c110382737e8e03c54a86.tar.gz
mana-client-1c38618bb88e2e2b6f2c110382737e8e03c54a86.tar.bz2
mana-client-1c38618bb88e2e2b6f2c110382737e8e03c54a86.tar.xz
mana-client-1c38618bb88e2e2b6f2c110382737e8e03c54a86.zip
Started to fade out the useOpenGL global variable.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/browserbox.cpp3
-rw-r--r--src/gui/gui.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp
index e00494cd..5cae9fb7 100644
--- a/src/gui/browserbox.cpp
+++ b/src/gui/browserbox.cpp
@@ -23,7 +23,6 @@
#include <guichan/imagefont.hpp>
-#include "../main.h"
#ifdef USE_OPENGL
#include "../resources/resourcemanager.h"
#endif
@@ -31,6 +30,8 @@
#include "linkhandler.h"
#include "gui.h"
+extern bool useOpenGL;
+
int BrowserBox::instances = 0;
gcn::ImageFont* BrowserBox::browserFont;
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index f77ad0be..2eaa9d76 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -52,6 +52,7 @@
#include "../resources/resourcemanager.h"
extern Being* autoTarget;
+extern bool useOpenGL;
// Guichan stuff
Gui *gui;