| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- #pragma once
- #include "dolphin/scenes/scene.h"
- const DolphinFrame up = {
- .frames =
- {
- {
- .f = &I_up1_73x61,
- .b = &I_black_up1_73x61,
- },
- {
- .f = &I_up2_73x61,
- .b = &I_black_up2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame up_down = {
- .frames =
- {
- {
- .f = &I_updown1_73x61,
- .b = &I_black_updown1_73x61,
- },
- {
- .f = &I_updown2_73x61,
- .b = &I_black_updown2_73x61,
- },
- {
- .f = &I_updown3_73x61,
- .b = &I_black_updown3_73x61,
- },
- },
- .total = 3,
- };
- const DolphinFrame up_right = {
- .frames =
- {
- {
- .f = &I_upright1_73x61,
- .b = &I_black_upright1_73x61,
- },
- {
- .f = &I_upright2_73x61,
- .b = &I_black_upright2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame up_left = {
- .frames =
- {
- {
- .f = &I_upleft1_73x61,
- .b = &I_black_upleft1_73x61,
- },
- {
- .f = &I_upleft2_73x61,
- .b = &I_black_upleft2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame right = {
- .frames =
- {
- {
- .f = &I_right1_73x61,
- .b = &I_black_right1_73x61,
- },
- {
- .f = &I_right2_73x61,
- .b = &I_black_right2_73x61,
- },
- {
- .f = &I_right3_73x61,
- .b = &I_black_right3_73x61,
- },
- },
- .total = 3,
- };
- const DolphinFrame right_up = {
- .frames =
- {
- {
- .f = &I_rightup1_73x61,
- .b = &I_black_rightup1_73x61,
- },
- {
- .f = &I_rightup2_73x61,
- .b = &I_black_rightup2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame right_down = {
- .frames =
- {
- {
- .f = &I_rightdown1_73x61,
- .b = &I_black_rightdown1_73x61,
- },
- {
- .f = &I_rightdown2_73x61,
- .b = &I_black_rightdown2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame right_left = {
- .frames =
- {
- {
- .f = &I_rightleft1_73x61,
- .b = &I_black_rightleft1_73x61,
- },
- {
- .f = &I_rightleft2_73x61,
- .b = &I_black_rightleft2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame down = {
- .frames =
- {
- {
- .f = &I_down1_73x61,
- .b = &I_black_down1_73x61,
- },
- {
- .f = &I_down2_73x61,
- .b = &I_black_down2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame down_up = {
- .frames =
- {
- {
- .f = &I_downup1_73x61,
- .b = &I_black_downup1_73x61,
- },
- {
- .f = &I_downup2_73x61,
- .b = &I_black_downup2_73x61,
- },
- {
- .f = &I_downup3_73x61,
- .b = &I_black_downup3_73x61,
- },
- },
- .total = 3,
- };
- const DolphinFrame down_left = {
- .frames =
- {
- {
- .f = &I_downleft1_73x61,
- .b = &I_black_downleft1_73x61,
- },
- {
- .f = &I_downleft2_73x61,
- .b = &I_black_downleft2_73x61,
- },
- {
- .f = &I_downleft3_73x61,
- .b = &I_black_downleft3_73x61,
- },
- },
- .total = 3,
- };
- const DolphinFrame down_right = {
- .frames =
- {
- {
- .f = &I_downright1_73x61,
- .b = &I_black_downright1_73x61,
- },
- {
- .f = &I_downright2_73x61,
- .b = &I_black_downright2_73x61,
- },
- {
- .f = &I_downright3_73x61,
- .b = &I_black_downright3_73x61,
- },
- },
- .total = 3,
- };
- const DolphinFrame left = {
- .frames =
- {
- {
- .f = &I_left1_73x61,
- .b = &I_black_left1_73x61,
- },
- {
- .f = &I_left2_73x61,
- .b = &I_black_left2_73x61,
- },
- {
- .f = &I_left3_73x61,
- .b = &I_black_left3_73x61,
- },
- },
- .total = 3,
- };
- const DolphinFrame left_up = {
- .frames =
- {
- {
- .f = &I_leftup1_73x61,
- .b = &I_black_leftup1_73x61,
- },
- {
- .f = &I_leftup2_73x61,
- .b = &I_black_leftup2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame left_down = {
- .frames =
- {
- {
- .f = &I_leftdown1_73x61,
- .b = &I_black_leftdown1_73x61,
- },
- {
- .f = &I_leftdown2_73x61,
- .b = &I_black_leftdown2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame left_right = {
- .frames =
- {
- {
- .f = &I_rightleft1_73x61,
- .b = &I_black_rightleft1_73x61,
- },
- {
- .f = &I_rightleft2_73x61,
- .b = &I_black_rightleft2_73x61,
- },
- },
- .total = 2,
- };
- const DolphinFrame* frames[4][4] = {
- [DirUp] = {[DirUp] = &up, [DirRight] = &up_right, [DirDown] = &up_down, [DirLeft] = &up_left},
- [DirRight] =
- {[DirUp] = &right_up, [DirRight] = &right, [DirDown] = &right_down, [DirLeft] = &right_left},
- [DirDown] =
- {[DirUp] = &down_up, [DirRight] = &down_right, [DirDown] = &down, [DirLeft] = &down_left},
- [DirLeft] =
- {[DirUp] = &left_up, [DirRight] = &left_right, [DirDown] = &left_down, [DirLeft] = &left},
- };
|