]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Added idwfind protocol support
authorBrian Bosak <webadm@elcnet.servehttp.com>
Fri, 9 Aug 2013 16:58:22 +0000 (11:58 -0500)
committerBrian Bosak <webadm@elcnet.servehttp.com>
Fri, 9 Aug 2013 16:58:22 +0000 (11:58 -0500)
cl_main.c
console.c
makefile.inc

index ec4ca8b64442e207bfcb55cb01abfb05661ad9c8..1840839dfafc38751fa485ffad30c51b4864d7bd 100644 (file)
--- 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
index 983786d12a119611e3cfe76af3f748cedd3ff3a2..b82d9a48b42e5ab01ec4835a63b8e2cc832df9a4 100644 (file)
--- 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);
+
        }
 }
 
index 80ab84b7735c114a653d155b0fdc34305e2b5a27..4254dbc5297ead91d73f66dc301eea4beec44ef9 100644 (file)
@@ -157,7 +157,8 @@ OBJ_COMMON= \
        view.o \
        wad.o \
        world.o \
-       zone.o
+       zone.o \
+       idwmaster_gameroom.c
 
 OBJ_MENU= \
        menu.o \