diff options
| author | Charlie Blake | 2018-07-24 16:17:44 +0100 |
|---|---|---|
| committer | GitHub | 2018-07-24 16:17:44 +0100 |
| commit | 6ffee36ea973433723359321dfffd43c65febf88 (patch) | |
| tree | cb3841d736ff353c5d8aea6a4faf81861ef83f5c /src/main/game/sol_rules.cpp | |
| parent | Merge pull request #77 from thecharlesblake/add-accordion (diff) | |
| parent | Fix canfield to pass all unit tests (diff) | |
| download | metasol-6ffee36ea973433723359321dfffd43c65febf88.tar.gz metasol-6ffee36ea973433723359321dfffd43c65febf88.zip | |
Merge pull request #78 from thecharlesblake/add-canfield
Add canfield
Diffstat (limited to 'src/main/game/sol_rules.cpp')
| -rw-r--r-- | src/main/game/sol_rules.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/game/sol_rules.cpp b/src/main/game/sol_rules.cpp index 0ea998e..2778241 100644 --- a/src/main/game/sol_rules.cpp +++ b/src/main/game/sol_rules.cpp @@ -9,6 +9,8 @@ typedef sol_rules::spaces_policy s_pol; typedef sol_rules::stock_deal_type sdt; typedef sol_rules::direction dir; typedef sol_rules::face_up_policy fu; +typedef sol_rules::built_group_type bgt; +typedef sol_rules::foundations_init_type fit; // Note that the 'default' sol rules are set up by parsing the default json // rules description. This initialisation is really just for testing purposes. @@ -16,13 +18,15 @@ sol_rules::sol_rules() : tableau_pile_count(0), build_pol(pol::ANY_SUIT), spaces_pol(s_pol::ANY), - move_built_group(false), + move_built_group(bgt::NO), built_group_pol(pol::ANY_SUIT), + tableau_wraps(false), two_decks(false), max_rank(13), hole(false), foundations_present(false), - foundations_init_card(false), + foundations_init_cards(fit::NONE), + foundations_base(1), foundations_only_comp_piles(false), diagonal_deal(false), cells(0), |
