]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SwapHeroes.cpp
removed lazy fwd headers
[l2e.git] / src / battle / states / SwapHeroes.cpp
index 357e324eced45ea995c1a0f45e23b9aa0cacba40..c9fad2dbbbb4501452200c3bd039e890ca046763 100644 (file)
 #include "../BattleState.h"
 #include "../../app/Application.h"
 #include "../../app/Input.h"
+#include "../../math/Vector.h"
 
 using app::Application;
 using app::Input;
-using geometry::Vector;
+using math::Vector;
 using std::vector;
 
 namespace battle {
@@ -110,7 +111,7 @@ void SwapHeroes::MoveLeft() {
 }
 
 
-void SwapHeroes::UpdateWorld(float deltaT) {
+void SwapHeroes::UpdateWorld(Uint32 deltaT) {
 
 }
 
@@ -120,7 +121,7 @@ void SwapHeroes::Render(SDL_Surface *screen) {
        RenderCursors(screen, offset);
 }
 
-void SwapHeroes::RenderCursors(SDL_Surface *screen, const geometry::Vector<int> &offset) {
+void SwapHeroes::RenderCursors(SDL_Surface *screen, const math::Vector<int> &offset) {
        // offset the cursor by 1/8th to the left and bottom
        Vector<int> cursorOffset(battle->Res().swapCursor->Width() / -8, battle->Res().swapCursor->Height() / 8);
        Vector<int> indicatorOffset(0, 0);