X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.h;h=f837cb955cb96b87a033e9879eed80a87d327a8a;hb=78cc452a8343821ba47c0905d755657847dafd25;hp=e1b44fe1104a3fc87cb6da6ebc372a7f74833be3;hpb=fe4d150c7b6b49cd9922459707f9fb9aec9dae9c;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.h b/player.h index e1b44fe..f837cb9 100644 --- a/player.h +++ b/player.h @@ -117,8 +117,10 @@ struct { f32 subframe, volume; v3f location; } - sfx_buffer[4]; - u32 sfx_buffer_count; + sfx_buffer[4], /* large timeframe 1/10s; for networking */ + local_sfx_buffer[2]; /* per framerate 1/30s; for replay */ + u32 sfx_buffer_count, + local_sfx_buffer_count; /* * Animation @@ -142,7 +144,8 @@ struct { * ------------------------------------------------- */ - enum player_subsystem subsystem; /* .. prev */ + enum player_subsystem subsystem, + observing_system; /* * Rendering