summaryrefslogtreecommitdiff
path: root/src/data_store.h
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2011-01-25 16:12:34 +0100
committerReiner Herrmann <reiner@reiner-h.de>2011-01-25 16:12:34 +0100
commitc7181ee943069bde7f5d468d11ee63c3a535980d (patch)
tree56d8dd1128faa734fd0c63f78e1963d9640128d2 /src/data_store.h
parent72504b3fa304c1bf0731fec80d3b85c5481ee0a2 (diff)
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
Diffstat (limited to 'src/data_store.h')
-rw-r--r--src/data_store.h2
1 files changed, 2 insertions, 0 deletions
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 <stdbool.h>
#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);