-/*
- * 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>
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();
void *PopAddress();
Script::Code PopCode();
int PopInt();
- const geometry::Vector<int> &PopVector();
+ const math::Vector<int> &PopVector();
void Compare(int, int);
static const int numRegisters = 7;
void *address[numRegisters];
int integer[numRegisters];
- geometry::Vector<int> vector[numRegisters];
+ math::Vector<int> vector[numRegisters];
Uint8 compare;
}
-#endif /* COMMON_SCRIPTRUNNER_H_ */
+#endif