blob: 365a7594a6bbe79f72769779fde7519460d08d25 (
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
|