summaryrefslogtreecommitdiff
path: root/server/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/game.h')
-rw-r--r--server/game.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/server/game.h b/server/game.h
index b0ec4a2..c347a6b 100644
--- a/server/game.h
+++ b/server/game.h
@@ -31,9 +31,11 @@ class Game : public boost::enable_shared_from_this<Game> {
Tilegroups open;
Tiles pond;
bool riichi;
+ int score;
+ int wind;
//! Prepare for a new round.
- void round_start();
+ void round_start(int w);
//! Get a state snapshot.
PlayerState get_state();
@@ -102,6 +104,9 @@ class Game : public boost::enable_shared_from_this<Game> {
PlayerNum current_player;
+ PlayerNum round_wind;
+ PlayerNum round_num;
+
int awaiting_players;
Action preceding_action;