From efd9c1910e18b4fd0f109152a32390d89a26caad Mon Sep 17 00:00:00 2001 From: Brian Bosak Date: Fri, 9 Aug 2013 11:58:22 -0500 Subject: [PATCH] Added idwfind protocol support --- cl_main.c | 4 ++-- console.c | 2 ++ makefile.inc | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cl_main.c b/cl_main.c index ec4ca8b6..1840839d 100644 --- a/cl_main.c +++ b/cl_main.c @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "r_shadow.h" #include "libcurl.h" #include "snd_main.h" - +#include "idwmaster_gameroom.h" // we need to declare some mouse variables here, because the menu system // references them even when on a unix system. @@ -2442,7 +2442,7 @@ void CL_Init (void) Cmd_AddCommand ("stop", CL_Stop_f, "stop recording or playing a demo"); Cmd_AddCommand ("playdemo", CL_PlayDemo_f, "watch a demo file"); Cmd_AddCommand ("timedemo", CL_TimeDemo_f, "play back a demo as fast as possible and save statistics to benchmark.log"); - + IDWMaster_Init(); // Support Client-side Model Index List Cmd_AddCommand ("cl_modelindexlist", CL_ModelIndexList_f, "list information on all models in the client modelindex"); // Support Client-side Sound Index List diff --git a/console.c b/console.c index 983786d1..b82d9a48 100644 --- a/console.c +++ b/console.c @@ -606,8 +606,10 @@ static void Con_MessageMode_f (void) chat_mode = 0; // "say" if(Cmd_Argc() > 1) { + dpsnprintf(chat_buffer, sizeof(chat_buffer), "%s ", Cmd_Args()); chat_bufferlen = strlen(chat_buffer); + } } diff --git a/makefile.inc b/makefile.inc index 80ab84b7..4254dbc5 100644 --- a/makefile.inc +++ b/makefile.inc @@ -157,7 +157,8 @@ OBJ_COMMON= \ view.o \ wad.o \ world.o \ - zone.o + zone.o \ + idwmaster_gameroom.c OBJ_MENU= \ menu.o \ -- 2.39.2