resources fix
This commit is contained in:
@ -610,11 +610,11 @@ int main(int, char **)
|
|||||||
|
|
||||||
// Primary UI font (Orbitron) used for major UI text: buttons, loading, HUD
|
// Primary UI font (Orbitron) used for major UI text: buttons, loading, HUD
|
||||||
FontAtlas pixelFont;
|
FontAtlas pixelFont;
|
||||||
pixelFont.init("assets/fonts/Orbitron.ttf", 22);
|
pixelFont.init(AssetPath::resolveWithBase("assets/fonts/Orbitron.ttf"), 22);
|
||||||
|
|
||||||
// Secondary font (Exo2) used for longer descriptions, settings, credits
|
// Secondary font (Exo2) used for longer descriptions, settings, credits
|
||||||
FontAtlas font;
|
FontAtlas font;
|
||||||
font.init("assets/fonts/Exo2.ttf", 20);
|
font.init(AssetPath::resolveWithBase("assets/fonts/Exo2.ttf"), 20);
|
||||||
|
|
||||||
ScoreManager scores;
|
ScoreManager scores;
|
||||||
std::atomic<bool> scoresLoadComplete{false};
|
std::atomic<bool> scoresLoadComplete{false};
|
||||||
|
|||||||
Reference in New Issue
Block a user