summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-12-02 02:06:14 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-12-02 02:06:14 +0100
commit088b544805f90515d626b1e140060f7666c94910 (patch)
tree19d091667ce56db566e57d52003f42736ef2a7b7 /common
parentf0ea41ca1566ff56f6812fb3ea8a731f58fde95e (diff)
Added RoundState::current_player;
Diffstat (limited to 'common')
-rw-r--r--common/message.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/message.h b/common/message.h
index 53e6b5e..1d78889 100644
--- a/common/message.h
+++ b/common/message.h
@@ -183,12 +183,18 @@ namespace Message {
players[3] = pl_l;
}
+ //! Players.
Player players[4];
+ //! List of dora/kandora.
Tiles dora;
+ //! List of actions client must return one of.
Actions possible_actions;
+ //! Current player, relative to client. 0 = self, 1 = shimocha and so on.
+ int current_player;
+
template<class Archive>
void serialize(Archive & ar, const unsigned int v) {
ar & players;