X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FSmallHeroTag.cpp;h=1496d47f3c336c836069eb4158f1669f2f714315;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=a70dbfecd2b1e4f577c1d9053ec46f3c6ae5af34;hpb=d20fa78a0dcbc95a69bb6077d2081d42b74a2d1a;p=l2e.git diff --git a/src/battle/SmallHeroTag.cpp b/src/battle/SmallHeroTag.cpp index a70dbfe..1496d47 100644 --- a/src/battle/SmallHeroTag.cpp +++ b/src/battle/SmallHeroTag.cpp @@ -1,26 +1,19 @@ -/* - * SmallHeroTag.cpp - * - * Created on: Aug 11, 2012 - * Author: holy - */ - #include "SmallHeroTag.h" #include "BattleState.h" -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include "../graphics/Font.h" #include "../graphics/Frame.h" #include "../graphics/Gauge.h" -using geometry::Vector; +using math::Vector; using graphics::Font; using graphics::Frame; using graphics::Sprite; namespace battle { -void SmallHeroTag::Render(SDL_Surface *screen, int width, int height, const geometry::Vector &position) const { +void SmallHeroTag::Render(SDL_Surface *screen, int width, int height, const math::Vector &position) const { const Resources &r(battle->Res()); const Frame *frame((index == battle->MaxHeroes() - 1) ? r.lastSmallHeroTagFrame : r.smallHeroTagFrame); const Font *font(r.normalFont);