From ebe4a92027aabc9c01caf0fbe791d22773abfe75 Mon Sep 17 00:00:00 2001 From: fschildt Date: Sat, 13 Dec 2025 04:12:10 +0100 Subject: snake: add score/highscore --- src/games/tetris/Tetris.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/games/tetris') diff --git a/src/games/tetris/Tetris.cpp b/src/games/tetris/Tetris.cpp index 0fee80a..7273cdd 100644 --- a/src/games/tetris/Tetris.cpp +++ b/src/games/tetris/Tetris.cpp @@ -13,13 +13,6 @@ #include -static std::u32string -int32_to_u32string(int32_t value) -{ - std::string str = std::to_string(value); - return std::u32string(str.begin(), str.end()); -} - Tetris::Tetris() : m_font{s_dejavu_sans_mono_filepath, 22} @@ -172,9 +165,6 @@ Tetris::ReadHighscore() highscore_file_in >> highscore; highscore_file_in.close(); } - else { - SDL_LogInfo(0, "Tetris: cannot open %s for reading", s_tetris_highscore_path); - } return highscore; } -- cgit v1.2.3