meta.h 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. #pragma once
  2. #include "dolphin/scenes/scene.h"
  3. const DolphinFrame up = {
  4. .frames =
  5. {
  6. {
  7. .f = &I_up1_73x61,
  8. .b = &I_black_up1_73x61,
  9. },
  10. {
  11. .f = &I_up2_73x61,
  12. .b = &I_black_up2_73x61,
  13. },
  14. },
  15. .total = 2,
  16. };
  17. const DolphinFrame up_down = {
  18. .frames =
  19. {
  20. {
  21. .f = &I_updown1_73x61,
  22. .b = &I_black_updown1_73x61,
  23. },
  24. {
  25. .f = &I_updown2_73x61,
  26. .b = &I_black_updown2_73x61,
  27. },
  28. {
  29. .f = &I_updown3_73x61,
  30. .b = &I_black_updown3_73x61,
  31. },
  32. },
  33. .total = 3,
  34. };
  35. const DolphinFrame up_right = {
  36. .frames =
  37. {
  38. {
  39. .f = &I_upright1_73x61,
  40. .b = &I_black_upright1_73x61,
  41. },
  42. {
  43. .f = &I_upright2_73x61,
  44. .b = &I_black_upright2_73x61,
  45. },
  46. },
  47. .total = 2,
  48. };
  49. const DolphinFrame up_left = {
  50. .frames =
  51. {
  52. {
  53. .f = &I_upleft1_73x61,
  54. .b = &I_black_upleft1_73x61,
  55. },
  56. {
  57. .f = &I_upleft2_73x61,
  58. .b = &I_black_upleft2_73x61,
  59. },
  60. },
  61. .total = 2,
  62. };
  63. const DolphinFrame right = {
  64. .frames =
  65. {
  66. {
  67. .f = &I_right1_73x61,
  68. .b = &I_black_right1_73x61,
  69. },
  70. {
  71. .f = &I_right2_73x61,
  72. .b = &I_black_right2_73x61,
  73. },
  74. {
  75. .f = &I_right3_73x61,
  76. .b = &I_black_right3_73x61,
  77. },
  78. },
  79. .total = 3,
  80. };
  81. const DolphinFrame right_up = {
  82. .frames =
  83. {
  84. {
  85. .f = &I_rightup1_73x61,
  86. .b = &I_black_rightup1_73x61,
  87. },
  88. {
  89. .f = &I_rightup2_73x61,
  90. .b = &I_black_rightup2_73x61,
  91. },
  92. },
  93. .total = 2,
  94. };
  95. const DolphinFrame right_down = {
  96. .frames =
  97. {
  98. {
  99. .f = &I_rightdown1_73x61,
  100. .b = &I_black_rightdown1_73x61,
  101. },
  102. {
  103. .f = &I_rightdown2_73x61,
  104. .b = &I_black_rightdown2_73x61,
  105. },
  106. },
  107. .total = 2,
  108. };
  109. const DolphinFrame right_left = {
  110. .frames =
  111. {
  112. {
  113. .f = &I_rightleft1_73x61,
  114. .b = &I_black_rightleft1_73x61,
  115. },
  116. {
  117. .f = &I_rightleft2_73x61,
  118. .b = &I_black_rightleft2_73x61,
  119. },
  120. },
  121. .total = 2,
  122. };
  123. const DolphinFrame down = {
  124. .frames =
  125. {
  126. {
  127. .f = &I_down1_73x61,
  128. .b = &I_black_down1_73x61,
  129. },
  130. {
  131. .f = &I_down2_73x61,
  132. .b = &I_black_down2_73x61,
  133. },
  134. },
  135. .total = 2,
  136. };
  137. const DolphinFrame down_up = {
  138. .frames =
  139. {
  140. {
  141. .f = &I_downup1_73x61,
  142. .b = &I_black_downup1_73x61,
  143. },
  144. {
  145. .f = &I_downup2_73x61,
  146. .b = &I_black_downup2_73x61,
  147. },
  148. {
  149. .f = &I_downup3_73x61,
  150. .b = &I_black_downup3_73x61,
  151. },
  152. },
  153. .total = 3,
  154. };
  155. const DolphinFrame down_left = {
  156. .frames =
  157. {
  158. {
  159. .f = &I_downleft1_73x61,
  160. .b = &I_black_downleft1_73x61,
  161. },
  162. {
  163. .f = &I_downleft2_73x61,
  164. .b = &I_black_downleft2_73x61,
  165. },
  166. {
  167. .f = &I_downleft3_73x61,
  168. .b = &I_black_downleft3_73x61,
  169. },
  170. },
  171. .total = 3,
  172. };
  173. const DolphinFrame down_right = {
  174. .frames =
  175. {
  176. {
  177. .f = &I_downright1_73x61,
  178. .b = &I_black_downright1_73x61,
  179. },
  180. {
  181. .f = &I_downright2_73x61,
  182. .b = &I_black_downright2_73x61,
  183. },
  184. {
  185. .f = &I_downright3_73x61,
  186. .b = &I_black_downright3_73x61,
  187. },
  188. },
  189. .total = 3,
  190. };
  191. const DolphinFrame left = {
  192. .frames =
  193. {
  194. {
  195. .f = &I_left1_73x61,
  196. .b = &I_black_left1_73x61,
  197. },
  198. {
  199. .f = &I_left2_73x61,
  200. .b = &I_black_left2_73x61,
  201. },
  202. {
  203. .f = &I_left3_73x61,
  204. .b = &I_black_left3_73x61,
  205. },
  206. },
  207. .total = 3,
  208. };
  209. const DolphinFrame left_up = {
  210. .frames =
  211. {
  212. {
  213. .f = &I_leftup1_73x61,
  214. .b = &I_black_leftup1_73x61,
  215. },
  216. {
  217. .f = &I_leftup2_73x61,
  218. .b = &I_black_leftup2_73x61,
  219. },
  220. },
  221. .total = 2,
  222. };
  223. const DolphinFrame left_down = {
  224. .frames =
  225. {
  226. {
  227. .f = &I_leftdown1_73x61,
  228. .b = &I_black_leftdown1_73x61,
  229. },
  230. {
  231. .f = &I_leftdown2_73x61,
  232. .b = &I_black_leftdown2_73x61,
  233. },
  234. },
  235. .total = 2,
  236. };
  237. const DolphinFrame left_right = {
  238. .frames =
  239. {
  240. {
  241. .f = &I_rightleft1_73x61,
  242. .b = &I_black_rightleft1_73x61,
  243. },
  244. {
  245. .f = &I_rightleft2_73x61,
  246. .b = &I_black_rightleft2_73x61,
  247. },
  248. },
  249. .total = 2,
  250. };
  251. const DolphinFrame* frames[4][4] = {
  252. [DirUp] = {[DirUp] = &up, [DirRight] = &up_right, [DirDown] = &up_down, [DirLeft] = &up_left},
  253. [DirRight] =
  254. {[DirUp] = &right_up, [DirRight] = &right, [DirDown] = &right_down, [DirLeft] = &right_left},
  255. [DirDown] =
  256. {[DirUp] = &down_up, [DirRight] = &down_right, [DirDown] = &down, [DirLeft] = &down_left},
  257. [DirLeft] =
  258. {[DirUp] = &left_up, [DirRight] = &left_right, [DirDown] = &left_down, [DirLeft] = &left},
  259. };