aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/sol_rules.h
diff options
context:
space:
mode:
authorCharlie Blake2018-07-14 15:06:04 +0100
committerGitHub2018-07-14 15:06:04 +0100
commit7a2eaa8280ca35a52227084c037b1adb57193291 (patch)
tree64ab75568e80890a6b5b66ab0481dd4ea24d1d24 /src/main/game/sol_rules.h
parentMerge pull request #75 from thecharlesblake/refactor-rules-json (diff)
parentGaps / sequence implementation (diff)
downloadmetasol-7a2eaa8280ca35a52227084c037b1adb57193291.tar.gz
metasol-7a2eaa8280ca35a52227084c037b1adb57193291.zip

Merge pull request #76 from thecharlesblake/add-gaps

Add gaps

Diffstat (limited to 'src/main/game/sol_rules.h')
-rw-r--r--src/main/game/sol_rules.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/game/sol_rules.h b/src/main/game/sol_rules.h
index 8075821..b03d854 100644
--- a/src/main/game/sol_rules.h
+++ b/src/main/game/sol_rules.h
@@ -32,6 +32,11 @@ struct sol_rules {
ALL,
TOP_CARDS
};
+ enum class direction {
+ LEFT,
+ RIGHT,
+ BOTH
+ };
uint8_t tableau_pile_count;
build_policy build_pol;
@@ -54,7 +59,9 @@ struct sol_rules {
uint8_t reserve_size;
bool reserve_stacked;
face_up_policy face_up;
-
+ uint8_t sequence_count;
+ direction sequence_direction;
+ build_policy sequence_build_pol;
};
#endif //SOLVITAIRE_SOL_RULES_H