mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Renamed ParticleSystem:count, Channel:count, and all getNum* functions to get*Count (issue #602)
This commit is contained in:
@@ -143,9 +143,9 @@ love::audio::Source *Audio::newSource(love::sound::SoundData *soundData)
|
||||
return new Source(pool, soundData);
|
||||
}
|
||||
|
||||
int Audio::getNumSources() const
|
||||
int Audio::getSourceCount() const
|
||||
{
|
||||
return pool->getNumSources();
|
||||
return pool->getSourceCount();
|
||||
}
|
||||
|
||||
int Audio::getMaxSources() const
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
// Implements Audio.
|
||||
love::audio::Source *newSource(love::sound::Decoder *decoder);
|
||||
love::audio::Source *newSource(love::sound::SoundData *soundData);
|
||||
int getNumSources() const;
|
||||
int getSourceCount() const;
|
||||
int getMaxSources() const;
|
||||
void play(love::audio::Source *source);
|
||||
void play();
|
||||
|
||||
@@ -106,7 +106,7 @@ void Pool::update()
|
||||
}
|
||||
}
|
||||
|
||||
int Pool::getNumSources() const
|
||||
int Pool::getSourceCount() const
|
||||
{
|
||||
return playing.size();
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
|
||||
void update();
|
||||
|
||||
int getNumSources() const;
|
||||
int getSourceCount() const;
|
||||
int getMaxSources() const;
|
||||
|
||||
bool play(Source *source, ALuint &out);
|
||||
|
||||
Reference in New Issue
Block a user