diff options
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/cpp_api/s_async.h | 1 | ||||
-rw-r--r-- | src/script/cpp_api/s_internal.h | 2 | ||||
-rw-r--r-- | src/script/lua_api/l_env.cpp | 2 | ||||
-rw-r--r-- | src/script/lua_api/l_inventory.cpp | 2 | ||||
-rw-r--r-- | src/script/lua_api/l_nodemeta.cpp | 1 | ||||
-rw-r--r-- | src/script/lua_api/l_object.cpp | 1 | ||||
-rw-r--r-- | src/script/lua_api/l_server.cpp | 2 | ||||
-rw-r--r-- | src/script/lua_api/l_vmanip.cpp | 1 | ||||
-rw-r--r-- | src/script/scripting_mainmenu.cpp | 1 |
9 files changed, 9 insertions, 4 deletions
diff --git a/src/script/cpp_api/s_async.h b/src/script/cpp_api/s_async.h index 01c3ad005..38eb4800a 100644 --- a/src/script/cpp_api/s_async.h +++ b/src/script/cpp_api/s_async.h @@ -25,7 +25,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "threading/semaphore.h" #include "threading/thread.h" -#include "debug.h" #include "lua.h" #include "cpp_api/s_base.h" diff --git a/src/script/cpp_api/s_internal.h b/src/script/cpp_api/s_internal.h index fc049f922..83b3b9d27 100644 --- a/src/script/cpp_api/s_internal.h +++ b/src/script/cpp_api/s_internal.h @@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "threading/mutex_auto_lock.h" #ifdef SCRIPTAPI_LOCK_DEBUG -#include "debug.h" // assert() +#include <cassert> class LockChecker { public: diff --git a/src/script/lua_api/l_env.cpp b/src/script/lua_api/l_env.cpp index 9a2ce334b..1b1f96389 100644 --- a/src/script/lua_api/l_env.cpp +++ b/src/script/lua_api/l_env.cpp @@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <algorithm> #include "scripting_server.h" #include "environment.h" +#include "mapblock.h" #include "server.h" #include "nodedef.h" #include "daynightratio.h" @@ -37,6 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "emerge.h" #include "pathfinder.h" #include "face_position_cache.h" +#include "remoteplayer.h" #ifndef SERVER #include "client.h" #endif diff --git a/src/script/lua_api/l_inventory.cpp b/src/script/lua_api/l_inventory.cpp index e92197c14..aac5eed8e 100644 --- a/src/script/lua_api/l_inventory.cpp +++ b/src/script/lua_api/l_inventory.cpp @@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "common/c_converter.h" #include "common/c_content.h" #include "server.h" -#include "player.h" +#include "remoteplayer.h" /* InvRef diff --git a/src/script/lua_api/l_nodemeta.cpp b/src/script/lua_api/l_nodemeta.cpp index c446a8f07..d1f314079 100644 --- a/src/script/lua_api/l_nodemeta.cpp +++ b/src/script/lua_api/l_nodemeta.cpp @@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "common/c_content.h" #include "serverenvironment.h" #include "map.h" +#include "mapblock.h" #include "server.h" /* diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index 7d2eba8e2..9ddbc3e41 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "tool.h" #include "serverobject.h" #include "content_sao.h" +#include "remoteplayer.h" #include "server.h" #include "hud.h" #include "scripting_server.h" diff --git a/src/script/lua_api/l_server.cpp b/src/script/lua_api/l_server.cpp index e60d1d2d6..d99f46cd1 100644 --- a/src/script/lua_api/l_server.cpp +++ b/src/script/lua_api/l_server.cpp @@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "cpp_api/s_base.h" #include "server.h" #include "environment.h" -#include "player.h" +#include "remoteplayer.h" #include "log.h" #include <algorithm> diff --git a/src/script/lua_api/l_vmanip.cpp b/src/script/lua_api/l_vmanip.cpp index 9e482873b..1e973703c 100644 --- a/src/script/lua_api/l_vmanip.cpp +++ b/src/script/lua_api/l_vmanip.cpp @@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "emerge.h" #include "environment.h" #include "map.h" +#include "mapblock.h" #include "server.h" #include "mapgen.h" #include "voxelalgorithms.h" diff --git a/src/script/scripting_mainmenu.cpp b/src/script/scripting_mainmenu.cpp index e2f735927..b8a44205a 100644 --- a/src/script/scripting_mainmenu.cpp +++ b/src/script/scripting_mainmenu.cpp @@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "lua_api/l_sound.h" #include "lua_api/l_util.h" #include "lua_api/l_settings.h" +#include "log.h" extern "C" { #include "lualib.h" |