mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Removed functions that were deprecated in 0.9.1
--HG-- branch : minor
This commit is contained in:
@@ -146,9 +146,6 @@ static const luaL_Reg functions[] =
|
|||||||
{ "clear", w_Canvas_clear },
|
{ "clear", w_Canvas_clear },
|
||||||
{ "getFormat", w_Canvas_getFormat },
|
{ "getFormat", w_Canvas_getFormat },
|
||||||
{ "getFSAA", w_Canvas_getFSAA },
|
{ "getFSAA", w_Canvas_getFSAA },
|
||||||
|
|
||||||
// Deprecated since 0.9.1.
|
|
||||||
{ "getType", w_Canvas_getFormat },
|
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -144,12 +144,6 @@ int w_setInvertedStencil(lua_State *L)
|
|||||||
return setStencil(L, true);
|
return setStencil(L, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
int w_getMaxTextureSize(lua_State *L)
|
|
||||||
{
|
|
||||||
lua_pushinteger(L, instance->getSystemLimit(Graphics::LIMIT_TEXTURE_SIZE));
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int w_newImage(lua_State *L)
|
int w_newImage(lua_State *L)
|
||||||
{
|
{
|
||||||
love::image::ImageData *data = nullptr;
|
love::image::ImageData *data = nullptr;
|
||||||
@@ -816,12 +810,6 @@ int w_getPointSize(lua_State *L)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int w_getMaxPointSize(lua_State *L)
|
|
||||||
{
|
|
||||||
lua_pushnumber(L, instance->getSystemLimit(Graphics::LIMIT_POINT_SIZE));
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int w_setWireframe(lua_State *L)
|
int w_setWireframe(lua_State *L)
|
||||||
{
|
{
|
||||||
instance->setWireframe(luax_toboolean(L, 1));
|
instance->setWireframe(luax_toboolean(L, 1));
|
||||||
@@ -1376,8 +1364,6 @@ static const luaL_Reg functions[] =
|
|||||||
{ "getLineJoin", w_getLineJoin },
|
{ "getLineJoin", w_getLineJoin },
|
||||||
{ "setPointSize", w_setPointSize },
|
{ "setPointSize", w_setPointSize },
|
||||||
{ "getPointSize", w_getPointSize },
|
{ "getPointSize", w_getPointSize },
|
||||||
{ "getMaxPointSize", w_getMaxPointSize },
|
|
||||||
{ "getMaxTextureSize", w_getMaxTextureSize },
|
|
||||||
{ "setWireframe", w_setWireframe },
|
{ "setWireframe", w_setWireframe },
|
||||||
{ "isWireframe", w_isWireframe },
|
{ "isWireframe", w_isWireframe },
|
||||||
{ "newScreenshot", w_newScreenshot },
|
{ "newScreenshot", w_newScreenshot },
|
||||||
@@ -1423,10 +1409,6 @@ static const luaL_Reg functions[] =
|
|||||||
{ "shear", w_shear },
|
{ "shear", w_shear },
|
||||||
{ "origin", w_origin },
|
{ "origin", w_origin },
|
||||||
|
|
||||||
// Deprecated since 0.9.1.
|
|
||||||
{ "getMaxImageSize", w_getMaxTextureSize },
|
|
||||||
{ "getMaxPointSize", w_getMaxPointSize },
|
|
||||||
|
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ int w_setScissor(lua_State *L);
|
|||||||
int w_getScissor(lua_State *L);
|
int w_getScissor(lua_State *L);
|
||||||
int w_setStencil(lua_State *L);
|
int w_setStencil(lua_State *L);
|
||||||
int w_setInvertedStencil(lua_State *L);
|
int w_setInvertedStencil(lua_State *L);
|
||||||
int w_getMaxTextureSize(lua_State *L);
|
|
||||||
int w_newImage(lua_State *L);
|
int w_newImage(lua_State *L);
|
||||||
int w_newQuad(lua_State *L);
|
int w_newQuad(lua_State *L);
|
||||||
int w_newFont(lua_State *L);
|
int w_newFont(lua_State *L);
|
||||||
@@ -82,7 +81,6 @@ int w_getLineStyle(lua_State *L);
|
|||||||
int w_getLineJoin(lua_State *L);
|
int w_getLineJoin(lua_State *L);
|
||||||
int w_setPointSize(lua_State *L);
|
int w_setPointSize(lua_State *L);
|
||||||
int w_getPointSize(lua_State *L);
|
int w_getPointSize(lua_State *L);
|
||||||
int w_getMaxPointSize(lua_State *L);
|
|
||||||
int w_setWireframe(lua_State *L);
|
int w_setWireframe(lua_State *L);
|
||||||
int w_isWireframe(lua_State *L);
|
int w_isWireframe(lua_State *L);
|
||||||
int w_newScreenshot(lua_State *L);
|
int w_newScreenshot(lua_State *L);
|
||||||
|
|||||||
@@ -381,11 +381,6 @@ static const luaL_Reg functions[] =
|
|||||||
{ "getDrawRange", w_Mesh_getDrawRange },
|
{ "getDrawRange", w_Mesh_getDrawRange },
|
||||||
{ "setVertexColors", w_Mesh_setVertexColors },
|
{ "setVertexColors", w_Mesh_setVertexColors },
|
||||||
{ "hasVertexColors", w_Mesh_hasVertexColors },
|
{ "hasVertexColors", w_Mesh_hasVertexColors },
|
||||||
|
|
||||||
// Deprecated since 0.9.1.
|
|
||||||
{ "setImage", w_Mesh_setTexture },
|
|
||||||
{ "getImage", w_Mesh_getTexture },
|
|
||||||
|
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -713,11 +713,6 @@ static const luaL_Reg functions[] =
|
|||||||
{ "isPaused", w_ParticleSystem_isPaused },
|
{ "isPaused", w_ParticleSystem_isPaused },
|
||||||
{ "isStopped", w_ParticleSystem_isStopped },
|
{ "isStopped", w_ParticleSystem_isStopped },
|
||||||
{ "update", w_ParticleSystem_update },
|
{ "update", w_ParticleSystem_update },
|
||||||
|
|
||||||
// Deprecated since 0.9.1.
|
|
||||||
{ "setImage", w_ParticleSystem_setTexture },
|
|
||||||
{ "getImage", w_ParticleSystem_getTexture },
|
|
||||||
|
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -355,11 +355,6 @@ static const luaL_Reg functions[] =
|
|||||||
{ "sendMatrix", w_Shader_sendMatrix },
|
{ "sendMatrix", w_Shader_sendMatrix },
|
||||||
{ "sendTexture", w_Shader_sendTexture },
|
{ "sendTexture", w_Shader_sendTexture },
|
||||||
{ "send", w_Shader_send },
|
{ "send", w_Shader_send },
|
||||||
|
|
||||||
// Deprecated since 0.9.1.
|
|
||||||
{ "sendImage", w_Shader_sendTexture },
|
|
||||||
{ "sendCanvas", w_Shader_sendTexture },
|
|
||||||
|
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -248,10 +248,6 @@ static const luaL_Reg functions[] =
|
|||||||
{ "getCount", w_SpriteBatch_getCount },
|
{ "getCount", w_SpriteBatch_getCount },
|
||||||
{ "setBufferSize", w_SpriteBatch_setBufferSize },
|
{ "setBufferSize", w_SpriteBatch_setBufferSize },
|
||||||
{ "getBufferSize", w_SpriteBatch_getBufferSize },
|
{ "getBufferSize", w_SpriteBatch_getBufferSize },
|
||||||
|
|
||||||
// Deprecated since 0.9.1.
|
|
||||||
{ "setImage", w_SpriteBatch_setTexture },
|
|
||||||
{ "getImage", w_SpriteBatch_getTexture },
|
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user