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"
|
|
|
|
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
int myconnectindex, numplayers;
|
|
|
|
int connecthead, connectpoint2[MAXMULTIPLAYERS];
|
2006-04-23 06:44:19 +00:00
|
|
|
char syncstate = 0;
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
int 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
|
|
|
}
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
int initmultiplayersparms(int 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
|
|
|
}
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
int 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
|
|
|
}
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
void initmultiplayers(int 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
|
|
|
}
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
void setpackettimeout(int datimeoutcount, int daresendagaincount)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void uninitmultiplayers(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void sendlogon(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void sendlogoff(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
int 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
|
|
|
}
|
|
|
|
|
|
|
|
void setsocket(short newsocket)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
void sendpacket(int other, char *bufptr, int messleng)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
int getpacket(int *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
|
|
|
}
|
|
|
|
|
|
|
|
void flushpackets(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2007-12-12 17:42:14 +00:00
|
|
|
void genericmultifunction(int other, char *bufptr, int messleng, int command)
|
2006-04-23 06:44:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|