blob: b2d75b422164dbd1683f0dbabe68aa0e50981914 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef OXEN_DATA_STORE_H
#define OXEN_DATA_STORE_H
#include <stdbool.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;
bool game_finished;
} data_store_t;
data_store_t *data_store(void);
#endif // OXEN_DATA_STORE_H
|