From 9ea820ab371c7e1c033ab912317ba6096db87caa Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Fri, 12 Jan 2018 16:31:38 +0000 Subject: Add unit tests for global cache --- src/main/game/sol_rules.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/game/sol_rules.h') diff --git a/src/main/game/sol_rules.h b/src/main/game/sol_rules.h index 812e82c..8aae42b 100644 --- a/src/main/game/sol_rules.h +++ b/src/main/game/sol_rules.h @@ -12,6 +12,8 @@ #include "card.h" struct sol_rules { + sol_rules(); + // Tableau policies enum class build_policy { NO_BUILD, -- cgit v1.2.1 From 413008eafb6cab3f2e24ca23e7e5c052dd04ddd9 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Thu, 18 Jan 2018 13:57:53 +0000 Subject: Fix sol_rules setup issues --- src/main/game/sol_rules.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main/game/sol_rules.h') diff --git a/src/main/game/sol_rules.h b/src/main/game/sol_rules.h index 8aae42b..067e107 100644 --- a/src/main/game/sol_rules.h +++ b/src/main/game/sol_rules.h @@ -9,8 +9,6 @@ #include -#include "card.h" - struct sol_rules { sol_rules(); @@ -35,7 +33,7 @@ struct sol_rules { spaces_policy spaces_pol; bool move_built_group; bool two_decks; - card::rank_t max_rank; + uint8_t max_rank; bool hole; bool foundations; bool foundations_init_card; -- cgit v1.2.1