additional Soundeffect, additional SoundAchievement

Also adds a macro SoundeffectEvenIfDeaf for a couple of proposed
special cases where Deafness shouldn't factor in.
This commit is contained in:
nhmall
2023-01-27 01:25:05 -05:00
parent 219c1155f8
commit aee2ff57e8
3 changed files with 63 additions and 0 deletions

View File

@@ -626,6 +626,9 @@ init_sound_and_display_gamewindows(void)
activate_chosen_soundlib();
SoundAchievement(0, sa2_splashscreen, 0);
/* ToDo: new splash screen invocation will go here */
WIN_MESSAGE = create_nhwindow(NHW_MESSAGE);
if (VIA_WINDOWPORT()) {
status_initialize(0);

View File

@@ -2033,6 +2033,11 @@ static const struct soundeffect_automapping
{ se_bone_rattle, "bone_rattle" },
{ se_orc_grunt, "orc_grunt" },
{ se_avian_screak, "avian_screak" },
{ se_paranoid_confirmation, "paranoid_confirmation" },
{ se_bars_whap, "bars_whap" },
{ se_bars_flapp, "bars_flapp" },
{ se_bars_clink, "bars_clink" },
{ se_bars_clonk, "bars_clonk" },
};
static const char *semap_basenames[SIZE(se_mappings_init)];