X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FSpellMenu.cpp;h=0c7936595bd2e44525b3ad97c6ca7535619b3008;hb=e8283bf94624b2f184d50dc1401bf45225c529d6;hp=bb66d3c6fcbddff09d6ae5187a0c2b72e3b540fa;hpb=2255d436a0c2acc10b015827366a72b2ece86094;p=l2e.git diff --git a/src/menu/SpellMenu.cpp b/src/menu/SpellMenu.cpp index bb66d3c..0c79365 100644 --- a/src/menu/SpellMenu.cpp +++ b/src/menu/SpellMenu.cpp @@ -11,6 +11,7 @@ #include "../common/Spell.h" #include "../graphics/Font.h" #include "../graphics/Frame.h" +#include "../math/Vector.h" #include #include @@ -19,7 +20,7 @@ using app::Input; using common::Hero; using common::Spell; -using geometry::Vector; +using math::Vector; using graphics::Font; using graphics::Frame; using std::vector; @@ -44,7 +45,9 @@ void SpellMenu::OnEnterState(SDL_Surface *) { SDL_SetAlpha(highlight, SDL_SRCALPHA|SDL_RLEACCEL, 0x20); actionMenu.SetSelected(); + actionMenu.StartAnimation(Ctrl()); LoadSpells(); + spellMenu.StartAnimation(Ctrl()); } void SpellMenu::LoadSpells() { @@ -145,7 +148,7 @@ void SpellMenu::HandleEvents(const Input &input) { } } -void SpellMenu::UpdateWorld(float deltaT) { +void SpellMenu::UpdateWorld(Uint32 deltaT) { }