aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/sprites.h
blob: d0f025fb1b732cdbb2b6a1d052e806106a5a2489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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);
void sprites_set_window_icon(SDL_Window * const, const sprite_t);

#endif /* SPRITES_H */