From 1ea0a9345cf035ea7b89d34a591fbc64b7971442 Mon Sep 17 00:00:00 2001 From: squee72564 Date: Mon, 8 Jan 2024 21:13:58 -0800 Subject: [PATCH] Removed harder difficulties for now as the solver takes too long when generating a map --- scenes/settings_scene.c | 4 ---- views/minesweeper_game_screen.c | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/scenes/settings_scene.c b/scenes/settings_scene.c index 417d83f..15e6aa7 100644 --- a/scenes/settings_scene.c +++ b/scenes/settings_scene.c @@ -5,8 +5,6 @@ typedef enum { MineSweeperSettingsScreenDifficultyTypeEasy, MineSweeperSettingsScreenDifficultyTypeMedium, MineSweeperSettingsScreenDifficultyTypeHard, - MineSweeperSettingsScreenDifficultyTypeVeryHard, - MineSweeperSettingsScreenDifficultyTypeImpossible, MineSweeperSettingsScreenDifficultyTypeNum, } MineSweeperSettingsScreenDifficultyType; @@ -27,8 +25,6 @@ static char* settings_screen_difficulty_text[MineSweeperSettingsScreenDifficulty "Child", "Boy", "Man", - "God", - "???", }; static void minesweeper_scene_settings_screen_set_difficulty(VariableItem* item) { diff --git a/views/minesweeper_game_screen.c b/views/minesweeper_game_screen.c index de64365..75153c9 100644 --- a/views/minesweeper_game_screen.c +++ b/views/minesweeper_game_screen.c @@ -81,12 +81,10 @@ typedef struct { } MineSweeperGameScreenModel; // Multipliers for ratio of mines to tiles -static const float difficulty_multiplier[5] = { +static const float difficulty_multiplier[3] = { 0.15f, 0.17f, 0.19f, - 0.20f, - 0.21f, }; // Offsets array used consistently when checking surrounding tiles