New fonts
This commit is contained in:
11
src/main.cpp
11
src/main.cpp
@ -580,12 +580,13 @@ int main(int, char **)
|
||||
SDL_GetError());
|
||||
}
|
||||
|
||||
FontAtlas font;
|
||||
font.init("FreeSans.ttf", 24);
|
||||
|
||||
// Load PressStart2P font for loading screen and retro UI elements
|
||||
// Primary UI font (Orbitron) used for major UI text: buttons, loading, HUD
|
||||
FontAtlas pixelFont;
|
||||
pixelFont.init("assets/fonts/PressStart2P-Regular.ttf", 16);
|
||||
pixelFont.init("assets/fonts/Orbitron.ttf", 22);
|
||||
|
||||
// Secondary font (Exo2) used for longer descriptions, settings, credits
|
||||
FontAtlas font;
|
||||
font.init("assets/fonts/Exo2.ttf", 20);
|
||||
|
||||
ScoreManager scores;
|
||||
std::atomic<bool> scoresLoadComplete{false};
|
||||
|
||||
Reference in New Issue
Block a user