summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-02-28 23:29:25 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-02-28 23:29:25 +0300
commita365de1b0ab91f9c057196a601d96d2aed6e48fb (patch)
tree4c3262c1745337dbd4e6c87525edc0532b517963 /src/globals.h
parent4cfd9c6b96035ca7ccf6444e911b2a908d8500eb (diff)
downloadtakethis-a365de1b0ab91f9c057196a601d96d2aed6e48fb.tar
takethis-a365de1b0ab91f9c057196a601d96d2aed6e48fb.tar.xz
takethis-a365de1b0ab91f9c057196a601d96d2aed6e48fb.zip
o_O
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
new file mode 100644
index 0000000..e4d03a1
--- /dev/null
+++ b/src/globals.h
@@ -0,0 +1,25 @@
+#ifndef TT_INCLUDED_GLOBALS
+#define TT_INCLUDED_GLOBALS
+
+
+#include <SDL2/SDL.h>
+#include <SDL2/SDL_ttf.h>
+#include <SDL2/SDL_mixer.h>
+#include "room.h"
+#include "player.h"
+
+
+extern TTF_Font *ttfont;
+
+extern SDL_Texture *tttxr;
+
+extern SDL_Renderer *ttrdr;
+
+extern Mix_Music *ponpon;
+
+extern tt_room ttmap[256];
+
+extern tt_player ttplayer;
+
+
+#endif