better nametag
[carveJwlIkooP6JGAAIwe30JlM.git] / player_remote.h
index de3c7a297fe2a20d7f4b26e6b62abb1e4d073eae..3e66aff776cc5891227c8b6d884e9c521a21a8ae 100644 (file)
@@ -9,18 +9,24 @@
 
 struct {
    struct network_player {
-      int active;
+      int active, isfriend, isblocked;
+      u64 steamid;
       u16 board_view_slot, playermodel_view_slot;
       enum player_subsystem subsystem;
 
       /* this is set IF they exist in a world that we have loaded */
       world_instance *active_world;
-      int hub_match, client_match;
+      int world_match[ k_world_max ];
+      u32 location_pstr; /* TODO: valid if active_world set. */
 
       /* TODO: Compression with server code */
       char username[ NETWORK_USERNAME_MAX ];
       char items[k_netmsg_playeritem_max][ADDON_UID_MAX];
 
+      /* ui */
+      u32 medals[3];
+      f32 opacity;
+
       u32 down_bytes;
       f32 down_kbs;
    }
@@ -66,5 +72,6 @@ static void remote_player_send_playerframe(void);
 static void animate_remote_player( u32 index );
 static void render_remote_players( world_instance *world, camera *cam );
 static void relink_all_remote_player_worlds(void);
+static void player_remote_update_friendflags( struct network_player *remote );
 
 #endif /* PLAYER_REMOTE_H */