mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-29 16:31:43 +00:00
- Replace every line that just contains spaces or tabs with an empty line feed in all files except 3rd party libraries.
This commit is contained in:
parent
1b077251e3
commit
9bbb54fe2e
370 changed files with 2163 additions and 2163 deletions
|
@ -172,7 +172,7 @@ FString GetPlayerName(int num)
|
|||
SOCKET UDPsocket (void)
|
||||
{
|
||||
SOCKET s;
|
||||
|
||||
|
||||
// allocate a socket
|
||||
s = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
||||
if (s == INVALID_SOCKET)
|
||||
|
@ -193,7 +193,7 @@ void BindToLocalPort (SOCKET s, u_short port)
|
|||
address.sin_family = AF_INET;
|
||||
address.sin_addr.s_addr = INADDR_ANY;
|
||||
address.sin_port = htons(port);
|
||||
|
||||
|
||||
v = bind (s, (sockaddr *)&address, sizeof(address));
|
||||
if (v == SOCKET_ERROR)
|
||||
I_FatalError ("BindToPort: %s", neterror ());
|
||||
|
@ -459,7 +459,7 @@ void StartNetwork (bool autoPort)
|
|||
|
||||
netgame = true;
|
||||
multiplayer = true;
|
||||
|
||||
|
||||
// create communication socket
|
||||
mysocket = UDPsocket ();
|
||||
BindToLocalPort (mysocket, autoPort ? 0 : DOOMPORT);
|
||||
|
@ -892,7 +892,7 @@ bool JoinGame (int i)
|
|||
SendAbort();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
StartScreen->NetMessage ("Total players: %d", doomcom.numnodes);
|
||||
|
||||
doomcom.id = DOOMCOM_ID;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue