From: Brian Bosak Date: Fri, 9 Aug 2013 16:58:22 +0000 (-0500) Subject: Added idwfind protocol support X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=424a94e694259496e2f8eca4babc8d1067db8e56;p=xonotic%2Fdarkplaces.git Added idwfind protocol support --- 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 \