]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/PerformAttacks.h
cached some of the battle coordinates
[l2e.git] / src / battle / states / PerformAttacks.h
index adbf3ba8f7e84b80399dd3b5ad4a7e34bd7c9d04..3d8b2ff6d5e23d6b7853cc4931c7356d49bdbd59 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * PerformAttacks.h
- *
- *  Created on: Aug 10, 2012
- *      Author: holy
- */
-
 #ifndef BATTLE_PERFORMATTACKS_H_
 #define BATTLE_PERFORMATTACKS_H_
 
@@ -49,9 +42,9 @@ private:
 private:
        void AddNumberAnimations(const TargetSelection &);
 
-       void RenderTitleBar(SDL_Surface *screen, const math::Vector<int> &offset) const;
-       void RenderNumbers(SDL_Surface *screen, const math::Vector<int> &offset) const;
-       void RenderTargetAnimation(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderTitleBar(SDL_Surface *screen) const;
+       void RenderNumbers(SDL_Surface *screen) const;
+       void RenderTargetAnimation(SDL_Surface *screen) const;
 
 private:
        BattleState *battle;
@@ -62,10 +55,13 @@ private:
        app::Timer<Uint32> targetAnimationTimer;
        std::vector<NumberAnimation> numberAnimation;
        std::vector<math::Vector<int> > numberPosition;
+       math::Vector<int> framePosition;
+       math::Vector<int> frameSize;
+       math::Vector<int> textPosition;
        int cursor;
 
 };
 
 }
 
-#endif /* BATTLE_PERFORMATTACKS_H_ */
+#endif