X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_remote.h;h=a35e22ce1f0e897c032ab12259195dcf2927dfd6;hb=ce0205fd929e5fb1446f8c52fcab344884d82569;hp=afef269aec7ee42eb1e18c7c154a43d2458d03cc;hpb=933fb1873e61061648d0ee183df915c76f47a9cc;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_remote.h b/player_remote.h index afef269..a35e22c 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,15 @@ struct { } data; } - frames[6]; + frames[ NETWORK_BUFFERFRAMES ]; f64 t; } interp_data[ NETWORK_MAX_PLAYERS ]; + struct net_sfx sfx_queue[ NETWORK_SFX_QUEUE_LENGTH ]; + u8 sfx_availible[ NETWORK_SFX_QUEUE_LENGTH ]; + m4x3f *final_mtx; struct player_board_pose board_poses[ NETWORK_MAX_PLAYERS ];