From ed6e0c2bf2e4efbe613be52cff292dcfc6e19b12 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Sun, 3 Jul 2011 16:46:16 -0400 Subject: [PATCH] Moved font into the resource directory --- game.cpp | 2 +- .../LiberationSans-Regular.ttf | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename LiberationSans-Regular.ttf => res/LiberationSans-Regular.ttf (100%) diff --git a/game.cpp b/game.cpp index ce38d8c..d28bccc 100644 --- a/game.cpp +++ b/game.cpp @@ -36,7 +36,7 @@ Game::~Game() bool Game::init() { 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"); defender_icon = DrawUtils::load("defender_icon.bmp"); producer_icon = DrawUtils::load("producer_icon.bmp"); diff --git a/LiberationSans-Regular.ttf b/res/LiberationSans-Regular.ttf similarity index 100% rename from LiberationSans-Regular.ttf rename to res/LiberationSans-Regular.ttf