blob: 0e1fa2e8872d64e82700da02140b0a860b380367 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <SDL.h>
#include <SDL_ttf.h>
#include <string>
#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
|