diff options
| author | thecharlesblake | 2018-01-09 08:52:22 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-09 08:55:18 +0000 |
| commit | 9efeb027c72460e7d5b6e320819788b7f38d8035 (patch) | |
| tree | c40cc785a94c3e00ccdf3b5ec8ea3646f6b60a96 /src/main/game | |
| parent | Add unit tests for spider (diff) | |
| download | metasol-9efeb027c72460e7d5b6e320819788b7f38d8035.tar.gz metasol-9efeb027c72460e7d5b6e320819788b7f38d8035.zip | |
Add rules parsing for stock-tableau deal & 2 deck
Diffstat (limited to 'src/main/game')
| -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 3e0393d..87266ee 100644 --- a/src/main/game/sol_rules.h +++ b/src/main/game/sol_rules.h @@ -27,12 +27,17 @@ struct sol_rules { NO_BUILD, ANY }; + enum class stock_deal_type { + WASTE, + TABLEAU_PILES + }; uint8_t tableau_pile_count; build_order build_ord; build_policy build_pol; spaces_policy spaces_pol; bool move_built_group; + bool two_decks; card::rank_t max_rank; bool hole; bool foundations; @@ -40,6 +45,7 @@ struct sol_rules { bool diagonal_deal; uint8_t cells; uint8_t stock_size; + stock_deal_type stock_deal_t; uint8_t reserve_size; bool reserve_stacked; }; |
