Added effect diamond.

This commit is contained in:
2020-04-30 06:51:02 +02:00
parent caa86551a0
commit 075823220a
3 changed files with 28 additions and 1 deletions

View File

@ -24,6 +24,7 @@
#include "effect_blur2d.h"
#include "effect_tv_static.h"
#include "effect_lightspeed.h"
#include "effect_diamond.h"
Effect* current_effect;
@ -64,8 +65,9 @@ EffectEntry effects[] = {
/* 29 */ {"koopa", 0, [](){ return new AnimationEffect("/koopa.pia"); }},
/* 30 */ {"cake", 0, [](){ return new AnimationEffect("/cake.pia"); }},
/* 31 */ {"kid", 0, [](){ return new AnimationEffect("/kid.pia"); }},
/* 32 */ {"diamond", true, [](){ return new DiamondEffect(); }},
};
const uint8_t effects_size = 32;
const uint8_t effects_size = 33;
Effect* select_effect(const char* name) {