diff options
| author | Ian Gent | 2018-06-26 16:43:45 +0100 |
|---|---|---|
| committer | Ian Gent | 2018-06-26 16:43:45 +0100 |
| commit | 0798cfe1ecb92996ed7959383dcc4b8b0d51a1d9 (patch) | |
| tree | f6f6dbd927012de317feea6b2bb25d466cff1ac3 /src/main/game/sol_rules.h | |
| parent | first R file (diff) | |
| parent | Merge pull request #71 from thecharlesblake/correct-klondike (diff) | |
| download | metasol-0798cfe1ecb92996ed7959383dcc4b8b0d51a1d9.tar.gz metasol-0798cfe1ecb92996ed7959383dcc4b8b0d51a1d9.zip | |
Merge branch ‘master’ of github.com:thecharlesblake/Solvitaire into ipg
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 |
