From 52f95177eb8050f073a3d65413feb16cfce93baa Mon Sep 17 00:00:00 2001 From: Mario Kilies Date: Tue, 25 Jan 2011 13:14:17 +0100 Subject: Removed awkward pnoc_t and refactored its contents to the new player_list_entry_t. --- src/pnoc.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/pnoc.h (limited to 'src/pnoc.h') diff --git a/src/pnoc.h b/src/pnoc.h deleted file mode 100644 index 8ef8606..0000000 --- a/src/pnoc.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef OXEN_PNOC_H -#define OXEN_PNOC_H - -#include "card.h" - -#define MAX_PLAYER_NAME_LENGTH 10 - -typedef struct -{ - uint8_t player_id; - char player_name[MAX_PLAYER_NAME_LENGTH+1]; // Player name length + 1 for string termination - card open_card; -} pnoc_t; - -void pnoc_sort(pnoc_t pnoc[], const uint8_t num_tuples); - -#endif // OXEN_PNOC_H -- cgit v1.2.3