From 69f46d34e9c6a25c63668423fd984d07c1f099a3 Mon Sep 17 00:00:00 2001 From: fschildt Date: Wed, 10 Dec 2025 19:19:32 +0100 Subject: use "" include over <> include for own code --- src/games/minesweeper/Minesweeper.cpp | 12 ++---------- src/games/minesweeper/Minesweeper.hpp | 6 +++--- 2 files changed, 5 insertions(+), 13 deletions(-) (limited to 'src/games/minesweeper') diff --git a/src/games/minesweeper/Minesweeper.cpp b/src/games/minesweeper/Minesweeper.cpp index 5cc3215..3638af8 100644 --- a/src/games/minesweeper/Minesweeper.cpp +++ b/src/games/minesweeper/Minesweeper.cpp @@ -1,5 +1,5 @@ -#include -#include +#include "games/minesweeper/Minesweeper.hpp" +#include "renderer/Renderer.hpp" #include @@ -7,14 +7,6 @@ #include -// Todo: -// - First click may not be a mine! -// - Show current time spent -// - Show current flags/mines left -// - Permit uncovering of flagged cell -// - Game Over: Show Highscore for selected difficulty - - static constexpr Color s_mine_count_colors[8] = { {0.0f, 0.0f, 1.0f, 1.0f}, // Blue {0.0f, 0.5f, 0.0f, 1.0f}, // Green diff --git a/src/games/minesweeper/Minesweeper.hpp b/src/games/minesweeper/Minesweeper.hpp index 1db77ff..9088d10 100644 --- a/src/games/minesweeper/Minesweeper.hpp +++ b/src/games/minesweeper/Minesweeper.hpp @@ -1,8 +1,8 @@ #pragma once -#include -#include -#include +#include "games/Game.hpp" +#include "common/math.hpp" +#include "common/Font.hpp" class Minesweeper : public Game { -- cgit v1.2.3