2001-02-19 21:15:25 +00:00
|
|
|
/*
|
|
|
|
sv_ded.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
|
|
|
|
|
|
|
|
*/
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include "config.h"
|
|
|
|
#endif
|
|
|
|
|
2011-12-22 06:44:28 +00:00
|
|
|
static __attribute__ ((used)) const char rcsid[] = "$Id$";
|
2001-02-19 21:15:25 +00:00
|
|
|
|
2003-01-06 18:28:13 +00:00
|
|
|
#include "QF/cdaudio.h"
|
2001-03-27 23:36:02 +00:00
|
|
|
#include "QF/cvar.h"
|
2002-01-16 21:53:42 +00:00
|
|
|
#include "QF/plugin.h"
|
2012-01-05 10:19:37 +00:00
|
|
|
#include "QF/screen.h"
|
2001-08-27 07:13:32 +00:00
|
|
|
|
2001-10-03 19:52:03 +00:00
|
|
|
#include "host.h"
|
2004-03-22 04:22:33 +00:00
|
|
|
#include "server.h"
|
2001-02-19 21:15:25 +00:00
|
|
|
|
|
|
|
client_state_t cl;
|
2001-10-03 19:52:03 +00:00
|
|
|
client_static_t cls;
|
|
|
|
|
|
|
|
keydest_t key_dest = key_game;
|
|
|
|
|
|
|
|
cvar_t *cl_name;
|
|
|
|
cvar_t *cl_writecfg;
|
2002-06-08 23:22:26 +00:00
|
|
|
cvar_t *demo_speed;
|
2001-10-03 19:52:03 +00:00
|
|
|
cvar_t *chase_active;
|
|
|
|
|
|
|
|
int fps_count;
|
2001-10-28 04:23:37 +00:00
|
|
|
int viewentity;
|
2001-10-03 19:52:03 +00:00
|
|
|
|
|
|
|
byte *vid_colormap;
|
|
|
|
|
|
|
|
vec3_t vpn, vright, vup;
|
|
|
|
|
|
|
|
qboolean r_active;
|
|
|
|
qboolean r_force_fullscreen;
|
|
|
|
double r_frametime;
|
|
|
|
qboolean r_inhibit_viewmodel;
|
|
|
|
vec3_t r_origin;
|
|
|
|
qboolean r_paused;
|
|
|
|
entity_t *r_view_model;
|
|
|
|
|
2001-10-23 16:55:23 +00:00
|
|
|
cvar_t *cl_rollangle;
|
|
|
|
cvar_t *cl_rollspeed;
|
2001-10-05 16:08:07 +00:00
|
|
|
|
2001-10-03 19:52:03 +00:00
|
|
|
void
|
|
|
|
CL_UpdateScreen (double realtime)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-01-05 10:19:37 +00:00
|
|
|
struct tex_s *
|
|
|
|
SCR_CaptureBGR (void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2001-10-03 19:52:03 +00:00
|
|
|
void
|
2002-07-31 05:19:03 +00:00
|
|
|
CL_Cmd_ForwardToServer (void)
|
2001-10-03 19:52:03 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
CDAudio_Update (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
CL_Disconnect (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
CL_Disconnect_f (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
CL_EstablishConnection (const char *host)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
2011-12-22 06:44:28 +00:00
|
|
|
CL_Shutdown ()
|
2001-10-03 19:52:03 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2002-06-14 07:55:19 +00:00
|
|
|
void
|
2011-12-22 06:44:28 +00:00
|
|
|
CL_Init (struct cbuf_s *cbuf)
|
2002-06-14 07:55:19 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2001-10-03 19:52:03 +00:00
|
|
|
void
|
|
|
|
CL_InitCvars (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
CL_NextDemo (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
int
|
|
|
|
CL_ReadFromServer (void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
CL_SendCmd (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
CL_StopPlayback (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-01-05 06:50:20 +00:00
|
|
|
VISIBLE void
|
|
|
|
D_FlushCaches (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2001-10-03 19:52:03 +00:00
|
|
|
void
|
2003-04-08 18:45:12 +00:00
|
|
|
IN_ProcessEvents (void)
|
2001-10-03 19:52:03 +00:00
|
|
|
{
|
2001-02-19 21:15:25 +00:00
|
|
|
}
|
|
|
|
|
2001-10-03 19:52:03 +00:00
|
|
|
void
|
2002-08-27 07:16:28 +00:00
|
|
|
Key_WriteBindings (QFile *f)
|
2001-10-03 19:52:03 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
R_DecayLights (double frametime)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
2002-01-03 05:29:38 +00:00
|
|
|
S_Update (const vec3_t origin, const vec3_t v_forward, const vec3_t v_right,
|
2012-02-13 04:44:29 +00:00
|
|
|
const vec3_t v_up, const byte *ambient_sound_level)
|
2001-10-03 19:52:03 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2004-05-04 21:59:17 +00:00
|
|
|
void
|
|
|
|
S_BlockSound (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
S_UnblockSound (void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2004-01-19 07:47:41 +00:00
|
|
|
plugin_t *console_client_PluginInfo (void);
|
|
|
|
plugin_t *
|
2002-01-16 21:53:42 +00:00
|
|
|
console_client_PluginInfo (void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|