]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/Resources.h
removed stupid file headers that eclipse put in
[l2e.git] / src / battle / Resources.h
index 7286e0db54878dc9ec486821a3b5638920d52d1e..72f3afb0ce193b96769b08f3fd0abfe05807f4e0 100644 (file)
@@ -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 <SDL.h>
 
-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 *);
 
 };