aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/sol_rules.cpp4
-rw-r--r--src/main/sol_rules.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/main/sol_rules.cpp b/src/main/sol_rules.cpp
index b98e96d..7010af1 100644
--- a/src/main/sol_rules.cpp
+++ b/src/main/sol_rules.cpp
@@ -21,7 +21,9 @@ vector<string> sol_rules::valid_sol_strs = {
"spanish-patience",
"simple-spanish-patience",
"free-cell",
- "simple-free-cell"
+ "simple-free-cell",
+ "canfield",
+ "simple-canfield"
};
bool sol_rules::is_suit(pol bp) {
diff --git a/src/main/sol_rules.h b/src/main/sol_rules.h
index 5699ef1..26eae2e 100644
--- a/src/main/sol_rules.h
+++ b/src/main/sol_rules.h
@@ -16,7 +16,9 @@ public:
SPANISH_PATIENCE,
SIMPLE_SPANISH_PATIENCE,
FREE_CELL,
- SIMPLE_FREE_CELL
+ SIMPLE_FREE_CELL,
+ CANFIELD,
+ SIMPLE_CANFIELD
};
enum class build_order {
NO_BUILD,