]> 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 ab1552595bca018ae5694b593aaf93c56e5f07c7..3d8b2ff6d5e23d6b7853cc4931c7356d49bdbd59 100644 (file)
@@ -42,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;
@@ -55,6 +55,9 @@ 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;
 
 };