provide stubs for the client-only functions (they might prove useful in the

server later anyway). this fixes nq-server's segs
This commit is contained in:
Bill Currie 2002-01-19 04:37:47 +00:00
parent 6af9a5d8e6
commit a78ea1464b

View file

@ -425,6 +425,26 @@ C_ProcessInput (void)
} }
} }
void
C_KeyEvent (knum_t key, short unicode, qboolean down)
{
}
void
C_DrawConsole (int lines)
{
}
void
C_CheckResize (void)
{
}
void
C_NewMap (void)
{
}
static general_funcs_t plugin_info_general_funcs = { static general_funcs_t plugin_info_general_funcs = {
C_Init, C_Init,
C_Shutdown, C_Shutdown,
@ -434,10 +454,10 @@ static general_data_t plugin_info_general_data;
static console_funcs_t plugin_info_console_funcs = { static console_funcs_t plugin_info_console_funcs = {
C_Print, C_Print,
C_ProcessInput, C_ProcessInput,
0, C_KeyEvent,
0, C_DrawConsole,
0, C_CheckResize,
0, C_NewMap,
}; };
static console_data_t plugin_info_console_data; static console_data_t plugin_info_console_data;