X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FInventoryMenu.cpp;h=de60edcf0e2289458d8e7d6e7252564b2c8e30a3;hb=ec824200aec12d6870b70304bcd2e2aeadba767b;hp=95ca7464ca1348615ceebdf00adba0320e89aa52;hpb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;p=l2e.git diff --git a/src/menu/InventoryMenu.cpp b/src/menu/InventoryMenu.cpp index 95ca746..de60edc 100644 --- a/src/menu/InventoryMenu.cpp +++ b/src/menu/InventoryMenu.cpp @@ -10,6 +10,7 @@ #include "../common/Item.h" #include "../graphics/Font.h" #include "../graphics/Frame.h" +#include "../math/Vector.h" using app::Input; using common::Inventory; @@ -33,7 +34,9 @@ InventoryMenu::InventoryMenu(PartyMenu *parent) void InventoryMenu::OnEnterState(SDL_Surface *) { menu.SetSelected(); + menu.StartAnimation(Ctrl()); LoadInventory(); + itemMenu.StartAnimation(Ctrl()); } void InventoryMenu::LoadInventory() { @@ -137,7 +140,7 @@ void InventoryMenu::HandleEvents(const Input &input) { } } -void InventoryMenu::UpdateWorld(float deltaT) { +void InventoryMenu::UpdateWorld(Uint32 deltaT) { }