mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Rename love.audio.getEffectsList and Source:getEffectsList to getActiveEffects. They now return an empty table instead of nil when there are no active effects, as well.
--HG-- branch : minor
This commit is contained in:
@@ -236,7 +236,7 @@ public:
|
||||
* @param list List of EFX names to fill.
|
||||
* @return true if effect was present, false otherwise.
|
||||
*/
|
||||
virtual bool getEffectsList(std::vector<std::string> &list) = 0;
|
||||
virtual bool getActiveEffects(std::vector<std::string> &list) const = 0;
|
||||
|
||||
/**
|
||||
* Gets maximum number of scene EFX effects.
|
||||
|
||||
Reference in New Issue
Block a user