update helpers/location to 'frosted' ui
[carveJwlIkooP6JGAAIwe30JlM.git] / network_msg.h
index dfd6dabad717bc6676416e8a858aa7114c501fba..4dfeb5e44a3cc8a65a0cbe97d159c43caaa1e09d 100644 (file)
@@ -5,7 +5,6 @@
 #ifndef NETWORK_MSG_H
 #define NETWORK_MSG_H
 
-#include "vg/vg_stdint.h"
 #include "world_info.h"
 #include "vg/vg_platform.h"
 ;
@@ -44,6 +43,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 +54,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 */