don't need sv_misc anymore

This commit is contained in:
Bill Currie 2001-08-27 22:36:28 +00:00
parent b90ef925b0
commit 330044ec72
3 changed files with 3 additions and 46 deletions

View file

@ -72,7 +72,7 @@ syssv_SRC= sv_sys_unix.c
endif
server_SOURCES= crudefile.c sv_ccmds.c sv_console.c sv_cvar.c sv_ents.c \
sv_init.c sv_main.c sv_misc.c sv_model.c sv_move.c \
sv_init.c sv_main.c sv_model.c sv_move.c \
sv_nchan.c sv_phys.c sv_pr_cmds.c sv_progs.c sv_send.c \
sv_user.c world.c $(syssv_SRC)

View file

@ -55,6 +55,7 @@
#include "bothdefs.h"
#include "buildnum.h"
#include "compat.h"
#include "client.h" //FIXME needed by cls below (for netchan)
#include "game.h"
#include "net.h"
#include "pmove.h"
@ -75,6 +76,7 @@ int host_hunklevel;
netadr_t master_adr[MAX_MASTERS]; // address of group servers
client_t *host_client; // current client
client_static_t cls; //FIXME needed by netchan :/
// DoS protection
// FLOOD_PING, FLOOD_LOG, FLOOD_CONNECT, FLOOD_STATUS, FLOOD_RCON, FLOOD_BAN

View file

@ -1,45 +0,0 @@
/*
sv_misc.c
(description)
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "client.h"
client_static_t cls;
void
Draw_BeginDisc (void)
{
}
void
Draw_EndDisc (void)
{
}