Remove functions that were deprecated in LÖVE 11.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2019-12-20 00:45:20 -04:00
parent 2a7e39d58b
commit 23db4f4a59
11 changed files with 0 additions and 322 deletions
-23
View File
@@ -619,24 +619,6 @@ int w_Body_getUserData(lua_State *L)
return t->getUserData(L);
}
int w_Body_getFixtureList(lua_State *L)
{
luax_markdeprecated(L, "Body:getFixtureList", API_METHOD, DEPRECATED_RENAMED, "Body:getFixtures");
return w_Body_getFixtures(L);
}
int w_Body_getJointList(lua_State *L)
{
luax_markdeprecated(L, "Body:getJointList", API_METHOD, DEPRECATED_RENAMED, "Body:getJoints");
return w_Body_getJoints(L);
}
int w_Body_getContactList(lua_State *L)
{
luax_markdeprecated(L, "Body:getContactList", API_METHOD, DEPRECATED_RENAMED, "Body:getContacts");
return w_Body_getContacts(L);
}
static const luaL_Reg w_Body_functions[] =
{
{ "getX", w_Body_getX },
@@ -701,11 +683,6 @@ static const luaL_Reg w_Body_functions[] =
{ "setUserData", w_Body_setUserData },
{ "getUserData", w_Body_getUserData },
// Deprectaed
{ "getFixtureList", w_Body_getFixtureList },
{ "getJointList", w_Body_getJointList },
{ "getContactList", w_Body_getContactList },
{ 0, 0 }
};
@@ -178,12 +178,6 @@ int w_PrismaticJoint_getReferenceAngle(lua_State *L)
return 1;
}
int w_PrismaticJoint_hasLimitsEnabled(lua_State *L)
{
luax_markdeprecated(L, "PrismaticJoint:hasLimitsEnabled", API_METHOD, DEPRECATED_RENAMED, "PrismaticJoint:areLimitsEnabled");
return w_PrismaticJoint_areLimitsEnabled(L);
}
static const luaL_Reg w_PrismaticJoint_functions[] =
{
{ "getJointTranslation", w_PrismaticJoint_getJointTranslation },
@@ -206,9 +200,6 @@ static const luaL_Reg w_PrismaticJoint_functions[] =
{ "getAxis", w_PrismaticJoint_getAxis },
{ "getReferenceAngle", w_PrismaticJoint_getReferenceAngle },
// Deprecated
{ "hasLimitsEnabled", w_PrismaticJoint_hasLimitsEnabled },
{ 0, 0 }
};
@@ -171,12 +171,6 @@ int w_RevoluteJoint_getReferenceAngle(lua_State *L)
return 1;
}
int w_RevoluteJoint_hasLimitsEnabled(lua_State *L)
{
luax_markdeprecated(L, "RevoluteJoint:hasLimitsEnabled", API_METHOD, DEPRECATED_RENAMED, "RevoluteJoint:areLimitsEnabled");
return w_RevoluteJoint_areLimitsEnabled(L);
}
static const luaL_Reg w_RevoluteJoint_functions[] =
{
{ "getJointAngle", w_RevoluteJoint_getJointAngle },
@@ -198,9 +192,6 @@ static const luaL_Reg w_RevoluteJoint_functions[] =
{ "getLimits", w_RevoluteJoint_getLimits },
{ "getReferenceAngle", w_RevoluteJoint_getReferenceAngle },
// Deprecated
{ "hasLimitsEnabled", w_RevoluteJoint_hasLimitsEnabled },
{ 0, 0 }
};
-23
View File
@@ -208,24 +208,6 @@ int w_World_isDestroyed(lua_State *L)
return 1;
}
int w_World_getBodyList(lua_State *L)
{
luax_markdeprecated(L, "World:getBodyList", API_METHOD, DEPRECATED_RENAMED, "World:getBodies");
return w_World_getBodies(L);
}
int w_World_getJointList(lua_State *L)
{
luax_markdeprecated(L, "World:getJointList", API_METHOD, DEPRECATED_RENAMED, "World:getJoints");
return w_World_getJoints(L);
}
int w_World_getContactList(lua_State *L)
{
luax_markdeprecated(L, "World:getContactList", API_METHOD, DEPRECATED_RENAMED, "World:getContacts");
return w_World_getContacts(L);
}
static const luaL_Reg w_World_functions[] =
{
{ "update", w_World_update },
@@ -250,11 +232,6 @@ static const luaL_Reg w_World_functions[] =
{ "destroy", w_World_destroy },
{ "isDestroyed", w_World_isDestroyed },
// Deprecated
{ "getBodyList", w_World_getBodyList },
{ "getJointList", w_World_getJointList },
{ "getContactList", w_World_getContactList },
{ 0, 0 }
};