summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-02-06 18:17:09 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-02-06 18:17:09 +0000
commit5ec4143bde0fd67c7aca841804a5d165c794bdf0 (patch)
tree4ecfaf02a2f1831d545d21de3385b34b6c8c4388 /src/graphic/graphic.cpp
parent49ea67bae1d2969c21005c06bb764f3c6b479e9c (diff)
downloadmana-5ec4143bde0fd67c7aca841804a5d165c794bdf0.tar.gz
mana-5ec4143bde0fd67c7aca841804a5d165c794bdf0.tar.bz2
mana-5ec4143bde0fd67c7aca841804a5d165c794bdf0.tar.xz
mana-5ec4143bde0fd67c7aca841804a5d165c794bdf0.zip
Added minimal minimap
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r--src/graphic/graphic.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp
index 591c7443..99a7c319 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -25,6 +25,7 @@
#include "../gui/gui.h"
#include "../gui/textfield.h"
#include "../gui/status.h"
+#include "../gui/minimap.h"
#include "../main.h"
#include "../being.h"
@@ -53,6 +54,7 @@ NpcTextDialog *npcTextDialog;
SkillDialog *skillDialog;
StatsWindow *statsWindow;
Setup* setupWindow;
+Minimap *minimap;
void ChatListener::action(const std::string& eventId)
{
@@ -266,6 +268,10 @@ Engine::Engine()
setupWindow = new Setup();
setupWindow->setVisible(false);
+
+ // Create minimap
+
+ minimap = new Minimap();
// Give focus to the chat input
chatInput->requestFocus();