aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorthecharlesblake2018-03-21 10:59:09 +0000
committerthecharlesblake2018-03-21 10:59:09 +0000
commit5cac604a3da9fd1eeb58c8cfab789f81ded34054 (patch)
tree0e7b0a88e6f9d10969b131ea4e9cfaaf8f63503d /src/main
parentUpdate rules parse with built group pol (diff)
downloadmetasol-5cac604a3da9fd1eeb58c8cfab789f81ded34054.tar.gz
metasol-5cac604a3da9fd1eeb58c8cfab789f81ded34054.zip

Update sol rules with built group pol

Diffstat (limited to 'src/main')
-rw-r--r--src/main/game/sol_rules.cpp3
-rw-r--r--src/main/game/sol_rules.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/game/sol_rules.cpp b/src/main/game/sol_rules.cpp
index 40a88a3..592437d 100644
--- a/src/main/game/sol_rules.cpp
+++ b/src/main/game/sol_rules.cpp
@@ -15,12 +15,13 @@ sol_rules::sol_rules() :
build_pol(pol::ANY_SUIT),
spaces_pol(s_pol::ANY),
move_built_group(false),
+ built_group_pol(pol::ANY_SUIT),
two_decks(false),
max_rank(13),
hole(false),
foundations(false),
foundations_init_card(false),
- solve_ord_tab(false),
+ foundations_comp_piles(false),
diagonal_deal(false),
cells(0),
stock_size(0),
diff --git a/src/main/game/sol_rules.h b/src/main/game/sol_rules.h
index d5d1e64..98474fc 100644
--- a/src/main/game/sol_rules.h
+++ b/src/main/game/sol_rules.h
@@ -32,13 +32,14 @@ struct sol_rules {
build_policy build_pol;
spaces_policy spaces_pol;
bool move_built_group;
+ build_policy built_group_pol;
bool two_decks;
uint8_t max_rank;
bool hole;
bool foundations;
bool foundations_init_card;
bool foundations_removable;
- bool solve_ord_tab;
+ bool foundations_comp_piles;
bool diagonal_deal;
uint8_t cells;
uint8_t stock_size;