src/Network/Protocol.hh
changeset 241 e95b1602d836
parent 239 550397d9d479
child 263 8c999cf4c182
equal deleted inserted replaced
240:e8ca212a2739 241:e95b1602d836
    81      * Terrain update, removeGround
    81      * Terrain update, removeGround
    82      *
    82      *
    83      * Vector   position 
    83      * Vector   position 
    84      * float32  radius          
    84      * float32  radius          
    85      */
    85      */
    86     NETMSG_PLAYER_DIG           = 0x0302,
    86     NETMSG_PLAYER_DIG           = 0x0312,
    87 
    87 
    88     /*
    88     /*
    89      * Player changed weapon
    89      * Player changed weapon
    90      *
    90      *
    91      * uint8_t  weapon_index
    91      * uint8_t  weapon_index
    92      */
    92      */
    93     NETMSG_PLAYER_WEAPON_CHANGE = 0x0303,
    93     NETMSG_PLAYER_WEAPON_CHANGE = 0x0321,
       
    94     
       
    95     /*
       
    96      * Player threw the rope
       
    97      *
       
    98      * Vector   position
       
    99      * Vector   velocity
       
   100      * float    length
       
   101      */
       
   102     NETMSG_PLAYER_ROPE_THROW    = 0x0331,
       
   103 
       
   104     /*
       
   105      * Player rope fixed on to something
       
   106      *
       
   107      * Vector   position
       
   108      * float    length
       
   109      */
       
   110     NETMSG_PLAYER_ROPE_FIXED    = 0x0332,
       
   111 
       
   112     /*
       
   113      * Player rope released
       
   114      *
       
   115      */
       
   116     NETMSG_PLAYER_ROPE_RELEASED = 0x0333,
       
   117     
       
   118     /*
       
   119      * Rope length changed
       
   120      *
       
   121      * float length
       
   122      */
       
   123     NETMSG_PLAYER_ROPE_LENGTH   = 0x0334,
    94 
   124 
    95     /*
   125     /*
    96      * New projectile spawned
   126      * New projectile spawned
    97      *
   127      *
    98      * Vector   position
   128      * Vector   position