mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Remove functions that were deprecated in LÖVE 11.
--HG-- branch : minor
This commit is contained in:
@@ -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 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user