mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +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:
@@ -34,19 +34,6 @@ namespace box2d
|
||||
{
|
||||
|
||||
WheelJoint *luax_checkwheeljoint(lua_State *L, int idx);
|
||||
int w_WheelJoint_getJointTranslation(lua_State *L);
|
||||
int w_WheelJoint_getJointSpeed(lua_State *L);
|
||||
int w_WheelJoint_setMotorEnabled(lua_State *L);
|
||||
int w_WheelJoint_isMotorEnabled(lua_State *L);
|
||||
int w_WheelJoint_setMotorSpeed(lua_State *L);
|
||||
int w_WheelJoint_getMotorSpeed(lua_State *L);
|
||||
int w_WheelJoint_setMaxMotorTorque(lua_State *L);
|
||||
int w_WheelJoint_getMaxMotorTorque(lua_State *L);
|
||||
int w_WheelJoint_getMotorTorque(lua_State *L);
|
||||
int w_WheelJoint_setSpringFrequency(lua_State *L);
|
||||
int w_WheelJoint_getSpringFrequency(lua_State *L);
|
||||
int w_WheelJoint_setSpringDampingRatio(lua_State *L);
|
||||
int w_WheelJoint_getSpringDampingRatio(lua_State *L);
|
||||
extern "C" int luaopen_wheeljoint(lua_State *L);
|
||||
|
||||
} // box2d
|
||||
|
||||
Reference in New Issue
Block a user