#ifndef sprite_h #define sprite_h #include "asset.h" #include "components.h" #include "rect.h" typedef enum { sprite_player_bullet_left = 0, sprite_player_bullet_right, sprite_player_bullet_up, sprite_player_bullet_down, sprite_skull_left, sprite_skull_right, sprite_skull_debris_1, sprite_skull_debris_2, sprite_skull_debris_3, sprite_skull_debris_4, sprite_skull_debris_5, sprite_enemy_bullet } Sprite_ID; typedef struct { Asset_ID bitmap; Rectangle rect; } Sprite; void init_csprite(CSprite* sprite, Sprite_ID id); #endif