wm: glendy

ref: e19630c0ef62e3e66cc17a438704df07cb2161ce
dir: /netclient.h/

View raw version
typedef struct
{
	char *omsg;
	int ntoken;
	char **tokens;
	int err;
}Netmsg;

extern int srvfd;

extern char *pnick;
extern int pside;
extern int pgame;
extern int popts;

int netmove(int dir);
int netput(int x, int y);
char* netread(void);
void netinit(Game *game);
Netmsg* netmain(Game *game);