2019-08-26 03:59:14 +00:00
|
|
|
|
|
|
|
// this is net.c in the original code
|
|
|
|
|
|
|
|
#include "typedefs.h"
|
|
|
|
#include "network.h"
|
|
|
|
#include "serial.h"
|
|
|
|
#include "input.h"
|
|
|
|
|
|
|
|
short nNetMoveFrames = 0;
|
|
|
|
|
|
|
|
|
|
|
|
void SendGoodbye()
|
|
|
|
{
|
2019-08-31 07:47:15 +00:00
|
|
|
bSendBye = kTrue;
|
|
|
|
UpdateInputs();
|
2019-08-26 03:59:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void UpdateNetInputs()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
int InitNet(short nSocket, int nPlayers)
|
|
|
|
{
|
2019-08-31 07:47:15 +00:00
|
|
|
return 0;
|
2019-08-26 03:59:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int InitSerial()
|
|
|
|
{
|
2019-08-31 07:47:15 +00:00
|
|
|
return 1;
|
2019-08-26 03:59:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void AbortNetworkPlay()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void UnInitNet()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|