aboutsummaryrefslogtreecommitdiff
path: root/src/main/sol_rules.h
diff options
context:
space:
mode:
authorthecharlesblake2017-11-07 10:19:41 +0000
committerthecharlesblake2017-11-11 11:07:35 +0000
commit31d05fec2003736e20d05a16c8abdebcd5d5fbf3 (patch)
tree00546e2d9c6567a557998180762e47e5683ad031 /src/main/sol_rules.h
parentAdd Canfield cmdln arg and enum (diff)
downloadmetasol-31d05fec2003736e20d05a16c8abdebcd5d5fbf3.tar.gz
metasol-31d05fec2003736e20d05a16c8abdebcd5d5fbf3.zip

Add Canfield game rules

Diffstat (limited to 'src/main/sol_rules.h')
-rw-r--r--src/main/sol_rules.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/sol_rules.h b/src/main/sol_rules.h
index 26eae2e..aadda69 100644
--- a/src/main/sol_rules.h
+++ b/src/main/sol_rules.h
@@ -33,7 +33,8 @@ public:
HEARTS,
SPADES,
ANY_SUIT,
- SAME_SUIT
+ SAME_SUIT,
+ RED_BLACK
};
static std::vector<std::string> valid_sol_strs;
@@ -44,10 +45,13 @@ public:
int tableau_pile_count;
build_order build_ord;
+ build_policy build_pol;
int max_rank;
bool hole;
bool foundations;
int cells;
+ int reserve_size;
+ int stock_size;
private:
static valid_sol valid_sol_enum(const std::string&);