]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/ScriptRunner.h
removed lazy fwd headers
[l2e.git] / src / common / ScriptRunner.h
index 879877d8467a2463f1680863a78ad1bbb8178328..2a6b0de18fb880aad53dd956210e1cad2c3bce50 100644 (file)
@@ -1,16 +1,12 @@
-/*
- * ScriptRunner.h
- *
- *  Created on: Oct 13, 2012
- *      Author: holy
- */
-
 #ifndef COMMON_SCRIPTRUNNER_H_
 #define COMMON_SCRIPTRUNNER_H_
 
-#include "fwd.h"
+namespace common {
+       class ScriptHost;
+}
+
 #include "Script.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 
 #include <SDL.h>
 
@@ -28,7 +24,7 @@ public:
 
        void *AddressRegister(int n) const { return address[n]; }
        int IntegerRegister(int n) const { return integer[n]; }
-       const geometry::Vector<int> &VectorRegister(int n) const { return vector[n]; }
+       const math::Vector<int> &VectorRegister(int n) const { return vector[n]; }
 
 private:
        void Reset();
@@ -37,7 +33,7 @@ private:
        void *PopAddress();
        Script::Code PopCode();
        int PopInt();
-       const geometry::Vector<int> &PopVector();
+       const math::Vector<int> &PopVector();
 
        void Compare(int, int);
 
@@ -55,7 +51,7 @@ private:
        static const int numRegisters = 7;
        void *address[numRegisters];
        int integer[numRegisters];
-       geometry::Vector<int> vector[numRegisters];
+       math::Vector<int> vector[numRegisters];
 
        Uint8 compare;