X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_remote.h;h=6cf7ce5fc86c61799ccfaa018c5bb879f25c2db2;hb=9385ff1868a052d92d60c0b49aa03848460b1916;hp=ca96290b241231e7fc1d72c0b235c1675ed429ba;hpb=9b4f4aa9105cd7458d6e7dbc859cb72d0add1300;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_remote.h b/player_remote.h index ca96290..6cf7ce5 100644 --- a/player_remote.h +++ b/player_remote.h @@ -3,6 +3,7 @@ #include "player.h" #include "network.h" +#include "network_common.h" struct { struct network_player { @@ -14,7 +15,7 @@ struct { u32 down_bytes; f32 down_kbs; } - list[32]; + list[ NETWORK_MAX_PLAYERS ]; struct interp_buffer { /* collect the most recent 6 frames of animation data */ @@ -34,9 +35,10 @@ struct { f64 t; } - interp_data[32]; + interp_data[ NETWORK_MAX_PLAYERS ]; m4x3f *final_mtx; + struct player_board_pose board_poses[ NETWORK_MAX_PLAYERS ]; u32 up_bytes; f32 up_kbs, down_kbs;