TETRIS: Use FontConfiguration

This commit is contained in:
2021-01-30 21:35:25 +01:00
parent 73f67a3f47
commit fe675369ea
9 changed files with 73 additions and 69 deletions
+2
View File
@@ -17,6 +17,7 @@ std::shared_ptr< SDLPP::Renderer > g_active_renderer{};
int g_score = 0;
bool g_update_score = false;
bool g_update_colors = false;
bool g_update_3d = false;
bool g_checked_line = false;
bool g_wait_for_anim = false;
bool g_update_size = false;
@@ -51,3 +52,4 @@ std::vector< std::shared_ptr< TetrisPiece > ( * )(
};
std::shared_ptr< SDLPP::Font > g_font{};
std::shared_ptr< SDLPP::FontConfiguration > g_font_config{};