From 97951fe38059cc4f0757ebe83466327c556b4e2d Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 4 Dec 2010 15:31:03 +0100 Subject: Fill all fields in GameState and PlayerState. --- server/game.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'server/game.h') 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 { 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 { PlayerNum current_player; + PlayerNum round_wind; + PlayerNum round_num; + int awaiting_players; Action preceding_action; -- cgit v1.2.3