src/proto2/Network.hh
changeset 107 505bfa531496
parent 96 4a801210096c
equal deleted inserted replaced
106:731f9dd775d4 107:505bfa531496
    25 enum NetworkChannel {
    25 enum NetworkChannel {
    26     /*
    26     /*
    27      * Core channel used for NetworkSession
    27      * Core channel used for NetworkSession
    28      */
    28      */
    29     NETCHAN_CORE            = 0x01,
    29     NETCHAN_CORE            = 0x01,
       
    30 };
       
    31 
       
    32 enum NetworkPhysicsFlags {
       
    33     NETWORK_PHYSICS_INAIR      = 0x01,
    30 };
    34 };
    31 
    35 
    32 enum NetworkMessage {
    36 enum NetworkMessage {
    33     NETMSG_PACKET_INVALID   = 0x00,
    37     NETMSG_PACKET_INVALID   = 0x00,
    34 
    38 
    69     /*
    73     /*
    70      * Player position update
    74      * Player position update
    71      *
    75      *
    72      * Vector   position
    76      * Vector   position
    73      * Vector   velocity
    77      * Vector   velocity
       
    78      * uint8_t  NetworkPhysicsFlags
    74      */
    79      */
    75     NETMSG_PLAYER_POSITION  = 0x0301,
    80     NETMSG_PLAYER_POSITION  = 0x0301,
    76 };
    81 };
    77 
    82 
    78 #endif
    83 #endif