aboutsummaryrefslogtreecommitdiff
path: root/src/games/tetris/Tetris.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/games/tetris/Tetris.hpp')
-rw-r--r--src/games/tetris/Tetris.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/games/tetris/Tetris.hpp b/src/games/tetris/Tetris.hpp
index 03966fd..7f48e37 100644
--- a/src/games/tetris/Tetris.hpp
+++ b/src/games/tetris/Tetris.hpp
@@ -31,6 +31,10 @@ private:
private:
+ static constexpr Color s_text_color {0.9f, 0.9f, 0.9f, 1.0f};
+ static constexpr float s_text_z {10.0f};
+ static constexpr size_t s_frame_strings_capcity {32};
+
Font m_font;
Board m_board;
Tetromino m_active_tetromino;
@@ -43,6 +47,8 @@ private:
int32_t m_level = 0;
int32_t m_softdrop_counter = 0;
int32_t m_highscore = 0;
+
+ std::vector<std::u32string> m_frame_strings;
};