X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FResources.h;h=72f3afb0ce193b96769b08f3fd0abfe05807f4e0;hb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;hp=64fc8e798bde692e53b287641b2f6c79160ec2b1;hpb=d6d77b62f44e04f2bae82017961c5e4b9b1f31b5;p=l2e.git diff --git a/src/battle/Resources.h b/src/battle/Resources.h index 64fc8e7..72f3afb 100644 --- a/src/battle/Resources.h +++ b/src/battle/Resources.h @@ -1,34 +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; @@ -62,7 +47,6 @@ struct Resources { const char *spellMenuHeadline; graphics::MenuProperties *spellMenuProperties; - common::Inventory *inventory; const char *itemMenuHeadline; graphics::MenuProperties *itemMenuProperties; @@ -101,6 +85,7 @@ struct Resources { Resources(); static void CreateTypeDescription(); + static void Construct(void *); };