From 06203d8767e7da55deb4947c7660ff0136a31f29 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 30 Jun 2018 21:20:51 -0600 Subject: Removed some dead code Removed a lot of commented out old code --- src/client/lua_api/gui/iguiwindow.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/client/lua_api/gui/iguiwindow.cpp') diff --git a/src/client/lua_api/gui/iguiwindow.cpp b/src/client/lua_api/gui/iguiwindow.cpp index 30af486..fc85217 100644 --- a/src/client/lua_api/gui/iguiwindow.cpp +++ b/src/client/lua_api/gui/iguiwindow.cpp @@ -20,18 +20,6 @@ extern "C" { using namespace irr; using namespace gui; -//static bool iguiwindowevent(irr::SEvent e){ - //int ref = iguielements[e.GUIEvent.Caller]; - //lua_rawgeti(tL,LUA_REGISTRYINDEX,ref); - //lua_getfield(tL,-1,"close"); - - //lua_rawgeti(tL,LUA_REGISTRYINDEX,ref); - //lua_call(tL,1,1); - - //int shouldclose = lua_toboolean(tL,-1); - //return shouldclose == 1; -//} - //new({{sx,sy},{ex,ey}},"title"[,{guielement=parent}]) :: {guielement} static int newiguiwindow(lua_State* L){ IGUIElement* parent = NULL; -- cgit v1.2.3-70-g09d2