aboutsummaryrefslogtreecommitdiff
path: root/src/main/sol_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/sol_rules.h')
-rw-r--r--src/main/sol_rules.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/main/sol_rules.h b/src/main/sol_rules.h
index 56701c7..2a442b8 100644
--- a/src/main/sol_rules.h
+++ b/src/main/sol_rules.h
@@ -14,9 +14,19 @@ struct sol_rules {
SIMPLE_BLACK_HOLE,
SPANISH_PATIENCE
};
- enum class tab_build_order {
+ enum class build_order {
NO_BUILD,
DESCENDING,
+ ASCENDING,
+ BOTH
+ };
+ enum class build_policy {
+ CLUBS,
+ DIAMONDS,
+ HEARTS,
+ SPADES,
+ ANY_SUIT,
+ SAME_SUIT
};
static std::vector<std::string> valid_sol_strs;
@@ -24,7 +34,7 @@ struct sol_rules {
sol_rules(std::string);
int tableau_pile_count;
- tab_build_order build_order;
+ build_order build_order;
int max_rank;
bool hole;
bool foundations;
@@ -33,5 +43,4 @@ private:
static valid_sol valid_sol_enum(const std::string&);
};
-
#endif //SOLVITAIRE_SOL_RULES_H