aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/sol_rules.h
diff options
context:
space:
mode:
authorCharlie Blake2018-06-26 10:42:19 +0100
committerGitHub2018-06-26 10:42:19 +0100
commit3deb640852b04d8ea21bc777efe72e95e73b9070 (patch)
treedf43bd847c85ca4e6bd9abf70340de802f5af265 /src/main/game/sol_rules.h
parentMerge pull request #68 from thecharlesblake/full-streamliner-res (diff)
parentCorrect face up rules parsing bug (diff)
downloadmetasol-3deb640852b04d8ea21bc777efe72e95e73b9070.tar.gz
metasol-3deb640852b04d8ea21bc777efe72e95e73b9070.zip

Merge pull request #69 from thecharlesblake/correct-klondike

Correct klondike

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