X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_remote.h;h=5ba0105277bacf456073da567a08c6b6b32be2f1;hb=15c0b8cb57ed5d10814103eaa0b5c06e8ae117e4;hp=580a726dee1f7ef510aa9865287135785c0db7b2;hpb=2179a91415c4d0726fd134ad942acfc0515844eb;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_remote.h b/player_remote.h index 580a726..5ba0105 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; @@ -38,9 +45,12 @@ struct { u16 boundary_hash; union interp_animdata { - struct player_skate_animator _skate; - struct player_walk_animator _walk; - struct player_dead_animator _dead; + /* these aren't accessed directly, just used to take the + * max(sizeof) all systems */ + struct player_skate_animator __skate; + struct player_walk_animator __walk; + struct player_dead_animator __dead; + struct player_basic_info_animator __basic; } data; } @@ -59,8 +69,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;