From a78ea1464bfec84d99f090657901370040a03d8a Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 19 Jan 2002 04:37:47 +0000 Subject: [PATCH] provide stubs for the client-only functions (they might prove useful in the server later anyway). this fixes nq-server's segs --- libs/console/server.c | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/libs/console/server.c b/libs/console/server.c index b27b17e62..be6994c77 100644 --- a/libs/console/server.c +++ b/libs/console/server.c @@ -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 = { C_Init, C_Shutdown, @@ -434,10 +454,10 @@ static general_data_t plugin_info_general_data; static console_funcs_t plugin_info_console_funcs = { C_Print, C_ProcessInput, - 0, - 0, - 0, - 0, + C_KeyEvent, + C_DrawConsole, + C_CheckResize, + C_NewMap, }; static console_data_t plugin_info_console_data;