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
-16
View File
@@ -33,22 +33,6 @@ namespace box2d
{
Contact *luax_checkcontact(lua_State *L, int idx);
int w_Contact_getPositions(lua_State *L);
int w_Contact_getNormal(lua_State *L);
int w_Contact_getFriction(lua_State *L);
int w_Contact_getRestitution(lua_State *L);
int w_Contact_isEnabled(lua_State *L);
int w_Contact_isTouching(lua_State *L);
int w_Contact_setFriction(lua_State *L);
int w_Contact_setRestitution(lua_State *L);
int w_Contact_setEnabled(lua_State *L);
int w_Contact_resetFriction(lua_State *L);
int w_Contact_resetRestitution(lua_State *L);
int w_Contact_setTangentSpeed(lua_State *L);
int w_Contact_getTangentSpeed(lua_State *L);
int w_Contact_getChildren(lua_State *L);
int w_Contact_getFixtures(lua_State *L);
int w_Contact_isDestroyed(lua_State *L);
extern "C" int luaopen_contact(lua_State *L);
} // box2d