X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2Fstates%2FPerformAttacks.h;h=3d8b2ff6d5e23d6b7853cc4931c7356d49bdbd59;hb=0b11a24a8b08c49d6e4301573602fb6d01e7a8c8;hp=adbf3ba8f7e84b80399dd3b5ad4a7e34bd7c9d04;hpb=5d1a76ae7725af998c6ee46adfe492c68ee1d34f;p=l2e.git diff --git a/src/battle/states/PerformAttacks.h b/src/battle/states/PerformAttacks.h index adbf3ba..3d8b2ff 100644 --- a/src/battle/states/PerformAttacks.h +++ b/src/battle/states/PerformAttacks.h @@ -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 &offset) const; - void RenderNumbers(SDL_Surface *screen, const math::Vector &offset) const; - void RenderTargetAnimation(SDL_Surface *screen, const math::Vector &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 targetAnimationTimer; std::vector numberAnimation; std::vector > numberPosition; + math::Vector framePosition; + math::Vector frameSize; + math::Vector textPosition; int cursor; }; } -#endif /* BATTLE_PERFORMATTACKS_H_ */ +#endif