projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd8593f
)
Fix Irrlicht includes in scriptapi_*
author
kwolekr
<kwolekr@minetest.net>
Wed, 6 Mar 2013 14:31:06 +0000
(09:31 -0500)
committer
kwolekr
<kwolekr@minetest.net>
Wed, 6 Mar 2013 22:04:44 +0000
(17:04 -0500)
src/scriptapi.h
patch
|
blob
|
history
src/scriptapi_inventory.h
patch
|
blob
|
history
src/scriptapi_item.h
patch
|
blob
|
history
src/scriptapi_node.h
patch
|
blob
|
history
src/scriptapi_nodemeta.h
patch
|
blob
|
history
src/scriptapi_nodetimer.h
patch
|
blob
|
history
src/scriptapi_noise.cpp
patch
|
blob
|
history
diff --git
a/src/scriptapi.h
b/src/scriptapi.h
index 4a0b078943b841e959794d935969bbfa6dc606a4..7f19bcef5c958ae0c09eb7ed1ea8079f39e49599 100644
(file)
--- 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 02900735281b8b0b7ad1c03a4c49eceeaa233f62..14f4fe02608b15d51995b979cd49482fc10e7885 100644
(file)
--- 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 38d64a2cc340cfba0fc5af0ed583a76a846c7e41..e0f2139905fedcafc105514d366252597c775aa9 100644
(file)
--- 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 c00df9dc56733c14ae984709befa881190d1cc30..665b58bfc1934531f241fa737ead3083dbd0b154 100644
(file)
--- 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 6d1802a9c8b38b2038a6d6bc78957cddec276a04..017abe181a23cbe8890fddaf0ecf501c7f0f0502 100644
(file)
--- 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 184ff8cc99b7e7f8b62ea7334af304161177e896..a4536d9478a4452b82a2fc279edffcfee6edbd93 100644
(file)
--- 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 86f6e309743cdadf664a6edcb40c20f03633c71e..1dd6ef8e06c105ab7c34d8fe3408b47a0d9b6637 100644
(file)
--- 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)
{