mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Renamed ParticleSystem:count, Channel:count, and all getNum* functions to get*Count (issue #602)
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user