aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-03-06 09:31:06 -0500
committerkwolekr <kwolekr@minetest.net>2013-03-06 17:04:44 -0500
commitb9512cab1b995e74c11b12139fe9320c02ff2060 (patch)
tree8596a2c8a0f23647deaecb83877651e0484aba2b /src
parentdd8593f2d6c1db06035be2e55a518109b74fc3b2 (diff)
downloadminetest-b9512cab1b995e74c11b12139fe9320c02ff2060.tar.gz
minetest-b9512cab1b995e74c11b12139fe9320c02ff2060.tar.bz2
minetest-b9512cab1b995e74c11b12139fe9320c02ff2060.zip
Fix Irrlicht includes in scriptapi_*
Diffstat (limited to 'src')
-rw-r--r--src/scriptapi.h2
-rw-r--r--src/scriptapi_inventory.h2
-rw-r--r--src/scriptapi_item.h1
-rw-r--r--src/scriptapi_node.h1
-rw-r--r--src/scriptapi_nodemeta.h2
-rw-r--r--src/scriptapi_nodetimer.h2
-rw-r--r--src/scriptapi_noise.cpp3
7 files changed, 2 insertions, 11 deletions
diff --git a/src/scriptapi.h b/src/scriptapi.h
index 4a0b07894..7f19bcef5 100644
--- a/src/scriptapi.h
+++ b/src/scriptapi.h
@@ -23,6 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <string>
#include <set>
#include <map>
+#include "irr_v3d.h"
+#include "irr_v2d.h"
extern "C" {
#include <lua.h>
diff --git a/src/scriptapi_inventory.h b/src/scriptapi_inventory.h
index 029007352..14f4fe026 100644
--- a/src/scriptapi_inventory.h
+++ b/src/scriptapi_inventory.h
@@ -20,8 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef LUA_INVENTORY_H_
#define LUA_INVENTORY_H_
-#include <irr_v3d.h>
-
extern "C" {
#include <lua.h>
#include <lauxlib.h>
diff --git a/src/scriptapi_item.h b/src/scriptapi_item.h
index 38d64a2cc..e0f213990 100644
--- a/src/scriptapi_item.h
+++ b/src/scriptapi_item.h
@@ -25,7 +25,6 @@ extern "C" {
#include <lauxlib.h>
}
-#include <irr_v3d.h>
#include <vector>
#include "itemdef.h"
diff --git a/src/scriptapi_node.h b/src/scriptapi_node.h
index c00df9dc5..665b58bfc 100644
--- a/src/scriptapi_node.h
+++ b/src/scriptapi_node.h
@@ -20,7 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef LUA_NODE_H_
#define LUA_NODE_H_
-#include <irr_v3d.h>
#include <iostream>
#include <map>
diff --git a/src/scriptapi_nodemeta.h b/src/scriptapi_nodemeta.h
index 6d1802a9c..017abe181 100644
--- a/src/scriptapi_nodemeta.h
+++ b/src/scriptapi_nodemeta.h
@@ -19,8 +19,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef LUA_NODEMETA_H_
#define LUA_NODEMETA_H_
-#include <irr_v3d.h>
-
extern "C" {
#include <lua.h>
#include <lauxlib.h>
diff --git a/src/scriptapi_nodetimer.h b/src/scriptapi_nodetimer.h
index 184ff8cc9..a4536d947 100644
--- a/src/scriptapi_nodetimer.h
+++ b/src/scriptapi_nodetimer.h
@@ -20,8 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef LUA_NODETIMER_H_
#define LUA_NODETIMER_H_
-#include <irr_v3d.h>
-
extern "C" {
#include <lua.h>
#include <lauxlib.h>
diff --git a/src/scriptapi_noise.cpp b/src/scriptapi_noise.cpp
index 86f6e3097..1dd6ef8e0 100644
--- a/src/scriptapi_noise.cpp
+++ b/src/scriptapi_noise.cpp
@@ -22,9 +22,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "scriptapi_types.h"
#include "script.h"
-#include <irr_v2d.h>
-
-
// garbage collector
int LuaPerlinNoise::gc_object(lua_State *L)
{