summary refs log tree commit diff stats
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h14
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
8void wrap(int* x, int* y);
9TTF_Font* loadFont(int size);
10const char* getDataFile();
11SDL_Texture* loadImage(SDL_Renderer* renderer, std::string file);
12void applyTexture(SDL_Renderer* renderer, SDL_Texture* tex, int x, int y);
13
14#endif \ No newline at end of file