Initial commit
This commit is contained in:
13
include/util.h
Normal file
13
include/util.h
Normal file
@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace util {
|
||||
|
||||
SDL_Texture* load_img(SDL_Renderer* renderer, const std::string& path);
|
||||
TTF_Font* load_font(const std::string& path, int pt);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user