From ffd335aca284c286030e2b26f1a02a0441748f46 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Tue, 27 Aug 2013 11:39:37 -0400 Subject: Started rewriting game from scratch with SDL2 Only the title screen is currently implemented --- util.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 util.h (limited to 'util.h') diff --git a/util.h b/util.h new file mode 100644 index 0000000..365a759 --- /dev/null +++ b/util.h @@ -0,0 +1,14 @@ +#include +#include +#include + +#ifndef UTIL_H +#define UTIL_H + +void wrap(int* x, int* y); +TTF_Font* loadFont(int size); +const char* getDataFile(); +SDL_Texture* loadImage(SDL_Renderer* renderer, std::string file); +void applyTexture(SDL_Renderer* renderer, SDL_Texture* tex, int x, int y); + +#endif \ No newline at end of file -- cgit 1.4.1