Renamed ParticleSystem:count, Channel:count, and all getNum* functions to get*Count (issue #602)

This commit is contained in:
Alex Szpakowski
2013-05-03 04:04:44 -03:00
parent 3bf43dadd8
commit 4c616e409b
26 changed files with 73 additions and 73 deletions
+3 -3
View File
@@ -35,9 +35,9 @@ namespace audio
static Audio *instance = 0;
int w_getNumSources(lua_State *L)
int w_getSourceCount(lua_State *L)
{
lua_pushinteger(L, instance->getNumSources());
lua_pushinteger(L, instance->getSourceCount());
return 1;
}
@@ -262,7 +262,7 @@ int w_getDistanceModel(lua_State *L)
// List of functions to wrap.
static const luaL_Reg functions[] =
{
{ "getNumSources", w_getNumSources },
{ "getSourceCount", w_getSourceCount },
{ "newSource1", w_newSource1 },
{ "play", w_play },
{ "stop", w_stop },