mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-18 18:21:38 +00:00
09f0c239b6
git-svn-id: https://svn.eduke32.com/eduke32@5 1a8010ca-5511-0410-912e-c29ae57300e0
29 lines
903 B
C
29 lines
903 B
C
// mmulti.h
|
|
|
|
#ifndef __mmulti_h__
|
|
#define __mmulti_h__
|
|
|
|
#define MAXMULTIPLAYERS 16
|
|
|
|
extern long myconnectindex, numplayers;
|
|
extern long connecthead, connectpoint2[MAXMULTIPLAYERS];
|
|
extern char syncstate;
|
|
|
|
long initmultiplayersparms(long argc, char **argv);
|
|
long initmultiplayerscycle(void);
|
|
|
|
void initmultiplayers(long argc, char **argv, char damultioption, char dacomrateoption, char dapriority);
|
|
void setpackettimeout(long datimeoutcount, long daresendagaincount);
|
|
void uninitmultiplayers(void);
|
|
void sendlogon(void);
|
|
void sendlogoff(void);
|
|
long getoutputcirclesize(void);
|
|
void setsocket(short newsocket);
|
|
void sendpacket(long other, char *bufptr, long messleng);
|
|
long getpacket(long *other, char *bufptr);
|
|
void flushpackets(void);
|
|
void genericmultifunction(long other, char *bufptr, long messleng, long command);
|
|
long isvalidipaddress(char *st);
|
|
|
|
#endif // __mmulti_h__
|
|
|