Had to update everything to use Config::path_to for Config::BASE_DIR loading.
This commit is contained in:
parent
eda7c30fc1
commit
2ef5a52928
5 changed files with 19 additions and 14 deletions
|
@ -2,6 +2,7 @@
|
|||
#include "shaders.hpp"
|
||||
#include "sound.hpp"
|
||||
#include "textures.hpp"
|
||||
#include "config.hpp"
|
||||
|
||||
namespace sfml {
|
||||
guecs::SpriteTexture Backend::texture_get(const string& name) {
|
||||
|
@ -59,7 +60,7 @@ namespace sfml {
|
|||
theme.BG_COLOR = theme.MID;
|
||||
theme.BORDER_COLOR = theme.LIGHT_DARK;
|
||||
theme.BG_COLOR_DARK = theme.BLACK;
|
||||
theme.FONT_FILE_NAME = "assets/text.ttf";
|
||||
theme.FONT_FILE_NAME = Config::path_to("assets/text.ttf").string();
|
||||
|
||||
return theme;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue