From d39d84dfe8a29e09dcfc6c3a2546f43c3d2eb376 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 2 Mar 2008 15:23:25 +0000 Subject: [PATCH] added svc_trailparticles, svc_pointparticles, and svc_pointparticles1 to the list of svc_ code names for cl_shownet 2 prints git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8179 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 5 ++++- protocol.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cl_parse.c b/cl_parse.c index 46c3c64b..495c0dcd 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -94,6 +94,9 @@ char *svc_strings[128] = "svc_entities", // 57 // [int] deltaframe [int] thisframe [float vector] eye [variable length] entitydata "svc_csqcentities", // 58 // [short] entnum [variable length] entitydata ... [short] 0x0000 "svc_spawnstaticsound2", // 59 // [coord3] [short] samp [byte] vol [byte] aten + "svc_trailparticles", // 60 // [short] entnum [short] effectnum [vector] start [vector] end + "svc_pointparticles", // 61 // [short] effectnum [vector] start [vector] velocity [short] count + "svc_pointparticles1", // 62 // [short] effectnum [vector] start, same as svc_pointparticles except velocity is zero and count is 1 }; char *qw_svc_strings[128] = @@ -2969,7 +2972,7 @@ static void CL_NetworkTimeReceived(double newtime) VectorCopy(cl.mviewangles[0], cl.mviewangles[1]); } -#define SHOWNET(x) if(cl_shownet.integer==2)Con_Printf("%3i:%s\n", msg_readcount-1, x); +#define SHOWNET(x) if(cl_shownet.integer==2)Con_Printf("%3i:%s(%i)\n", msg_readcount-1, x, cmd); //[515]: csqc qboolean CL_VM_Parse_TempEntity (void); diff --git a/protocol.h b/protocol.h index a0f340b9..aeacc388 100644 --- a/protocol.h +++ b/protocol.h @@ -252,7 +252,7 @@ void Protocol_Names(char *buffer, size_t buffersize); #define svc_spawnstaticsound2 59 // [coord3] [short] samp [byte] vol [byte] aten #define svc_trailparticles 60 // [short] entnum [short] effectnum [vector] start [vector] end #define svc_pointparticles 61 // [short] effectnum [vector] start [vector] velocity [short] count -#define svc_pointparticles1 62 // [short] effectnum [vector] start, same as svc_pointparticles except velocity is zero and count is 1 (PROTOCOL_DARKPLACES8) +#define svc_pointparticles1 62 // [short] effectnum [vector] start, same as svc_pointparticles except velocity is zero and count is 1 // // client to server -- 2.39.2