Moved font into the resource directory
This commit is contained in:
parent
f90c60b6ac
commit
ed6e0c2bf2
2
game.cpp
2
game.cpp
|
@ -36,7 +36,7 @@ Game::~Game()
|
||||||
bool Game::init()
|
bool Game::init()
|
||||||
{
|
{
|
||||||
background = DrawUtils::load("background.bmp");
|
background = DrawUtils::load("background.bmp");
|
||||||
font = TTF_OpenFont("LiberationSans-Regular.ttf", 12);
|
font = TTF_OpenFont("res/LiberationSans-Regular.ttf", 12);
|
||||||
attacker_icon = DrawUtils::load("attacker_icon.bmp");
|
attacker_icon = DrawUtils::load("attacker_icon.bmp");
|
||||||
defender_icon = DrawUtils::load("defender_icon.bmp");
|
defender_icon = DrawUtils::load("defender_icon.bmp");
|
||||||
producer_icon = DrawUtils::load("producer_icon.bmp");
|
producer_icon = DrawUtils::load("producer_icon.bmp");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user