X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_remote.h;h=d29ffa387d44e6550215e70a99f88d7d5560de96;hb=1a7f4a35e88698bdb45c90f646f1645589d5511c;hp=4df9c32c6298b9b5ee75da4407c012531f8343c6;hpb=4bf136afb77a4c2937952b9152165f1ddcd2da9d;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_remote.h b/player_remote.h index 4df9c32..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; @@ -58,6 +65,10 @@ struct { u32 up_bytes; f32 up_kbs, down_kbs; f64 last_data_measurement; + + int chatting; + char chat_buffer[ NETWORK_MAX_CHAT ], chat_message[ NETWORK_MAX_CHAT ]; + f64 chat_time; } static netplayers;