diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2017-04-27 21:33:13 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2017-04-27 21:33:13 -0400 |
commit | 2de1af94cfa794ae5dd7913c797d673b58289949 (patch) | |
tree | 3acb4e822943efb714ff04d4e88307127e34f52e /src/config.cpp | |
parent | 40f2ab396ccca1a12cc74d18c9758da5bc2f1afc (diff) | |
parent | 00de7a4b0aa48c3cb42c45e0f203902ca034b94c (diff) |
Updated sprites
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.cpp b/src/config.cpp index 844bf39..7f0af00 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -22,6 +22,7 @@ namespace game { float VOLUME_SFX; std::string xmlFolder; + std::string fontFamily; void read(void) { xml.LoadFile("config/settings.xml"); @@ -49,8 +50,8 @@ namespace game { if (xmlFolder.empty()) xmlFolder = "xml/"; - ui::initFonts(); - ui::setFontFace(xml.FirstChildElement("font")->Attribute("path")); + // FONT SETUP + fontFamily = xml.FirstChildElement("font")->Attribute("path"); if (xml.FirstChildElement("debug")) ui::debug = ui::posFlag = true; |