]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/ScenarioMenu.cpp
removed lazy fwd headers
[l2e.git] / src / menu / ScenarioMenu.cpp
index 2c317bb29c158eaf77daeec8a61607830ba8eb84..18fa55a984291177f65ada647b8bbbfa8686fbaf 100644 (file)
 #include "../common/Item.h"
 #include "../graphics/Font.h"
 #include "../graphics/Frame.h"
+#include "../math/Vector.h"
 
 using app::Input;
 using common::Inventory;
 using common::Item;
-using geometry::Vector;
+using math::Vector;
 using graphics::Font;
 using graphics::Frame;
 
@@ -75,7 +76,7 @@ void ScenarioMenu::HandleEvents(const Input &input) {
        }
 }
 
-void ScenarioMenu::UpdateWorld(float deltaT) {
+void ScenarioMenu::UpdateWorld(Uint32 deltaT) {
 
 }
 
@@ -100,7 +101,7 @@ int ScenarioMenu::Height() const {
        return parent->Height();
 }
 
-void ScenarioMenu::RenderHeadline(SDL_Surface *screen, const geometry::Vector<int> &offset) const {
+void ScenarioMenu::RenderHeadline(SDL_Surface *screen, const math::Vector<int> &offset) const {
        const Font &font(*parent->Res().normalFont);
        const Frame &frame(*parent->Res().statusFrame);
        const Vector<int> textOffset(2 * font.CharWidth(), font.CharHeight());
@@ -110,7 +111,7 @@ void ScenarioMenu::RenderHeadline(SDL_Surface *screen, const geometry::Vector<in
        font.DrawString(parent->Res().scenarioMenuHeadline, screen, offset + textOffset);
 }
 
-void ScenarioMenu::RenderItems(SDL_Surface *screen, const geometry::Vector<int> &offset) const {
+void ScenarioMenu::RenderItems(SDL_Surface *screen, const math::Vector<int> &offset) const {
        const Font &font(*parent->Res().normalFont);
        const Frame &frame(*parent->Res().statusFrame);
        const Vector<int> menuOffset(3 * font.CharWidth(), font.CharHeight() + font.CharHeight() / 4);