X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FPartyMenu.cpp;h=8e627ee312ba1902ffe02d5a59427e9b90d948de;hb=f6548c2aabfb371bd81382d7800e6e2cdb826e06;hp=f3176b3f70981aa4fe66c942b3d4ea4bd9d6aa8c;hpb=67f6bb1d9727e7d1e2140cf2913aa89ebba84bf5;p=l2e.git diff --git a/src/menu/PartyMenu.cpp b/src/menu/PartyMenu.cpp index f3176b3..8e627ee 100644 --- a/src/menu/PartyMenu.cpp +++ b/src/menu/PartyMenu.cpp @@ -14,14 +14,14 @@ #include "../app/Input.h" #include "../common/GameConfig.h" #include "../common/GameState.h" -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include "../graphics/Font.h" #include "../graphics/Frame.h" #include "../graphics/Texture.h" using app::Input; using common::GameConfig; -using geometry::Vector; +using math::Vector; namespace menu { @@ -53,7 +53,7 @@ PartyMenu::~PartyMenu() { void PartyMenu::OnEnterState(SDL_Surface *) { - + mainMenu.StartAnimation(Ctrl()); } void PartyMenu::OnExitState(SDL_Surface *) { @@ -126,7 +126,7 @@ void PartyMenu::HandleEvents(const Input &input) { } } -void PartyMenu::UpdateWorld(float deltaT) { +void PartyMenu::UpdateWorld(Uint32 deltaT) { } @@ -153,7 +153,7 @@ int PartyMenu::Height() const { } void PartyMenu::RenderBackground(SDL_Surface *screen) const { - Res().menubg->Render(screen, Vector(), Vector(screen->w, screen->h)); + Res().menubg->Draw(screen, Vector(), Vector(screen->w, screen->h)); } void PartyMenu::RenderHeros(SDL_Surface *screen, const Vector &offset) const {