diff options
Diffstat (limited to 'src/sdl/sprites.h')
-rw-r--r-- | src/sdl/sprites.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/sdl/sprites.h b/src/sdl/sprites.h new file mode 100644 index 0000000..a7dbd62 --- /dev/null +++ b/src/sdl/sprites.h @@ -0,0 +1,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; + +SDL_Texture *sprites_init(SDL_Renderer * const, const char * const); + +SDL_Rect sprites_get_rect(const sprite_t); + +#endif /* SPRITES_H */ |