diff options
| author | Charlie Blake | 2018-06-26 10:42:19 +0100 |
|---|---|---|
| committer | GitHub | 2018-06-26 10:42:19 +0100 |
| commit | 3deb640852b04d8ea21bc777efe72e95e73b9070 (patch) | |
| tree | df43bd847c85ca4e6bd9abf70340de802f5af265 /src/main/game/sol_rules.h | |
| parent | Merge pull request #68 from thecharlesblake/full-streamliner-res (diff) | |
| parent | Correct face up rules parsing bug (diff) | |
| download | metasol-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.h | 6 |
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 |
