diff --git a/app_run_tree/data/blumen_animations/awaken.foldanim b/app_run_tree/data/blumen_animations/awaken.foldanim index efd7194..b82e48f 100644 --- a/app_run_tree/data/blumen_animations/awaken.foldanim +++ b/app_run_tree/data/blumen_animations/awaken.foldanim @@ -1,7 +1,7 @@ lumenarium_animation_file; animation_name: "awaken"; layers_count: 3; -blocks_count: 5; +blocks_count: 8; playable_range:{ min: 0; max: 7200; @@ -23,7 +23,7 @@ layers:{ blocks:{ block:{ frame_range:{ - min: 94; + min: 0; max: 1363; }; layer_index: 0; @@ -39,7 +39,7 @@ blocks:{ }; block:{ frame_range:{ - min: 71; + min: 5525; max: 7200; }; layer_index: 2; @@ -61,4 +61,28 @@ blocks:{ layer_index: 1; animation_name: "Pattern_StemSolid"; }; + block:{ + frame_range:{ + min: 0; + max: 1917; + }; + layer_index: 2; + animation_name: "Pattern_Blue"; + }; + block:{ + frame_range:{ + min: 1823; + max: 3803; + }; + layer_index: 2; + animation_name: "Pattern_RainbowLoadingBar"; + }; + block:{ + frame_range:{ + min: 3670; + max: 5720; + }; + layer_index: 2; + animation_name: "Pattern_Rainbow"; + }; }; diff --git a/src/app/patterns/blumen_patterns.h b/src/app/patterns/blumen_patterns.h index 3023506..65283c5 100644 --- a/src/app/patterns/blumen_patterns.h +++ b/src/app/patterns/blumen_patterns.h @@ -865,5 +865,15 @@ Pattern_RainbowLoadingBar(led_buffer* Leds, led_buffer_range Range, assembly Ass } } +internal void +Pattern_Blue(led_buffer* Leds, led_buffer_range Range, assembly Assembly, r32 Time, gs_memory_arena* Transient, u8* UserData) +{ + pixel Blue = pixel{0, 0, 255}; + for (u32 LedIndex = Range.First; LedIndex < Range.OnePastLast; LedIndex++) + { + Leds->Colors[LedIndex] = Blue; + } +} + #define BLUMEN_PATTERNS_H #endif // BLUMEN_PATTERNS_H \ No newline at end of file diff --git a/src/app/ss_blumen_lumen/blumen_lumen.cpp b/src/app/ss_blumen_lumen/blumen_lumen.cpp index c058497..9bde8d9 100644 --- a/src/app/ss_blumen_lumen/blumen_lumen.cpp +++ b/src/app/ss_blumen_lumen/blumen_lumen.cpp @@ -215,6 +215,8 @@ BlumenLumen_LoadPatterns(app_state* State) Patterns_PushPattern(Patterns, Pattern_GrowFadeMask, PATTERN_MULTITHREADED); Patterns_PushPattern(Patterns, Pattern_RainbowLoadingBar, PATTERN_MULTITHREADED); + + Patterns_PushPattern(Patterns, Pattern_Blue, PATTERN_MULTITHREADED); } internal void