X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=fishladder_resources.h;h=cd73f52899a380f01c0137c8194b7c72045dcde6;hb=d94e286c52dcfd5faf7cbd12690268f9d68957ef;hp=841cf93ffb366d43a16aaa09f9e4d25290edb3f1;hpb=e0e759c11d13aa83b2621268fb3f41b2dfc5033d;p=fishladder.git diff --git a/fishladder_resources.h b/fishladder_resources.h index 841cf93..cd73f52 100644 --- a/fishladder_resources.h +++ b/fishladder_resources.h @@ -19,7 +19,6 @@ sfx_system audio_system_sfx = .vol = 1.f, .ch = 1, .vol_src = &audio_volume_sfx, - .fadeout_length = FADEOUT_LENGTH, .name = "sfx" }; @@ -35,6 +34,47 @@ sound/mod_06.ogg\0", .flags = 0 }; +sfx_set audio_splitter = +{ + .sources = "\ +sound/splitter_01.ogg\0" +}; + +sfx_set audio_rolls = +{ + .sources = "\ +sound/rolling_01.ogg\0\ +sound/rolling_02.ogg\0" +}; + +// One two or three layers of rolling noise +sfx_system audio_system_balls_rolling = +{ + .vol = 1.f, .ch = 1, .vol_src = &audio_volume_sfx, + .name = "Balls Rolling", .flags = SFX_FLAG_REPEAT +}; + +// Various oneshots +sfx_system audio_system_balls_switching = +{ + .vol = 1.f, .ch = 1, .vol_src = &audio_volume_sfx, + .name = "Balls Switching" +}; + +// Gameplay critical sounds eg. splitter sound rocking +sfx_system audio_system_balls_important = +{ + .vol = 1.f, .ch = 1, .vol_src = &audio_volume_sfx, + .name = "Balls Gameplay" +}; + +// Suplemental sounds +sfx_system audio_system_balls_extra = +{ + .vol = 1.f, .ch = 1, .vol_src = &audio_volume_sfx, + .name = "Balls Extra" +}; + static void resource_load_main(void) { // Textures @@ -42,12 +82,16 @@ static void resource_load_main(void) // Audio sfx_set_init( &audio_tile_mod, NULL ); + sfx_set_init( &audio_splitter, NULL ); + sfx_set_init( &audio_rolls, NULL ); } static void resource_free_main(void) { vg_tex2d_free( texture_list, vg_list_size( texture_list ) ); sfx_set_free( &audio_tile_mod ); + sfx_set_free( &audio_splitter ); + sfx_set_free( &audio_rolls ); } // SHADERS