X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=network_msg.h;h=5d3beeef1a61ba3329141062ef2d9b28f22fe49b;hb=ec3a96fde91385417ffc20e0f7745d7d8e2889ca;hp=dfd6dabad717bc6676416e8a858aa7114c501fba;hpb=83890302a02892a2e6f26fa8d7bfe1309463c133;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/network_msg.h b/network_msg.h index dfd6dab..5d3beee 100644 --- a/network_msg.h +++ b/network_msg.h @@ -44,6 +44,9 @@ struct netmsg_version{ #define NETMSG_BOUNDARY_BIT 0x8000 #define NETMSG_GATE_BOUNDARY_BIT 0x4000 #define NETMSG_BOUNDARY_MASK (NETMSG_BOUNDARY_BIT|NETMSG_GATE_BOUNDARY_BIT) +#define NETMSG_PLAYERFRAME_INSTANCE_ID 0x3 +#define NETMSG_PLAYERFRAME_HAVE_GLIDER 0x4 +#define NETMSG_PLAYERFRAME_GLIDER_ORPHAN 0x8 typedef struct netmsg_playerframe netmsg_playerframe; enum{ k_inetmsg_playerframe = 200 }; @@ -52,7 +55,7 @@ struct netmsg_playerframe{ f64 timestamp; u8 client, subsystem, - instance_id, sound_effects; + flags, sound_effects; u16 boundary_hash; /* used for animating correctly through gates, teleport.. msb is a flip flop for teleporting second msb is flip flop for gate */