aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2011-05-23 17:43:58 +0200
committerMax Horn2011-05-23 19:12:25 +0200
commit3931e1dc50ad773aa3f9d95b2810857a3e7ce943 (patch)
tree79e5c00b80c829a79d7e8ec61a95c65f94ffce51 /engines
parentfa2c268d6a813a2fdfc4475607b1ebb5d878a624 (diff)
downloadscummvm-rg350-3931e1dc50ad773aa3f9d95b2810857a3e7ce943.tar.gz
scummvm-rg350-3931e1dc50ad773aa3f9d95b2810857a3e7ce943.tar.bz2
scummvm-rg350-3931e1dc50ad773aa3f9d95b2810857a3e7ce943.zip
SWORD25: Avoid including lua headers in other headers
Diffstat (limited to 'engines')
-rw-r--r--engines/sword25/math/vertex.h3
-rw-r--r--engines/sword25/script/luascript.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/sword25/math/vertex.h b/engines/sword25/math/vertex.h
index 817f48e760..4cb0eaca30 100644
--- a/engines/sword25/math/vertex.h
+++ b/engines/sword25/math/vertex.h
@@ -43,7 +43,8 @@
#include <math.h>
#include "common/rect.h"
#include "sword25/kernel/common.h"
-#include "sword25/util/lua/lua.h"
+
+struct lua_State;
#if defined(MACOSX) || defined(SOLARIS) || defined(__MINGW32__)
#define sqrtf(x) ((float)sqrt(x))
diff --git a/engines/sword25/script/luascript.h b/engines/sword25/script/luascript.h
index f3530d68ed..cd6d0e8878 100644
--- a/engines/sword25/script/luascript.h
+++ b/engines/sword25/script/luascript.h
@@ -36,7 +36,8 @@
#include "common/str-array.h"
#include "sword25/kernel/common.h"
#include "sword25/script/script.h"
-#include "sword25/util/lua/lua.h"
+
+struct lua_State;
namespace Sword25 {