]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Animation.h
added forwarding headers
[l2e.git] / src / graphics / Animation.h
index ee62493b18f54c623c729d52c450ec046b027993..cfdb14639b2468f9267de38ea3f74fbac431cc6c 100644 (file)
 #include "../app/Application.h"
 #include "../app/State.h"
 #include "../app/Timer.h"
+#include "../loader/fwd.h"
 #include "../geometry/Vector.h"
 
 #include <memory>
 #include <SDL.h>
 
-namespace loader {
-       class TypeDescription;
-}
-
 namespace graphics {
 
 class Animation {
@@ -49,7 +46,7 @@ public:
        virtual geometry::Vector<int> Offset(int frame) const { return geometry::Vector<int>(); }
 
 protected:
-       static void AddFields(loader::TypeDescription &, const Animation &, std::ptrdiff_t offset);
+       static void AddFields(loader::TypeDescription &, const Animation &, std::ptrdiff_t offset, int boolId, int numberId, int spriteId);
 
 private:
        const Sprite *sprite;