From a236f83d8cd680f956677ac6d65f0a953036e144 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Fri, 19 Feb 2021 10:02:23 +0300 Subject: Room can be loaded. --- src/texture.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/texture.h (limited to 'src/texture.h') 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 + + +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 -- cgit v1.2.3