mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
de5d358d32
git-svn-id: https://svn.eduke32.com/eduke32@7139 1a8010ca-5511-0410-912e-c29ae57300e0
102 lines
2.4 KiB
C++
102 lines
2.4 KiB
C++
// "Build Engine & Tools" Copyright (c) 1993-1997 Ken Silverman
|
|
// Ken Silverman's official web site: "http://www.advsys.net/ken"
|
|
// See the included license file "BUILDLIC.TXT" for license info.
|
|
//
|
|
// This file has been modified from Ken Silverman's original release
|
|
// by Jonathon Fowler (jf@jonof.id.au)
|
|
// by the EDuke32 team (development@voidpoint.com)
|
|
|
|
#include "compat.h"
|
|
#include "mmulti.h"
|
|
|
|
|
|
int myconnectindex, numplayers;
|
|
int connecthead, connectpoint2[MAXMULTIPLAYERS] = { -1 };
|
|
unsigned char syncstate = 0;
|
|
|
|
int isvalidipaddress (const char *st)
|
|
{
|
|
UNREFERENCED_PARAMETER(st);
|
|
return 0;
|
|
}
|
|
#if 0 // XXX XXX XXX: causes internal compiler error with gcc 8.2.0, wtf?
|
|
int initmultiplayersparms(int argc, char const * const * argv)
|
|
{
|
|
UNREFERENCED_PARAMETER(argc);
|
|
UNREFERENCED_PARAMETER(argv);
|
|
return 0;
|
|
}
|
|
|
|
int initmultiplayerscycle(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void initmultiplayers(int argc, char const * const * argv, unsigned char damultioption, unsigned char dacomrateoption, unsigned char dapriority)
|
|
{
|
|
UNREFERENCED_PARAMETER(argc);
|
|
UNREFERENCED_PARAMETER(argv);
|
|
UNREFERENCED_PARAMETER(damultioption);
|
|
UNREFERENCED_PARAMETER(dacomrateoption);
|
|
UNREFERENCED_PARAMETER(dapriority);
|
|
|
|
numplayers = 1; myconnectindex = 0;
|
|
connecthead = 0; connectpoint2[0] = -1;
|
|
}
|
|
#endif
|
|
void setpackettimeout(int datimeoutcount, int daresendagaincount)
|
|
{
|
|
UNREFERENCED_PARAMETER(datimeoutcount);
|
|
UNREFERENCED_PARAMETER(daresendagaincount);
|
|
}
|
|
|
|
void uninitmultiplayers(void)
|
|
{
|
|
}
|
|
|
|
void sendlogon(void)
|
|
{
|
|
}
|
|
|
|
void sendlogoff(void)
|
|
{
|
|
}
|
|
|
|
int getoutputcirclesize(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void setsocket(int newsocket)
|
|
{
|
|
UNREFERENCED_PARAMETER(newsocket);
|
|
}
|
|
|
|
void sendpacket(int other, const unsigned char *bufptr, int messleng)
|
|
{
|
|
UNREFERENCED_PARAMETER(other);
|
|
UNREFERENCED_PARAMETER(bufptr);
|
|
UNREFERENCED_PARAMETER(messleng);
|
|
}
|
|
|
|
int getpacket (const int *other, const unsigned char *bufptr)
|
|
{
|
|
UNREFERENCED_PARAMETER(other);
|
|
UNREFERENCED_PARAMETER(bufptr);
|
|
|
|
return 0;
|
|
}
|
|
|
|
void flushpackets(void)
|
|
{
|
|
}
|
|
|
|
void genericmultifunction(int other, const unsigned char *bufptr, int messleng, int command)
|
|
{
|
|
UNREFERENCED_PARAMETER(other);
|
|
UNREFERENCED_PARAMETER(bufptr);
|
|
UNREFERENCED_PARAMETER(messleng);
|
|
UNREFERENCED_PARAMETER(command);
|
|
}
|
|
|
|
|