summaryrefslogtreecommitdiff
path: root/src/player.h
blob: e1311cd609f1e8c567fa04f94bc195fda8236295 (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_PLAYER_NAME_LENGTH	10
#define MAX_PLAYERS 10

#include <stdint.h>

typedef struct
{
	uint8_t count;
	char* names[MAX_PLAYERS];
} player_list;

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

#endif // OXEN_PLAYER_H