move audio comp to its own thing
[carveJwlIkooP6JGAAIwe30JlM.git] / player.h
index 8379becbff57e275eee712ae341c61f913ce2e5d..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;