Removed functions that were deprecated in 0.9.1

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2014-03-12 02:24:21 -03:00
parent 60cd1456ea
commit a94637ef2b
7 changed files with 0 additions and 42 deletions
@@ -146,9 +146,6 @@ static const luaL_Reg functions[] =
{ "clear", w_Canvas_clear },
{ "getFormat", w_Canvas_getFormat },
{ "getFSAA", w_Canvas_getFSAA },
// Deprecated since 0.9.1.
{ "getType", w_Canvas_getFormat },
{ 0, 0 }
};
@@ -144,12 +144,6 @@ int w_setInvertedStencil(lua_State *L)
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)
{
love::image::ImageData *data = nullptr;
@@ -816,12 +810,6 @@ int w_getPointSize(lua_State *L)
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)
{
instance->setWireframe(luax_toboolean(L, 1));
@@ -1376,8 +1364,6 @@ static const luaL_Reg functions[] =
{ "getLineJoin", w_getLineJoin },
{ "setPointSize", w_setPointSize },
{ "getPointSize", w_getPointSize },
{ "getMaxPointSize", w_getMaxPointSize },
{ "getMaxTextureSize", w_getMaxTextureSize },
{ "setWireframe", w_setWireframe },
{ "isWireframe", w_isWireframe },
{ "newScreenshot", w_newScreenshot },
@@ -1423,10 +1409,6 @@ static const luaL_Reg functions[] =
{ "shear", w_shear },
{ "origin", w_origin },
// Deprecated since 0.9.1.
{ "getMaxImageSize", w_getMaxTextureSize },
{ "getMaxPointSize", w_getMaxPointSize },
{ 0, 0 }
};
@@ -50,7 +50,6 @@ int w_setScissor(lua_State *L);
int w_getScissor(lua_State *L);
int w_setStencil(lua_State *L);
int w_setInvertedStencil(lua_State *L);
int w_getMaxTextureSize(lua_State *L);
int w_newImage(lua_State *L);
int w_newQuad(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_setPointSize(lua_State *L);
int w_getPointSize(lua_State *L);
int w_getMaxPointSize(lua_State *L);
int w_setWireframe(lua_State *L);
int w_isWireframe(lua_State *L);
int w_newScreenshot(lua_State *L);
@@ -381,11 +381,6 @@ static const luaL_Reg functions[] =
{ "getDrawRange", w_Mesh_getDrawRange },
{ "setVertexColors", w_Mesh_setVertexColors },
{ "hasVertexColors", w_Mesh_hasVertexColors },
// Deprecated since 0.9.1.
{ "setImage", w_Mesh_setTexture },
{ "getImage", w_Mesh_getTexture },
{ 0, 0 }
};
@@ -713,11 +713,6 @@ static const luaL_Reg functions[] =
{ "isPaused", w_ParticleSystem_isPaused },
{ "isStopped", w_ParticleSystem_isStopped },
{ "update", w_ParticleSystem_update },
// Deprecated since 0.9.1.
{ "setImage", w_ParticleSystem_setTexture },
{ "getImage", w_ParticleSystem_getTexture },
{ 0, 0 }
};
@@ -355,11 +355,6 @@ static const luaL_Reg functions[] =
{ "sendMatrix", w_Shader_sendMatrix },
{ "sendTexture", w_Shader_sendTexture },
{ "send", w_Shader_send },
// Deprecated since 0.9.1.
{ "sendImage", w_Shader_sendTexture },
{ "sendCanvas", w_Shader_sendTexture },
{ 0, 0 }
};
@@ -248,10 +248,6 @@ static const luaL_Reg functions[] =
{ "getCount", w_SpriteBatch_getCount },
{ "setBufferSize", w_SpriteBatch_setBufferSize },
{ "getBufferSize", w_SpriteBatch_getBufferSize },
// Deprecated since 0.9.1.
{ "setImage", w_SpriteBatch_setTexture },
{ "getImage", w_SpriteBatch_getTexture },
{ 0, 0 }
};