aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/load_scene.cpp
diff options
context:
space:
mode:
authorAlexander <alex@cogarr.net>2020-06-29 15:29:03 -0400
committerAlexander <alex@cogarr.net>2020-06-29 15:29:03 -0400
commit80789508b9655d25629223b9dcc84b4cfb77ce45 (patch)
tree37e140e532af61c1ca4699c8b6254cf2cb07ed02 /src/client/lua_api/load_scene.cpp
parent44a1421c393632978d59c0698a93ae22243b97e9 (diff)
downloadbrokengine-80789508b9655d25629223b9dcc84b4cfb77ce45.tar.gz
brokengine-80789508b9655d25629223b9dcc84b4cfb77ce45.tar.bz2
brokengine-80789508b9655d25629223b9dcc84b4cfb77ce45.zip
Updates for mdoc
Also more tests
Diffstat (limited to 'src/client/lua_api/load_scene.cpp')
-rw-r--r--src/client/lua_api/load_scene.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/lua_api/load_scene.cpp b/src/client/lua_api/load_scene.cpp
index c605581..f64fc26 100644
--- a/src/client/lua_api/load_scene.cpp
+++ b/src/client/lua_api/load_scene.cpp
@@ -11,8 +11,10 @@ extern "C" {
#include "scene/icamera.hpp"
#include "scene/imesh.hpp"
#include "scene/ilight.hpp"
+#include <shared/lua_api/common.hpp>
using namespace irr;
+using namespace video;
extern IrrlichtDevice* device;
@@ -25,6 +27,9 @@ void load_scenefuncs(lua_State* L){
imesh_register(L);
ilight_register(L);
+ //INode flags
+ set_const(L,EMF_WIREFRAME);
+
//lua_pop(L, 1);
}