move audio comp to its own thing
[carveJwlIkooP6JGAAIwe30JlM.git] / player.h
index 4396cbe353a5cb432087be6c4b400f3e7ebdbc28..e1b44fe1104a3fc87cb6da6ebc372a7f74833be3 100644 (file)
--- a/player.h
+++ b/player.h
@@ -50,6 +50,9 @@ struct player_subsystem_interface{
    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;
 
@@ -98,6 +101,8 @@ struct {
 
    v3f cam_land_punch, cam_land_punch_v;
    ent_gate *gate_waiting;
+   int deferred_frame_record;
+
    int immobile;
 
    int rewinded_since_last_gate;
@@ -161,7 +166,8 @@ struct {
       id_wheel_l,
       id_wheel_r,
       id_board,
-      id_eyes;
+      id_eyes,
+      id_world;
 
    u8 skeleton_mirror[32];