From 105438d77ce83972d70a1ce67728aaf72c9ec2b6 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Sat, 10 Jul 2010 19:00:50 +0200 Subject: Moved parsing of specials.xml from gui/specialswindow.cpp to separate source files. Restored functional recharge bars in specials window. Individual specials are only shown after the server informed the client about their status. Made level label, use button and progress bars optional. Their use is controlled through specials.xml. The special window button is again shown even when the player has no specials. This problem needs to be solved differently now for architecture reasons. Reviewed-by: Jaxad0127 --- src/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 35292d22..ea35f76d 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -70,6 +70,7 @@ #include "resources/image.h" #include "resources/itemdb.h" #include "resources/monsterdb.h" +#include "resources/specialdb.h" #include "resources/npcdb.h" #include "resources/resourcemanager.h" @@ -743,6 +744,7 @@ int Client::exec() ItemDB::load(); Being::load(); // Hairstyles MonsterDB::load(); + SpecialDB::load(); NPCDB::load(); EmoteDB::load(); StatusEffect::load(); -- cgit v1.2.3-70-g09d2