From cfb25d6030fb550a3823443bf334195f74cd67c8 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Wed, 29 Apr 2020 20:27:16 +0200 Subject: [PATCH] Added more AnimationEffects. --- src/effects.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/effects.cpp b/src/effects.cpp index d1a80cb..2299031 100644 --- a/src/effects.cpp +++ b/src/effects.cpp @@ -61,8 +61,11 @@ EffectEntry effects[] = { /* 26 */ {"sinematrix3_rainbow", true, [](){ return new Sinematrix3Effect(SINEMATRIX_COLOR_RAINBOW); }}, /* 27 */ {"sinematrix3_purplefly", true, [](){ return new Sinematrix3Effect(SINEMATRIX_COLOR_PURPLEFLY); }}, /* 28 */ {"lightspeed", true, [](){ return new LightspeedEffect(); }}, + /* 29 */ {"koopa", 0, [](){ return new AnimationEffect("/koopa.pia"); }}, + /* 30 */ {"cake", 0, [](){ return new AnimationEffect("/cake.pia"); }}, + /* 31 */ {"kid", 0, [](){ return new AnimationEffect("/kid.pia"); }}, }; -const uint8_t effects_size = 29; +const uint8_t effects_size = 32; Effect* select_effect(const char* name) {