X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_remote.h;h=d29ffa387d44e6550215e70a99f88d7d5560de96;hb=9c0893a71497912deecdcd84dff9afbeac32f8f4;hp=580a726dee1f7ef510aa9865287135785c0db7b2;hpb=2179a91415c4d0726fd134ad942acfc0515844eb;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_remote.h b/player_remote.h index 580a726..d29ffa3 100644 --- a/player_remote.h +++ b/player_remote.h @@ -17,10 +17,17 @@ struct { /* this is set IF they exist in a world that we have loaded */ world_instance *active_world; 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]; + char chat[ NETWORK_MAX_CHAT ]; + f64 chat_time; + + /* ui */ + u32 medals[3]; + f32 opacity; u32 down_bytes; f32 down_kbs; @@ -59,8 +66,9 @@ struct { f32 up_kbs, down_kbs; f64 last_data_measurement; - int view_lobby; - f32 fview_lobby; + int chatting; + char chat_buffer[ NETWORK_MAX_CHAT ], chat_message[ NETWORK_MAX_CHAT ]; + f64 chat_time; } static netplayers;