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