void(*network_animator_exchange)( bitpack_ctx *ctx, void *data );
void(*sfx_oneshot)( u8 id, v3f pos, f32 volume );
+ void(*sfx_comp)(void *animator);
+ void(*sfx_kill)(void);
+
void *animator_data;
u32 animator_size;
v3f cam_land_punch, cam_land_punch_v;
ent_gate *gate_waiting;
+ int deferred_frame_record;
+
int immobile;
int rewinded_since_last_gate;
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
* -------------------------------------------------
*/
- enum player_subsystem subsystem; /* .. prev */
+ enum player_subsystem subsystem,
+ observing_system;
/*
* Rendering