summaryrefslogtreecommitdiff
path: root/src/player.h
blob: aad8fcf0bcd4f5c7b82e5654768ef2dc036e6d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef OXEN_PLAYER_H
#define OXEN_PLAYER_H

#define MAX_PLAYERS 10

#include <stdint.h>
#include "pnoc.h"

typedef struct
{
	uint8_t count;
	pnoc_t players[MAX_PLAYERS];
} player_list;

player_list* create_playerlist(void);
void cleanup_playerlist(player_list* pl);

#endif // OXEN_PLAYER_H