aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/sol_rules.h
diff options
context:
space:
mode:
authorIan Gent2018-06-26 11:21:28 +0100
committerIan Gent2018-06-26 11:21:28 +0100
commit9ed82b8bbdc1d7b0265a9009950a4dc4916d91bb (patch)
treec98a9fb4bac9d74a059987929f3dfb93f7e5a8c3 /src/main/game/sol_rules.h
parentRaglan deal (diff)
parentMerge pull request #69 from thecharlesblake/correct-klondike (diff)
downloadmetasol-9ed82b8bbdc1d7b0265a9009950a4dc4916d91bb.tar.gz
metasol-9ed82b8bbdc1d7b0265a9009950a4dc4916d91bb.zip

Merge branch ‘master’ of github.com:thecharlesblake/Solvitaire

Diffstat (limited to 'src/main/game/sol_rules.h')
-rw-r--r--src/main/game/sol_rules.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/game/sol_rules.h b/src/main/game/sol_rules.h
index adab00d..a7b9ae6 100644
--- a/src/main/game/sol_rules.h
+++ b/src/main/game/sol_rules.h
@@ -28,6 +28,10 @@ struct sol_rules {
WASTE,
TABLEAU_PILES
};
+ enum class face_up_policy {
+ ALL,
+ TOP_CARDS
+ };
uint8_t tableau_pile_count;
build_policy build_pol;
@@ -49,6 +53,8 @@ struct sol_rules {
bool stock_redeal;
uint8_t reserve_size;
bool reserve_stacked;
+ face_up_policy face_up;
+
};
#endif //SOLVITAIRE_SOL_RULES_H