Home
last modified time | relevance | path

Searched refs:rottcom (Results 1 – 4 of 4) sorted by relevance

/dports/games/rottdc/rottdc-1.0-2/rott/
H A Drt_com.c54 rottcom_t * rottcom; variable
77 rottcom->remotenode = -1; in ReadUDPPacket()
129 rottcom->ticstep = 1; in InitROTTNET()
130 rottcom->gametype = 1; in InitROTTNET()
153 rottcom->client = 0; in InitROTTNET()
155 rottcom->client = 1; in InitROTTNET()
224 rottcom->command=CMD_GET; in ReadPacket()
241 crc=CalculateCRC (&rottcom->data[0], rottcom->datalength-sizeof(word)); in ReadPacket()
244 sentcrc=*((word *)(&rottcom->data[rottcom->datalength-sizeof(word)])); in ReadPacket()
261 memcpy(&ROTTpacket[0], &rottcom->data[0], rottcom->datalength); in ReadPacket()
[all …]
H A Drottnet.h85 extern rottcom_t rottcom;
96 extern rottcom_t * rottcom;
H A Drt_net.c179 if (rottcom->client==0) in ConsoleIsServer()
221 controldivisor=rottcom->ticstep; in InitializeGameCommands()
228 consoleplayer=rottcom->consoleplayer; in InitializeGameCommands()
232 if (rottcom->client==0) in InitializeGameCommands()
804 ProcessPacket(&ROTTpacket[0], rottcom->remotenode); in CheckForPacket()
810 …RequestPacket (LastCommandTime[rottcom->remotenode]+controldivisor, rottcom->remotenode, controldi… in CheckForPacket()
2311 … printf("Received GameDescription from player#%ld\n",(long int)rottcom->remotenode); in SetupCheckForPacket()
2316 … printf("Received GameAcknowledgement from player#%ld\n",(long int)rottcom->remotenode); in SetupCheckForPacket()
2321 … printf("Received GameMasterPacket from player#%ld\n",(long int)rottcom->remotenode); in SetupCheckForPacket()
2326 … printf("Received StartGamePacket from player#%ld\n",(long int)rottcom->remotenode); in SetupCheckForPacket()
H A Drt_main.c680 numplayers = rottcom->numplayers; in CheckCommandLineParameters()
686 if (rottcom->gametype==NETWORK_GAME) in CheckCommandLineParameters()