aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/move.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/game/move.h')
-rw-r--r--src/main/game/move.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/game/move.h b/src/main/game/move.h
index 1e3a9d1..8651d1e 100644
--- a/src/main/game/move.h
+++ b/src/main/game/move.h
@@ -10,13 +10,16 @@
struct move {
enum class mtype : uint8_t {regular, dominance, built_group, stock_to_waste, stock_to_tableau, redeal, null};
- explicit move(mtype, pile::ref = 255 , pile::ref = 255, pile::size_type = 1);
+ explicit move(mtype, pile::ref = 255 , pile::ref = 255, pile::size_type = 1, bool reveal_move_ = false);
friend bool operator==(const move&, const move&);
+ void make_reveal_move();
+
mtype type;
pile::ref from;
pile::ref to;
pile::size_type count;
+ bool reveal_move;
};
#endif //SOLVITAIRE_MOVE_H