X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FHeroTag.cpp;h=7938250910aa284a2f2f9946c9f685be5914088c;hb=0542849dfccfec1ce1477265fa0fee2401a8fb23;hp=228bfda4aef5e654a368c8c1634460f4ca890541;hpb=c20927cf8ab9bb7526f641850c3997f14c66f06e;p=l2e.git diff --git a/src/battle/HeroTag.cpp b/src/battle/HeroTag.cpp index 228bfda..7938250 100644 --- a/src/battle/HeroTag.cpp +++ b/src/battle/HeroTag.cpp @@ -11,14 +11,12 @@ #include "BattleState.h" #include "Hero.h" #include "Resources.h" -#include "../geometry/operators.h" #include "../geometry/Vector.h" #include "../graphics/Font.h" #include "../graphics/Frame.h" #include "../graphics/Gauge.h" #include "../graphics/Sprite.h" -using geometry::Point; using geometry::Vector; using graphics::Frame; @@ -28,7 +26,7 @@ const graphics::Sprite *HeroTag::HeroSprite() const { return battle->HeroAt(index).Sprite(); } -void HeroTag::Render(SDL_Surface *screen, int width, int height, Point position, bool active) const { +void HeroTag::Render(SDL_Surface *screen, int width, int height, Vector position, bool active) const { const Resources &r(battle->Res()); // frame