blob: 71fedae8c6d9bf5a36b8cc50e02eb7e212ca8692 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef OXEN_DATA_STORE_H
#define OXEN_DATA_STORE_H
#include "player.h"
#include "table_stacks.h"
#include "hand.h"
typedef struct
{
char nickname[MAX_PLAYER_NAME_LENGTH+1];
player_id_t own_player_id;
player_list_t player_list;
table_stacks_t table_stacks;
hand_t hand;
uint8_t stack_index;
card selected_card;
} data_store_t;
data_store_t *data_store(void);
#endif // OXEN_DATA_STORE_H
|