aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/phys/bphysmodel.cpp
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-06-30 21:20:51 -0600
committerAlexander Pickering <alex@cogarr.net>2018-06-30 21:20:51 -0600
commit06203d8767e7da55deb4947c7660ff0136a31f29 (patch)
tree91bc57f8b6372d5d585e3bd83b366421d8da8855 /src/client/lua_api/phys/bphysmodel.cpp
parente2568651c4dc1e42f123b6e8e8c7597ed50fd355 (diff)
downloadbrokengine-06203d8767e7da55deb4947c7660ff0136a31f29.tar.gz
brokengine-06203d8767e7da55deb4947c7660ff0136a31f29.tar.bz2
brokengine-06203d8767e7da55deb4947c7660ff0136a31f29.zip
Removed some dead code
Removed a lot of commented out old code
Diffstat (limited to 'src/client/lua_api/phys/bphysmodel.cpp')
-rw-r--r--src/client/lua_api/phys/bphysmodel.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/client/lua_api/phys/bphysmodel.cpp b/src/client/lua_api/phys/bphysmodel.cpp
index 95458b1..fdd5584 100644
--- a/src/client/lua_api/phys/bphysmodel.cpp
+++ b/src/client/lua_api/phys/bphysmodel.cpp
@@ -34,12 +34,6 @@ static LBPhysNode* checkisbphysmodel(lua_State* L, int index){
return (LBPhysNode*) ud;
}
-/*
-static LISceneNode* checkismesh(lua_State* L){
- return checkismesh(L,1);
-}
-*/
-
//iscenecamera.new(Vector position, Vector lookat, parrent)
// {} {} 0 1
static int newbphysmodel(lua_State* L){
@@ -261,23 +255,8 @@ static int bphysgetpos(lua_State *L){
return 1;
}
-/*mesh:setmaterial("string",layernum=0)*/
-/*
-static int setmaterial(lua_State* L){
- LISceneNode* n = checkismesh(L,1);
- u32 layernum = luaL_optint(L,3,0);
- const char* matfile = luaL_optstring(L,2,"error.png");
- printf("Setting material on a %s",n->type);
- IVideoDriver* driver = device->getVideoDriver();
- n->n->setMaterialTexture( 0, driver->getTexture(matfile) );
- return 0;
-}
-*/
-
static const luaL_reg bphysmodel_f[] = {
{"new", newbphysmodel},
-// {"gethandeler", guigethandeler},
-// {"sethandeler", guisethandeler},
{0,0},
};
@@ -285,7 +264,6 @@ static const luaL_reg bphysmodel_m[] = {
{"setmaterial", iscenesetmaterial},
{"getpos", bphysgetpos},
{"setpos", bphyssetpos},
-// {"settext", setiguitext},
// {"remove", removeiguielement},
{0, 0},
};