From a873df7a66dc1831cee4eae2d998abed88246268 Mon Sep 17 00:00:00 2001 From: fschildt Date: Thu, 16 Oct 2025 15:33:06 +0200 Subject: renderer: introduce text rendering --- src/games/minesweeper/Minesweeper.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/games/minesweeper/Minesweeper.hpp') diff --git a/src/games/minesweeper/Minesweeper.hpp b/src/games/minesweeper/Minesweeper.hpp index 24672f0..fbdcb30 100644 --- a/src/games/minesweeper/Minesweeper.hpp +++ b/src/games/minesweeper/Minesweeper.hpp @@ -4,8 +4,6 @@ #include #include -#include - class Minesweeper : public Game { public: @@ -21,11 +19,11 @@ public: bool Update(std::vector& events) override; + +private: void ProcessEventDuringPause(SDL_Event& event); void ProcessEventDuringResume(SDL_Event& event); - -private: void Reset(Difficulty Difficulty); void InitIsMineBitmap(int32_t mine_count); void InitAdjacentMineCounters(); @@ -50,7 +48,6 @@ private: private: static constexpr int32_t max_map_height = 32; static constexpr int32_t max_map_width = 32; - static constexpr const char* s_font_filepath = "./fonts/dejavu_ttf/DejaVuSans.ttf"; private: -- cgit v1.2.3