diff options
| author | Mario Kilies <MarioKilies@GMX.net> | 2011-01-25 13:28:15 +0100 |
|---|---|---|
| committer | Mario Kilies <MarioKilies@GMX.net> | 2011-01-25 13:28:15 +0100 |
| commit | ec98567cc51fa1d559cf1fe076898b6537053499 (patch) | |
| tree | dfc07fa64a412f6ce1fa0701dc1ce5e9eacf82e7 /src/data_store.h | |
| parent | 52f95177eb8050f073a3d65413feb16cfce93baa (diff) | |
Minor changes. Renamed global.[ch] to data_store.[ch], data_store to data_store_t and datamodel() to data_store().
Diffstat (limited to 'src/data_store.h')
| -rw-r--r-- | src/data_store.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/data_store.h b/src/data_store.h new file mode 100644 index 0000000..afc87bc --- /dev/null +++ b/src/data_store.h @@ -0,0 +1,20 @@ +#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_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 |
