summaryrefslogtreecommitdiffstats
path: root/keyboards/terrazzo/terrazzo_effects/dino.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/terrazzo/terrazzo_effects/dino.h')
-rw-r--r--keyboards/terrazzo/terrazzo_effects/dino.h162
1 files changed, 0 insertions, 162 deletions
diff --git a/keyboards/terrazzo/terrazzo_effects/dino.h b/keyboards/terrazzo/terrazzo_effects/dino.h
deleted file mode 100644
index 18c629f414..0000000000
--- a/keyboards/terrazzo/terrazzo_effects/dino.h
+++ /dev/null
@@ -1,162 +0,0 @@
-/* Copyright 2020 ademey "MsMustard"
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef DISABLE_TERRAZZO_EFFECT_DINO
-TERRAZZO_EFFECT(DINO)
-# ifdef TERRAZZO_EFFECT_IMPLS
-
-static uint8_t dino_frames[2][56] = {
-{
- 0, 0, 0, 9, 9, 9, 9,
- 0, 0, 0, 9, 0, 9, 9,
- 9, 0, 0, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 0, 0,
- 9, 9, 9, 9, 9, 0, 0,
- 0, 9, 9, 9, 0, 0, 0,
- 0, 9, 0, 9, 9, 0, 0,
- 0, 9, 9, 0, 0, 0, 0
-},
-{
- 0, 0, 0, 9, 9, 9, 9,
- 0, 0, 0, 9, 0, 9, 9,
- 9, 0, 0, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 0, 0,
- 9, 9, 9, 9, 9, 0, 0,
- 0, 9, 9, 9, 0, 0, 0,
- 0, 9, 0, 9, 0, 0, 0,
- 0, 0, 0, 9, 9, 0, 0
-}
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0,
- 0, 4, 0, 4, 0, 4, 0,
- 0, 4, 0, 4, 4, 4, 0,
- 0, 0, 4, 4, 0, 0, 0,
- 1, 1, 1, 4, 1, 1, 1,
- 0, 0, 0, 4, 0, 0, 0
-},
-{
- 0, 0, 4, 0, 0, 0, 0,
- 4, 0, 4, 0, 4, 0, 0,
- 4, 0, 4, 4, 4, 0, 0,
- 0, 4, 4, 0, 0, 0, 1,
- 1, 1, 4, 1, 1, 1, 0,
- 0, 0, 4, 0, 0, 0, 0
-},
-{
- 0, 4, 0, 0, 0, 0, 0,
- 0, 4, 0, 4, 0, 0, 0,
- 0, 4, 4, 4, 0, 0, 0,
- 4, 4, 0, 0, 0, 1, 1,
- 1, 4, 1, 1, 1, 0, 0,
- 0, 4, 0, 0, 0, 0, 0
-},
-{
- 4, 0, 0, 0, 0, 0, 0,
- 4, 0, 4, 0, 0, 0, 0,
- 4, 4, 4, 0, 0, 0, 0,
- 4, 0, 0, 0, 1, 1, 0,
- 4, 1, 1, 1, 0, 0, 1,
- 4, 0, 0, 0, 0, 0, 0
-},
-{
- 0, 0, 0, 0, 0, 0, 0,
- 0, 4, 0, 0, 0, 0, 0,
- 4, 4, 0, 0, 0, 0, 0,
- 0, 0, 0, 1, 1, 0, 0,
- 1, 1, 1, 0, 0, 1, 1,
- 0, 0, 0, 0, 0, 0, 0
-},
-{
- 0, 0, 0, 0, 0, 0, 0,
- 4, 0, 0, 0, 0, 0, 4,
- 4, 0, 0, 0, 0, 0, 4,
- 0, 0, 1, 1, 0, 0, 0,
- 1, 1, 0, 0, 1, 1, 1,
- 0, 0, 0, 0, 0, 0, 0
-}
-};
-
-void DINO(uint8_t i, bool dir) {
- led_matrix_set_value_all(0);
- if (dir) {
- terrazzo_draw_at(0, 7, 7, 8, dino_frames[i % 2]);
- } else {
- terrazzo_draw_at(0, 7, 7, 8, dino_reverse[i % 2]);
-
- }
- terrazzo_draw_at(0, 0, 7, 6, dino_bg[i % 10]);
-}
-
-# endif
-#endif \ No newline at end of file