X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_remote.h;h=de3c7a297fe2a20d7f4b26e6b62abb1e4d073eae;hb=df9f72d2912a5424d37dfdb02f76aba8f1ed4df1;hp=afef269aec7ee42eb1e18c7c154a43d2458d03cc;hpb=88f8273a9ab7b0644813625c43c70c5af34cd4f5;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_remote.h b/player_remote.h index afef269..de3c7a2 100644 --- a/player_remote.h +++ b/player_remote.h @@ -5,6 +5,8 @@ #include "network.h" #include "network_common.h" +#define NETWORK_SFX_QUEUE_LENGTH 12 + struct { struct network_player { int active; @@ -41,12 +43,14 @@ struct { } data; } - frames[6]; + frames[ NETWORK_BUFFERFRAMES ]; f64 t; } interp_data[ NETWORK_MAX_PLAYERS ]; + struct net_sfx sfx_queue[ NETWORK_SFX_QUEUE_LENGTH ]; + m4x3f *final_mtx; struct player_board_pose board_poses[ NETWORK_MAX_PLAYERS ];