Dummy functions for mmulti.h for now until OldMP's mmulti is ported

Patch from Striker.

git-svn-id: https://svn.eduke32.com/eduke32@7517 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-08 06:27:05 +00:00 committed by Christoph Oelckers
parent d3c8c4579f
commit 8b3f6b55e3

View file

@ -19,6 +19,25 @@ 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);
#else
static inline int initmultiplayersparms(int argc, char const * const * argv)
{
UNREFERENCED_PARAMETER(argc);
UNREFERENCED_PARAMETER(argv);
return 0;
}
static inline int initmultiplayerscycle(void)
{
return 0;
}
static inline 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);
}
#endif
void setpackettimeout(int datimeoutcount, int daresendagaincount);