aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/sprites.h
blob: cd71e7c7d534ebaf61d24ffa439538b384af8750 (plain)
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 */