X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FResources.h;h=72f3afb0ce193b96769b08f3fd0abfe05807f4e0;hb=60e0fe29ce6cd033edc78b181d9d07fa72c11172;hp=7286e0db54878dc9ec486821a3b5638920d52d1e;hpb=ac3755adc509404528ef7de58695bf8e3bfb7dcd;p=l2e.git diff --git a/src/battle/Resources.h b/src/battle/Resources.h index 7286e0d..72f3afb 100644 --- a/src/battle/Resources.h +++ b/src/battle/Resources.h @@ -1,35 +1,19 @@ -/* - * Resources.h - * - * Created on: Aug 8, 2012 - * Author: holy - */ - #ifndef BATTLE_RESOURCES_H_ #define BATTLE_RESOURCES_H_ +#include "../common/fwd.h" #include "../graphics/Color.h" +#include "../graphics/fwd.h" #include "../graphics/Menu.h" #include -namespace common { - class Inventory; - class Item; - class Spell; -} -namespace graphics { - class Animation; - class Font; - class Frame; - class Gauge; - class Sprite; -} - namespace battle { struct Resources { + static const int TYPE_ID = 201; + graphics::Sprite *swapCursor; graphics::Sprite *moveIcons; graphics::Sprite *attackIcons; @@ -63,7 +47,6 @@ struct Resources { const char *spellMenuHeadline; graphics::MenuProperties *spellMenuProperties; - common::Inventory *inventory; const char *itemMenuHeadline; graphics::MenuProperties *itemMenuProperties; @@ -102,6 +85,7 @@ struct Resources { Resources(); static void CreateTypeDescription(); + static void Construct(void *); };