summaryrefslogtreecommitdiff
path: root/src/player.h
blob: f162cfacfe7c3a7621b1938c8f37817dd1302d8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;

pnoc_t* get_pnoc_from_playerid(player_list* pl, const uint8_t pid);

#endif // OXEN_PLAYER_H