diff options
Diffstat (limited to 'src/graphic')
-rw-r--r-- | src/graphic/graphic.cpp | 6 | ||||
-rw-r--r-- | src/graphic/graphic.h | 2 |
2 files changed, 8 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; diff --git a/src/graphic/graphic.h b/src/graphic/graphic.h index c6faccda..765a6318 100644 --- a/src/graphic/graphic.h +++ b/src/graphic/graphic.h @@ -39,6 +39,7 @@ class Graphics; #include "../gui/status.h" #include "../gui/stats.h" #include "../gui/skill.h" +#include "../gui/newskill.h" #include "../gui/setup.h" #include "../gui/equipment.h" #include "../resources/resourcemanager.h" @@ -70,6 +71,7 @@ extern InventoryWindow *inventoryWindow; extern NpcListDialog *npcListDialog; extern NpcTextDialog *npcTextDialog; extern SkillDialog *skillDialog; +extern NewSkillDialog *newSkillWindow; extern StatsWindow *statsWindow; extern Setup *setupWindow; extern EquipmentWindow *equipmentWindow; |