mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-13 06:01:27 +00:00
ebcebbde5e
git-svn-id: https://svn.eduke32.com/eduke32@7073 1a8010ca-5511-0410-912e-c29ae57300e0
31 lines
1,012 B
C
31 lines
1,012 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;
|
|
|
|
#if 0
|
|
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);
|
|
#endif
|
|
|
|
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, const unsigned char *bufptr, int messleng);
|
|
int getpacket(const int *other, const unsigned char *bufptr);
|
|
void flushpackets(void);
|
|
void genericmultifunction(int other, const unsigned char *bufptr, int messleng, int command);
|
|
int isvalidipaddress(const char *st);
|
|
|
|
#endif // mmulti_h_
|
|
|