Quake-2

Quake 2 GPL Source Release
Log | Files | Refs

cl_null.c (617B)


      1 
      2 // cl_null.c -- this file can stub out the entire client system
      3 // for pure dedicated servers
      4 
      5 #include "../qcommon/qcommon.h"
      6 
      7 void Key_Bind_Null_f(void)
      8 {
      9 }
     10 
     11 void CL_Init (void)
     12 {
     13 }
     14 
     15 void CL_Drop (void)
     16 {
     17 }
     18 
     19 void CL_Shutdown (void)
     20 {
     21 }
     22 
     23 void CL_Frame (int msec)
     24 {
     25 }
     26 
     27 void Con_Print (char *text)
     28 {
     29 }
     30 
     31 void Cmd_ForwardToServer (void)
     32 {
     33 	char *cmd;
     34 
     35 	cmd = Cmd_Argv(0);
     36 	Com_Printf ("Unknown command \"%s\"\n", cmd);
     37 }
     38 
     39 void SCR_DebugGraph (float value, int color)
     40 {
     41 }
     42 
     43 void SCR_BeginLoadingPlaque (void)
     44 {
     45 }
     46 
     47 void SCR_EndLoadingPlaque (void)
     48 {
     49 }
     50 
     51 void Key_Init (void)
     52 {
     53 	Cmd_AddCommand ("bind", Key_Bind_Null_f);
     54 }
     55