2006-04-23 06:44:19 +00:00
|
|
|
// "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 (jonof@edgenetwk.com)
|
|
|
|
|
|
|
|
|
|
|
|
#include "mmulti.h"
|
|
|
|
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
int32_t myconnectindex, numplayers;
|
|
|
|
int32_t connecthead, connectpoint2[MAXMULTIPLAYERS];
|
2006-04-23 06:44:19 +00:00
|
|
|
char syncstate = 0;
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
int32_t isvalidipaddress(char *st)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
2006-04-24 19:04:22 +00:00
|
|
|
return 0;
|
2006-04-23 06:44:19 +00:00
|
|
|
}
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
int32_t initmultiplayersparms(int32_t argc, char **argv)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
2006-04-24 19:04:22 +00:00
|
|
|
return 0;
|
2006-04-23 06:44:19 +00:00
|
|
|
}
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
int32_t initmultiplayerscycle(void)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
2006-04-24 19:04:22 +00:00
|
|
|
return 0;
|
2006-04-23 06:44:19 +00:00
|
|
|
}
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
void mmulti_initmultiplayers(int32_t argc, char **argv, char damultioption, char dacomrateoption, char dapriority)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
2006-04-24 19:04:22 +00:00
|
|
|
numplayers = 1; myconnectindex = 0;
|
|
|
|
connecthead = 0; connectpoint2[0] = -1;
|
2006-04-23 06:44:19 +00:00
|
|
|
}
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
void mmulti_setpackettimeout(int32_t datimeoutcount, int32_t daresendagaincount)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
void mmulti_uninitmultiplayers(void)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2009-01-10 07:38:50 +00:00
|
|
|
void mmulti_sendlogon(void)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2009-01-10 07:38:50 +00:00
|
|
|
void mmulti_sendlogoff(void)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2009-01-10 07:38:50 +00:00
|
|
|
int32_t mmulti_getoutputcirclesize(void)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
2006-04-24 19:04:22 +00:00
|
|
|
return 0;
|
2006-04-23 06:44:19 +00:00
|
|
|
}
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
void mmulti_sendpacket(int32_t other, char *bufptr, int32_t messleng)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
int32_t mmulti_getpacket(int32_t *other, char *bufptr)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
2006-04-24 19:04:22 +00:00
|
|
|
return 0;
|
2006-04-23 06:44:19 +00:00
|
|
|
}
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
void mmulti_flushpackets(void)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2009-01-10 07:38:50 +00:00
|
|
|
void mmulti_generic(int32_t other, char *bufptr, int32_t messleng, int32_t command)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|