X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FResources.h;h=a33cabf14e8d977ea30d3f33dbe3aab1f2ed8667;hb=f552d26f537af9fa48255bd71cdc1a0a1b860bac;hp=64fc8e798bde692e53b287641b2f6c79160ec2b1;hpb=d6d77b62f44e04f2bae82017961c5e4b9b1f31b5;p=l2e.git diff --git a/src/battle/Resources.h b/src/battle/Resources.h index 64fc8e7..a33cabf 100644 --- a/src/battle/Resources.h +++ b/src/battle/Resources.h @@ -8,27 +8,19 @@ #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; @@ -62,7 +54,6 @@ struct Resources { const char *spellMenuHeadline; graphics::MenuProperties *spellMenuProperties; - common::Inventory *inventory; const char *itemMenuHeadline; graphics::MenuProperties *itemMenuProperties; @@ -101,6 +92,7 @@ struct Resources { Resources(); static void CreateTypeDescription(); + static void Construct(void *); };