mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
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:
@@ -32,28 +32,6 @@ namespace physics
|
||||
namespace box2d
|
||||
{
|
||||
|
||||
int w_newWorld(lua_State *L);
|
||||
int w_newBody(lua_State *L);
|
||||
int w_newFixture(lua_State *L);
|
||||
int w_newCircleShape(lua_State *L);
|
||||
int w_newRectangleShape(lua_State *L);
|
||||
int w_newPolygonShape(lua_State *L);
|
||||
int w_newEdgeShape(lua_State *L);
|
||||
int w_newChainShape(lua_State *L);
|
||||
int w_newDistanceJoint(lua_State *L);
|
||||
int w_newMouseJoint(lua_State *L);
|
||||
int w_newRevoluteJoint(lua_State *L);
|
||||
int w_newPrismaticJoint(lua_State *L);
|
||||
int w_newPulleyJoint(lua_State *L);
|
||||
int w_newGearJoint(lua_State *L);
|
||||
int w_newFrictionJoint(lua_State *L);
|
||||
int w_newWeldJoint(lua_State *L);
|
||||
int w_newWheelJoint(lua_State *L);
|
||||
int w_newRopeJoint(lua_State *L);
|
||||
int w_newMotorJoint(lua_State *L);
|
||||
int w_getDistance(lua_State *L);
|
||||
int w_setMeter(lua_State *L);
|
||||
int w_getMeter(lua_State *L);
|
||||
extern "C" LOVE_EXPORT int luaopen_love_physics(lua_State *L);
|
||||
|
||||
} // box2d
|
||||
|
||||
Reference in New Issue
Block a user