]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/ScriptRunner.h
renamed namespace geometry -> math
[l2e.git] / src / common / ScriptRunner.h
index 879877d8467a2463f1680863a78ad1bbb8178328..67931c1323f18f49a6e802b54c7c79586ba3a613 100644 (file)
@@ -1,16 +1,9 @@
-/*
- * ScriptRunner.h
- *
- *  Created on: Oct 13, 2012
- *      Author: holy
- */
-
 #ifndef COMMON_SCRIPTRUNNER_H_
 #define COMMON_SCRIPTRUNNER_H_
 
 #include "fwd.h"
 #include "Script.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 
 #include <SDL.h>
 
@@ -28,7 +21,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 +30,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 +48,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;