#ifndef UTIL_H #define UTIL_H #include #include #include #include #include "sdl.h" void wrap(int& x, int& y); font_ptr loadFont(int size); std::string getDataFile(); texture_ptr loadImage(SDL_Renderer* renderer, std::string file); void applyTexture(SDL_Renderer* renderer, SDL_Texture* tex, int x, int y); #endif