]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/CapsuleFeedMenu.cpp
added menu cursor animations
[l2e.git] / src / menu / CapsuleFeedMenu.cpp
index e0789285e1be92b67a1fe647028e527ef265e28c..ead0d718c7382a67f1b3b00cfd0c00bf21313d87 100644 (file)
 #include "../common/GameState.h"
 #include "../graphics/Font.h"
 #include "../graphics/Frame.h"
+#include "../math/Vector.h"
 
 using app::Input;
 using common::Capsule;
 using common::Inventory;
 using common::Item;
-using geometry::Vector;
+using math::Vector;
 using graphics::Font;
 using graphics::Frame;
 
@@ -33,7 +34,9 @@ CapsuleFeedMenu::CapsuleFeedMenu(CapsuleMenu *parent)
 
 void CapsuleFeedMenu::OnEnterState(SDL_Surface *) {
        menu.SetSelected();
+       menu.StartAnimation(Ctrl());
        itemMenu.SetActive();
+       itemMenu.StartAnimation(Ctrl());
 }
 
 void CapsuleFeedMenu::LoadInventory() {
@@ -149,7 +152,7 @@ void CapsuleFeedMenu::FeedSelected() {
 }
 
 
-void CapsuleFeedMenu::UpdateWorld(float deltaT) {
+void CapsuleFeedMenu::UpdateWorld(Uint32 deltaT) {
 
 }