X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FScriptRunner.h;h=7ee5b836c5d3472fec84eaf65f8d9420853f2eb7;hb=4309d259becd96ead792678257e910c03a6b4a3d;hp=7a8aa2cf7f1e0e4f0a0ec44749cf73d7ec352a5a;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/common/ScriptRunner.h b/src/common/ScriptRunner.h index 7a8aa2c..7ee5b83 100644 --- a/src/common/ScriptRunner.h +++ b/src/common/ScriptRunner.h @@ -1,9 +1,12 @@ #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 @@ -21,7 +24,7 @@ public: void *AddressRegister(int n) const { return address[n]; } int IntegerRegister(int n) const { return integer[n]; } - const geometry::Vector &VectorRegister(int n) const { return vector[n]; } + const math::Vector &VectorRegister(int n) const { return vector[n]; } private: void Reset(); @@ -30,7 +33,7 @@ private: void *PopAddress(); Script::Code PopCode(); int PopInt(); - const geometry::Vector &PopVector(); + const math::Vector &PopVector(); void Compare(int, int); @@ -48,7 +51,7 @@ private: static const int numRegisters = 7; void *address[numRegisters]; int integer[numRegisters]; - geometry::Vector vector[numRegisters]; + math::Vector vector[numRegisters]; Uint8 compare; @@ -56,4 +59,4 @@ private: } -#endif /* COMMON_SCRIPTRUNNER_H_ */ +#endif