Imported some of the dynamiccore branch from love-experiments:

- Type names for love's Lua objects are specified as an argument to luax_register_type, rather than being statically defined in an array.

- luax_register_type takes a variable number of method array arguments, for registering superclass methods without copying them into the subclass' method array.

Also removed most of the header declarations for wrapper functions.
This commit is contained in:
Alex Szpakowski
2015-11-29 20:38:12 -04:00
parent 77998c707d
commit 2c4e713114
124 changed files with 251 additions and 1300 deletions
@@ -34,23 +34,6 @@ namespace box2d
{
PrismaticJoint *luax_checkprismaticjoint(lua_State *L, int idx);
int w_PrismaticJoint_getJointTranslation(lua_State *L);
int w_PrismaticJoint_getJointSpeed(lua_State *L);
int w_PrismaticJoint_setMotorEnabled(lua_State *L);
int w_PrismaticJoint_isMotorEnabled(lua_State *L);
int w_PrismaticJoint_setMaxMotorForce(lua_State *L);
int w_PrismaticJoint_setMotorSpeed(lua_State *L);
int w_PrismaticJoint_getMotorSpeed(lua_State *L);
int w_PrismaticJoint_getMotorForce(lua_State *L);
int w_PrismaticJoint_getMaxMotorForce(lua_State *L);
int w_PrismaticJoint_setLimitsEnabled(lua_State *L);
int w_PrismaticJoint_hasLimitsEnabled(lua_State *L);
int w_PrismaticJoint_setUpperLimit(lua_State *L);
int w_PrismaticJoint_setLowerLimit(lua_State *L);
int w_PrismaticJoint_setLimits(lua_State *L);
int w_PrismaticJoint_getLowerLimit(lua_State *L);
int w_PrismaticJoint_getUpperLimit(lua_State *L);
int w_PrismaticJoint_getLimits(lua_State *L);
extern "C" int luaopen_prismaticjoint(lua_State *L);
} // box2d