The original Quake 2 sources as originally released under the GPL license on December 21, 2001.

This commit is contained in:
Travis Bradshaw
2012-01-31 13:57:11 -06:00
commit 372afde46e
371 changed files with 219621 additions and 0 deletions

55
null/cl_null.c Normal file
View File

@@ -0,0 +1,55 @@
// cl_null.c -- this file can stub out the entire client system
// for pure dedicated servers
#include "../qcommon/qcommon.h"
void Key_Bind_Null_f(void)
{
}
void CL_Init (void)
{
}
void CL_Drop (void)
{
}
void CL_Shutdown (void)
{
}
void CL_Frame (int msec)
{
}
void Con_Print (char *text)
{
}
void Cmd_ForwardToServer (void)
{
char *cmd;
cmd = Cmd_Argv(0);
Com_Printf ("Unknown command \"%s\"\n", cmd);
}
void SCR_DebugGraph (float value, int color)
{
}
void SCR_BeginLoadingPlaque (void)
{
}
void SCR_EndLoadingPlaque (void)
{
}
void Key_Init (void)
{
Cmd_AddCommand ("bind", Key_Bind_Null_f);
}