#include "animation.h" static const Animation animations[] = { /* animation_player_walk_left */ { { { 0, 16, 16, 16 }, { 16, 16, 16, 16 }, { 16, 16, 16, 16 }, { 0, 16, 16, 16 }, { 32, 16, 16, 16 }, { 32, 16, 16, 16 } }, 6, 3 }, /* animation_player_walk_right */ { { { 0, 0, 16, 16 }, { 16, 0, 16, 16 }, { 16, 0, 16, 16 }, { 0, 0, 16, 16 }, { 32, 0, 16, 16 }, { 32, 0, 16, 16 } }, 6, 3 }, /* animation_player_idle_left */ { { { 0, 16, 16, 16 }, }, 1, 1 }, /* animation__player_idle_right */ { { { 0, 0, 16, 16 }, }, 1, 1 }, /* animation_enemy_bullet_explode */ { { { 24, 0, 7, 7 }, { 31, 0, 7, 7 }, { 38, 0, 7, 7 } }, 3, 5 }, /* animation_player_bullet_explode */ { { { 30, 15, 15, 15 }, { 45, 15, 15, 15 }, { 60, 15, 15, 15 }, { 75, 15, 15, 15 }, { 90, 15, 15, 15 }, { 105, 15, 15, 15 }, { 120, 15, 15, 15 }, }, 7, 1 }, /* animation_heart_break */ { { { 72, 72, 7, 7 }, { 79, 72, 7, 7 }, { 86, 72, 7, 7 }, { 93, 72, 7, 7 }, { 100, 72, 7, 7 }, { 107, 72, 7, 7 } }, 6, 3 }, /* animation_spawn */ { { { 133, 60, 15, 6 }, { 133, 60, 15, 6 }, { 133, 60, 15, 6 }, { 133, 60, 15, 6 }, { 133, 66, 15, 6 }, { 148, 60, 15, 6 }, { 148, 66, 15, 6 }, { 148, 72, 15, 6 }, }, 8, 5 }, /* animation_fade */ { { { 0, 60, 10, 10 }, { 10, 60, 10, 10 }, { 20, 60, 10, 10 }, { 30, 60, 10, 10 }, { 40, 60, 10, 10 }, { 50, 60, 10, 10 }, { 60, 60, 10, 10 }, { 70, 60, 10, 10 } }, 8, 5 } }; const Animation* get_animation(Animation_ID id) { return &animations[id]; }