summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.cpp
diff options
context:
space:
mode:
authorKiyoshi Kyokai <kiyoshi.kyokai@gmail.com>2005-02-20 22:57:12 +0000
committerKiyoshi Kyokai <kiyoshi.kyokai@gmail.com>2005-02-20 22:57:12 +0000
commitf59f38910b5ed7acb22cb9713431a4e8343b0c4b (patch)
treebf9dc21c4ef00124873a8f862aaebdeb4c3d445f /src/graphic/graphic.cpp
parent7ce021a8e4fce72af6e79cad22243bdd50bb8656 (diff)
downloadmana-client-f59f38910b5ed7acb22cb9713431a4e8343b0c4b.tar.gz
mana-client-f59f38910b5ed7acb22cb9713431a4e8343b0c4b.tar.bz2
mana-client-f59f38910b5ed7acb22cb9713431a4e8343b0c4b.tar.xz
mana-client-f59f38910b5ed7acb22cb9713431a4e8343b0c4b.zip
Added basic functionality for the new skill dialog. Class support, initialization, creation, deconstruction, etc. You can activate it with ALT+n.
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 83ed22bc..96f36bbd 100644
--- a/src/graphic/graphic.cpp
+++ b/src/graphic/graphic.cpp
@@ -27,6 +27,7 @@
#include "../gui/status.h"
#include "../gui/minimap.h"
#include "../gui/equipment.h"
+#include "../gui/newskill.h"
#include "../main.h"
#include "../being.h"
#ifdef USE_OPENGL
@@ -56,6 +57,7 @@ InventoryWindow *inventoryWindow;
NpcListDialog *npcListDialog;
NpcTextDialog *npcTextDialog;
SkillDialog *skillDialog;
+NewSkillDialog *newSkillWindow;
StatsWindow *statsWindow;
Setup* setupWindow;
Minimap *minimap;
@@ -302,6 +304,9 @@ Engine::Engine()
skillDialog = new SkillDialog();
skillDialog->setVisible(false);
+ newSkillWindow = new NewSkillDialog();
+ newSkillWindow->setVisible(false);
+
statsWindow = new StatsWindow();
statsWindow->setVisible(false);
statsWindow->setPosition(
@@ -351,6 +356,7 @@ Engine::~Engine()
delete setupWindow;
delete minimap;
delete equipmentWindow;
+ delete newSkillWindow;
delete monsterset;
delete npcset;