summaryrefslogtreecommitdiff
path: root/server/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/game.h')
-rw-r--r--server/game.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/game.h b/server/game.h
index c347a6b..f8d9ff4 100644
--- a/server/game.h
+++ b/server/game.h
@@ -34,6 +34,9 @@ class Game : public boost::enable_shared_from_this<Game> {
int score;
int wind;
+ //! Indexes of tiles that will give tenpai (used after riichi declaration).
+ List<int> tenpai_indexes;
+
//! Prepare for a new round.
void round_start(int w);
@@ -84,6 +87,9 @@ class Game : public boost::enable_shared_from_this<Game> {
//! Claim last discard from pond.
Tile claim();
+ //! Declare riichi.
+ void declare_riichi();
+
//! Make chi from tile.
void make_chi(Tile tile, int target);