#ifndef _rt_com_public
#define _rt_com_public

//***************************************************************************
//
// RT_COM.C
//
//***************************************************************************

typedef struct
{
   int32 consoleplayer;
   int32 numplayers;
   int32 sender;
   int32 packetlength;
   boolean badpacket;
   int8 * packet;
} comm_type;

extern comm_type comm;

void InitGAMECOM   ( void );
boolean ReadPacket ( void );
void WritePacket   ( void * buffer, int32 length, int32 destination );
void SyncPlayers   ( void );

#endif
