From c7181ee943069bde7f5d468d11ee63c3a535980d Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Tue, 25 Jan 2011 16:12:34 +0100 Subject: finished implementing play_cards function for client/server; added new message type next_action which indicates whether the game is finished or the server will deal new cards --- src/data_store.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/data_store.h') diff --git a/src/data_store.h b/src/data_store.h index 71fedae..b2d75b4 100644 --- a/src/data_store.h +++ b/src/data_store.h @@ -1,6 +1,7 @@ #ifndef OXEN_DATA_STORE_H #define OXEN_DATA_STORE_H +#include #include "player.h" #include "table_stacks.h" #include "hand.h" @@ -14,6 +15,7 @@ typedef struct hand_t hand; uint8_t stack_index; card selected_card; + bool game_finished; } data_store_t; data_store_t *data_store(void); -- cgit v1.2.3