2023-01-01 10:45:09 +00:00
|
|
|
// SONIC ROBO BLAST 2
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) 1998-2000 by DooM Legacy Team.
|
2023-08-01 16:24:07 +00:00
|
|
|
// Copyright (C) 1999-2023 by Sonic Team Junior.
|
2023-01-01 10:45:09 +00:00
|
|
|
//
|
|
|
|
// This program is free software distributed under the
|
|
|
|
// terms of the GNU General Public License, version 2.
|
|
|
|
// See the 'LICENSE' file for more details.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
/// \file server_connection.h
|
|
|
|
/// \brief Server-side part of connection handling
|
|
|
|
|
|
|
|
#ifndef __D_SERVER_CONNECTION__
|
|
|
|
#define __D_SERVER_CONNECTION__
|
|
|
|
|
2023-01-07 14:57:04 +00:00
|
|
|
#include "../command.h"
|
2023-01-01 10:45:09 +00:00
|
|
|
#include "../doomdef.h"
|
|
|
|
#include "../doomtype.h"
|
|
|
|
|
2023-01-07 23:46:12 +00:00
|
|
|
void PT_ClientJoin(SINT8 node);
|
2023-01-01 10:45:09 +00:00
|
|
|
void PT_AskInfoViaMS(SINT8 node);
|
|
|
|
void PT_TellFilesNeeded(SINT8 node);
|
|
|
|
void PT_AskInfo(SINT8 node);
|
|
|
|
|
|
|
|
extern tic_t jointimeout;
|
|
|
|
extern tic_t joindelay;
|
|
|
|
extern char playeraddress[MAXPLAYERS][64];
|
2023-01-07 14:57:04 +00:00
|
|
|
extern consvar_t cv_showjoinaddress, cv_allownewplayer, cv_maxplayers, cv_joindelay, cv_rejointimeout;
|
2023-01-01 10:45:09 +00:00
|
|
|
|
|
|
|
#endif
|