diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/util.h b/util.h new file mode 100644 index 0000000..365a759 --- /dev/null +++ b/util.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #include <SDL.h> | ||
2 | #include <SDL_ttf.h> | ||
3 | #include <string> | ||
4 | |||
5 | #ifndef UTIL_H | ||
6 | #define UTIL_H | ||
7 | |||
8 | void wrap(int* x, int* y); | ||
9 | TTF_Font* loadFont(int size); | ||
10 | const char* getDataFile(); | ||
11 | SDL_Texture* loadImage(SDL_Renderer* renderer, std::string file); | ||
12 | void applyTexture(SDL_Renderer* renderer, SDL_Texture* tex, int x, int y); | ||
13 | |||
14 | #endif \ No newline at end of file | ||