diff options
Diffstat (limited to 'src/texture.h')
-rw-r--r-- | src/texture.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/texture.h b/src/texture.h new file mode 100644 index 0000000..48ecdeb --- /dev/null +++ b/src/texture.h @@ -0,0 +1,23 @@ +#ifndef TAKETHIS_INCLUDED_TEXTURE +#define TAKETHIS_INCLUDED_TEXTURE + + +#include <SDL2/SDL.h> + + +extern const SDL_Rect tt_texture_floor; +extern const SDL_Rect tt_texture_corner_lu; +extern const SDL_Rect tt_texture_corner_ru; +extern const SDL_Rect tt_texture_corner_ld; +extern const SDL_Rect tt_texture_corner_rd; +extern const SDL_Rect tt_texture_wall_l; +extern const SDL_Rect tt_texture_wall_r; +extern const SDL_Rect tt_texture_wall_u; +extern const SDL_Rect tt_texture_wall_d; +extern const SDL_Rect tt_texture_player; + + +SDL_Texture *tt_texture_load(SDL_Renderer *rdr); + + +#endif |