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
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -106,7 +106,7 @@ void Pool::update()
}
}
int Pool::getNumSources() const
int Pool::getSourceCount() const
{
return playing.size();
}
+1 -1
View File
@@ -71,7 +71,7 @@ public:
void update();
int getNumSources() const;
int getSourceCount() const;
int getMaxSources() const;
bool play(Source *source, ALuint &out);