From 3931e1dc50ad773aa3f9d95b2810857a3e7ce943 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 23 May 2011 17:43:58 +0200 Subject: SWORD25: Avoid including lua headers in other headers --- engines/sword25/math/vertex.h | 3 ++- engines/sword25/script/luascript.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'engines') 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 #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 { -- cgit v1.2.3