mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
4f67f8f969
DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4555 1a8010ca-5511-0410-912e-c29ae57300e0
29 lines
982 B
C
29 lines
982 B
C
// mmulti.h
|
|
|
|
#ifndef __mmulti_h__
|
|
#define __mmulti_h__
|
|
|
|
#define MAXMULTIPLAYERS 16
|
|
|
|
extern int myconnectindex, numplayers;
|
|
extern int connecthead, connectpoint2[MAXMULTIPLAYERS];
|
|
extern unsigned char syncstate;
|
|
|
|
int initmultiplayersparms(int argc, char const * const argv[]);
|
|
int initmultiplayerscycle(void);
|
|
|
|
void initmultiplayers(int argc, char const * const argv[], unsigned char damultioption, unsigned char dacomrateoption, unsigned char dapriority);
|
|
void setpackettimeout(int datimeoutcount, int daresendagaincount);
|
|
void uninitmultiplayers(void);
|
|
void sendlogon(void);
|
|
void sendlogoff(void);
|
|
int getoutputcirclesize(void);
|
|
void setsocket(int newsocket);
|
|
void sendpacket(int other, unsigned char *bufptr, int messleng);
|
|
int getpacket(int *other, unsigned char *bufptr);
|
|
void flushpackets(void);
|
|
void genericmultifunction(int other, unsigned char *bufptr, int messleng, int command);
|
|
int isvalidipaddress(const char *st);
|
|
|
|
#endif // __mmulti_h__
|
|
|