updated to latest mobile-common (0cf55b7da58e), removed libtiff, libpng, libmng, devil, jasper, jpeg-8d, added libturbo-jpeg

This commit is contained in:
fysx
2014-08-27 23:19:11 +02:00
parent aba2f47b31
commit abb819335b
1910 changed files with 78167 additions and 922995 deletions
@@ -75,10 +75,24 @@ int w_Joint_getCollideConnected(lua_State *L)
return 1;
}
int w_Joint_setUserData(lua_State *L)
{
Joint *t = luax_checkjoint(L, 1);
lua_remove(L, 1);
return t->setUserData(L);
}
int w_Joint_getUserData(lua_State *L)
{
Joint *t = luax_checkjoint(L, 1);
lua_remove(L, 1);
return t->getUserData(L);
}
int w_Joint_destroy(lua_State *L)
{
Joint *t = luax_checkjoint(L, 1);
EXCEPT_GUARD(t->destroyJoint();)
luax_catchexcept(L, [&](){ t->destroyJoint(); });
return 0;
}
@@ -89,6 +103,8 @@ static const luaL_Reg functions[] =
{ "getReactionForce", w_Joint_getReactionForce },
{ "getReactionTorque", w_Joint_getReactionTorque },
{ "getCollideConnected", w_Joint_getCollideConnected },
{ "setUserData", w_Joint_setUserData },
{ "getUserData", w_Joint_getUserData },
{ "destroy", w_Joint_destroy },
{ 0, 0 }
};