1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef SPRITES_H #define SPRITES_H #include <SDL.h> typedef enum { SPRITE_NONE, SPRITE_FLOOR, SPRITE_WALL, SPRITE_HOME, SPRITE_GOAL, SPRITE_BOX, SPRITE_LAST, } sprite_t; void sprites_init(SDL_Renderer * const, SDL_Texture **); SDL_Rect sprites_get_rect(const sprite_t); #endif /* SPRITES_H */