summaryrefslogtreecommitdiff
path: root/src/texture.h
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-02-19 10:02:23 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-02-19 10:02:23 +0300
commita236f83d8cd680f956677ac6d65f0a953036e144 (patch)
tree21bc959204fb8082c475890d0d8722b296d0c140 /src/texture.h
parent2d74b68ac770601ef9e4d621752f9229c56cb2f3 (diff)
downloadtakethis-a236f83d8cd680f956677ac6d65f0a953036e144.tar
takethis-a236f83d8cd680f956677ac6d65f0a953036e144.tar.xz
takethis-a236f83d8cd680f956677ac6d65f0a953036e144.zip
Room can be loaded.
Diffstat (limited to 'src/texture.h')
-rw-r--r--src/texture.h23
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