From 5ec4143bde0fd67c7aca841804a5d165c794bdf0 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Sun, 6 Feb 2005 18:17:09 +0000 Subject: Added minimal minimap --- src/graphic/graphic.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/graphic') 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(); -- cgit v1.2.3-70-g09d2