]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
added svc_trailparticles, svc_pointparticles, and svc_pointparticles1 to
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2008 15:23:25 +0000 (15:23 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2008 15:23:25 +0000 (15:23 +0000)
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
protocol.h

index 46c3c64b40c1eae393e79c8043ac978b3c970ed4..495c0dcda97fe14d2bcc5e36a535d708af7d3a7d 100644 (file)
@@ -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);
index a0f340b935e1359f03564e16bf176317c76b15d8..aeacc38849864912b7a6da58f3eec6c5f4ed760e 100644 (file)
@@ -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