src/Network/Protocol.hh
changeset 241 e95b1602d836
parent 239 550397d9d479
child 263 8c999cf4c182
--- a/src/Network/Protocol.hh	Sun Dec 07 00:46:04 2008 +0000
+++ b/src/Network/Protocol.hh	Sun Dec 07 01:18:59 2008 +0000
@@ -83,14 +83,44 @@
      * Vector   position 
      * float32  radius          
      */
-    NETMSG_PLAYER_DIG           = 0x0302,
+    NETMSG_PLAYER_DIG           = 0x0312,
 
     /*
      * Player changed weapon
      *
      * uint8_t  weapon_index
      */
-    NETMSG_PLAYER_WEAPON_CHANGE = 0x0303,
+    NETMSG_PLAYER_WEAPON_CHANGE = 0x0321,
+    
+    /*
+     * Player threw the rope
+     *
+     * Vector   position
+     * Vector   velocity
+     * float    length
+     */
+    NETMSG_PLAYER_ROPE_THROW    = 0x0331,
+
+    /*
+     * Player rope fixed on to something
+     *
+     * Vector   position
+     * float    length
+     */
+    NETMSG_PLAYER_ROPE_FIXED    = 0x0332,
+
+    /*
+     * Player rope released
+     *
+     */
+    NETMSG_PLAYER_ROPE_RELEASED = 0x0333,
+    
+    /*
+     * Rope length changed
+     *
+     * float length
+     */
+    NETMSG_PLAYER_ROPE_LENGTH   = 0x0334,
 
     /*
      * New projectile spawned