From ec98567cc51fa1d559cf1fe076898b6537053499 Mon Sep 17 00:00:00 2001 From: Mario Kilies Date: Tue, 25 Jan 2011 13:28:15 +0100 Subject: Minor changes. Renamed global.[ch] to data_store.[ch], data_store to data_store_t and datamodel() to data_store(). --- src/global.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/global.h (limited to 'src/global.h') diff --git a/src/global.h b/src/global.h deleted file mode 100644 index 14bbc62..0000000 --- a/src/global.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef OXEN_GLOBAL_H -#define OXEN_GLOBAL_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; - -typedef enum -{ - update_type_players = 0x0, - update_type_stacks = 0x1, - update_type_hand = 0x2 -} update_type_t; - -void updated_model(update_type_t type); -data_store* datamodel(); - -#endif // OXEN_GLOBAL_H -- cgit v1.2.3