remove a maintenance/synchronization requirement
adds a file include/seffects.h
This commit is contained in:
214
src/sounds.c
214
src/sounds.c
@@ -1934,221 +1934,13 @@ struct soundeffect_automapping {
|
||||
const char *base_filename;
|
||||
};
|
||||
|
||||
/*
|
||||
* The base_filename field represents the unique part of a file
|
||||
* name to find in the file system (or in the embedded resources for
|
||||
* some soundlibs). It is the soundeffects file that will be played
|
||||
* for the sound effect identified by seid. Without an entry in the
|
||||
* table below, the automapping of a soundeffect id to a particular
|
||||
* file name will not occur and no soundeffect will be possible.
|
||||
|
||||
* The entries in the following table are not required to be in
|
||||
* any particular order, but an entry for each soundeffect from the
|
||||
* sound_effect_entries enum in sndprocs.h should be present.
|
||||
*
|
||||
*/
|
||||
|
||||
#define SEFFECTS_AUTOMAP
|
||||
static const struct soundeffect_automapping
|
||||
se_mappings_init[number_of_se_entries] = {
|
||||
{ se_zero_invalid, "" },
|
||||
{ se_faint_splashing, "faint_splashing" },
|
||||
{ se_crackling_of_hellfire, "crackling_of_hellfire" },
|
||||
{ se_heart_beat, "heart_beat" },
|
||||
{ se_typing_noise, "typing_noise" },
|
||||
{ se_hollow_sound, "hollow_sound" },
|
||||
{ se_rustling_paper, "rustling_paper" },
|
||||
{ se_crushing_sound, "crushing_sound" },
|
||||
{ se_splash, "splash" },
|
||||
{ se_chains_rattling_gears_turning, "chains_rattling_gears_turning" },
|
||||
{ se_smashing_and_crushing, "smashing_and_crushing" },
|
||||
{ se_gears_turning_chains_rattling, "gears_turning_chains_rattling" },
|
||||
{ se_loud_splash, "loud_splash" },
|
||||
{ se_lound_crash, "lound_crash" },
|
||||
{ se_crashing_rock, "crashing_rock" },
|
||||
{ se_sizzling, "sizzling" },
|
||||
{ se_crashing_boulder, "crashing_boulder" },
|
||||
{ se_boulder_drop, "boulder_drop" },
|
||||
{ se_item_tumble_downwards, "item_tumble_downwards" },
|
||||
{ se_drain_noises, "drain_noises" },
|
||||
{ se_ring_in_drain, "ring_in_drain" },
|
||||
{ se_groans_and_moans, "groans_and_moans" },
|
||||
{ se_scratching, "scratching" },
|
||||
{ se_glass_shattering, "glass_shattering" },
|
||||
{ se_egg_cracking, "egg_cracking" },
|
||||
{ se_gushing_sound, "gushing_sound" },
|
||||
{ se_glass_crashing, "glass_crashing" },
|
||||
{ se_egg_splatting, "egg_splatting" },
|
||||
{ se_sinister_laughter, "sinister_laughter" },
|
||||
{ se_blast, "blast" },
|
||||
{ se_stone_breaking, "stone_breaking" },
|
||||
{ se_stone_crumbling, "stone_crumbling" },
|
||||
{ se_snakes_hissing, "snakes_hissing" },
|
||||
{ se_loud_pop, "loud_pop" },
|
||||
{ se_clanking_pipe, "clanking_pipe" },
|
||||
{ se_sewer_song, "sewer_song" },
|
||||
{ se_monster_behind_boulder, "monster_behind_boulder" },
|
||||
{ se_wailing_of_the_banshee, "wailing_of_the_banshee" },
|
||||
{ se_swoosh, "swoosh" },
|
||||
{ se_explosion, "explosion" },
|
||||
{ se_crashing_sound, "crashing_sound" },
|
||||
{ se_someone_summoning, "someone_summoning" },
|
||||
{ se_rushing_wind_noise, "rushing_wind_noise" },
|
||||
{ se_splat_from_engulf, "splat_from_engulf" },
|
||||
{ se_faint_sloshing, "faint_sloshing" },
|
||||
{ se_crunching_sound, "crunching_sound" },
|
||||
{ se_slurping_sound, "slurping_sound" },
|
||||
{ se_masticating_sound, "masticating_sound" },
|
||||
{ se_distant_thunder, "distant_thunder" },
|
||||
{ se_applause, "applause" },
|
||||
{ se_shrill_whistle, "shrill_whistle" },
|
||||
{ se_someone_yells, "someone_yells" },
|
||||
{ se_door_unlock_and_open, "door_unlock_and_open" },
|
||||
{ se_door_open, "door_open" },
|
||||
{ se_door_crash_open, "door_crash_open" },
|
||||
{ se_dry_throat_rattle, "dry_throat_rattle" },
|
||||
{ se_cough, "cough" },
|
||||
{ se_angry_snakes, "angry_snakes" },
|
||||
{ se_zap_then_explosion, "zap_then_explosion" },
|
||||
{ se_zap, "zap" },
|
||||
{ se_horn_being_played, "horn_being_played" },
|
||||
{ se_mon_chugging_potion, "mon_chugging_potion" },
|
||||
{ se_bugle_playing_reveille, "bugle_playing_reveille" },
|
||||
{ se_crash_through_floor, "crash_through_floor" },
|
||||
{ se_thump, "thump" },
|
||||
{ se_scream, "scream" },
|
||||
{ se_tumbler_click, "tumbler_click" },
|
||||
{ se_gear_turn, "gear_turn" },
|
||||
{ se_divine_music, "divine_music" },
|
||||
{ se_thunderclap, "thunderclap" },
|
||||
{ se_sad_wailing, "sad_wailing" },
|
||||
{ se_maniacal_laughter, "maniacal_laughter" },
|
||||
{ se_rumbling_of_earth, "rumbling_of_earth" },
|
||||
{ se_clanging_sound, "clanging_sound" },
|
||||
{ se_mutter_imprecations, "mutter_imprecations" },
|
||||
{ se_mutter_incantation, "mutter_incantation" },
|
||||
{ se_angry_voice, "angry_voice" },
|
||||
{ se_sceptor_pounding, "sceptor_pounding" },
|
||||
{ se_courtly_conversation, "courtly_conversation" },
|
||||
{ se_low_buzzing, "low_buzzing" },
|
||||
{ se_angry_drone, "angry_drone" },
|
||||
{ se_bees, "bees" },
|
||||
{ se_someone_searching, "someone_searching" },
|
||||
{ se_guards_footsteps, "guards_footsteps" },
|
||||
{ se_faint_chime, "faint_chime" },
|
||||
{ se_loud_click, "loud_click" },
|
||||
{ se_soft_click, "soft_click" },
|
||||
{ se_squeak, "squeak" },
|
||||
{ se_squeak_C, "squeak_C" },
|
||||
{ se_squeak_D_flat, "squeak_D_flat" },
|
||||
{ se_squeak_D, "squeak_D" },
|
||||
{ se_squeak_E_flat, "squeak_E_flat" },
|
||||
{ se_squeak_E, "squeak_E" },
|
||||
{ se_squeak_F, "squeak_F" },
|
||||
{ se_squeak_F_sharp, "squeak_F_sharp" },
|
||||
{ se_squeak_G, "squeak_G" },
|
||||
{ se_squeak_G_sharp, "squeak_G_sharp" },
|
||||
{ se_squeak_A, "squeak_A" },
|
||||
{ se_squeak_B_flat, "squeak_B_flat" },
|
||||
{ se_squeak_B, "squeak_B" },
|
||||
{ se_someone_bowling, "someone_bowling" },
|
||||
{ se_rumbling, "rumbling" },
|
||||
{ se_loud_crash, "loud_crash" },
|
||||
{ se_deafening_roar_atmospheric, "deafening_roar_atmospheric" },
|
||||
{ se_low_hum, "low_hum" },
|
||||
{ se_laughter, "laughter" },
|
||||
{ se_cockatrice_hiss, "cockatrice_hiss" },
|
||||
{ se_chant, "chant" },
|
||||
{ se_cracking_sound, "cracking_sound" },
|
||||
{ se_ripping_sound, "ripping_sound" },
|
||||
{ se_thud, "thud" },
|
||||
{ se_clank, "clank" },
|
||||
{ se_crumbling_sound, "crumbling_sound" },
|
||||
{ se_soft_crackling, "soft_crackling" },
|
||||
{ se_crackling, "crackling" },
|
||||
{ se_sharp_crack, "sharp_crack" },
|
||||
{ se_wall_of_force, "wall_of_force" },
|
||||
{ se_alarm, "alarm" },
|
||||
{ se_kick_door_it_shatters, "kick_door_it_shatters" },
|
||||
{ se_kick_door_it_crashes_open, "kick_door_it_crashes_open" },
|
||||
{ se_bubble_rising, "bubble_rising" },
|
||||
{ se_bolt_of_lightning, "bolt_of_lightning" },
|
||||
{ se_board_squeak, "board_squeak" },
|
||||
{ se_board_squeaks_loudly, "board_squeaks_loudly" },
|
||||
{ se_boing, "boing" },
|
||||
{ se_crashed_ceiling, "crashed_ceiling" },
|
||||
{ se_clash, "clash" },
|
||||
{ se_crash_door, "crash_door" },
|
||||
{ se_crash, "crash" },
|
||||
{ se_crash_throne_destroyed, "crash_throne_destroyed" },
|
||||
{ se_crash_something_broke, "crash_something_broke" },
|
||||
{ se_kadoom_boulder_falls_in, "kadoom_boulder_falls_in" },
|
||||
{ se_klunk_pipe, "klunk_pipe" },
|
||||
{ se_kerplunk_boulder_gone, "kerplunk_boulder_gone" },
|
||||
{ se_klunk, "klunk" },
|
||||
{ se_klick, "klick" },
|
||||
{ se_kaboom_door_explodes, "kaboom_door_explodes" },
|
||||
{ se_kaboom_boom_boom, "kaboom_boom_boom" },
|
||||
{ se_kaablamm_of_mine, "kaablamm_of_mine" },
|
||||
{ se_kaboom, "kaboom" },
|
||||
{ se_splat_egg, "splat_egg" },
|
||||
{ se_destroy_web, "destroy_web" },
|
||||
{ se_iron_ball_dragging_you, "iron_ball_dragging_you" },
|
||||
{ se_iron_ball_hits_you, "iron_ball_hits_you" },
|
||||
{ se_lid_slams_open_falls_shut, "lid_slams_open_falls_shut" },
|
||||
{ se_chain_shatters, "chain_shatters" },
|
||||
{ se_furious_bubbling, "furious_bubbling" },
|
||||
{ se_air_crackles, "air_crackles" },
|
||||
{ se_potion_crash_and_break, "potion_crash_and_break" },
|
||||
{ se_hiss, "hiss" },
|
||||
{ se_growl, "growl" },
|
||||
{ se_canine_bark, "canine_bark" },
|
||||
{ se_canine_growl, "canine_growl" },
|
||||
{ se_canine_whine, "canine_whine" },
|
||||
{ se_canine_yip, "canine_yip" },
|
||||
{ se_canine_howl, "canine_howl" },
|
||||
{ se_canine_yowl, "canine_yowl" },
|
||||
{ se_canine_yelp, "canine_yelp" },
|
||||
{ se_feline_meow, "feline_meow" },
|
||||
{ se_feline_purr, "feline_purr" },
|
||||
{ se_feline_yip, "feline_yip" },
|
||||
{ se_feline_mew, "feline_mew" },
|
||||
{ se_feline_yowl, "feline_yowl" },
|
||||
{ se_feline_yelp, "feline_yelp" },
|
||||
{ se_roar, "roar" },
|
||||
{ se_snarl, "snarl" },
|
||||
{ se_buzz, "buzz" },
|
||||
{ se_squeek, "squeek" },
|
||||
{ se_squawk, "squawk" },
|
||||
{ se_squeal, "squeal" },
|
||||
{ se_screech, "screech" },
|
||||
{ se_equine_neigh, "equine_neigh" },
|
||||
{ se_equine_whinny, "equine_whinny" },
|
||||
{ se_equine_whicker, "equine_whicker" },
|
||||
{ se_bovine_moo, "bovine_moo" },
|
||||
{ se_bovine_bellow, "bovine_bellow" },
|
||||
{ se_wail, "wail" },
|
||||
{ se_groan, "groan" },
|
||||
{ se_grunt, "grunt" },
|
||||
{ se_gurgle, "gurgle" },
|
||||
{ se_elephant_trumpet, "elephant_trumpet" },
|
||||
{ se_snake_rattle, "snake_rattle" },
|
||||
{ se_yelp, "yelp" },
|
||||
{ se_jabberwock_burble, "jabberwock_burble" },
|
||||
{ se_shriek, "shriek" },
|
||||
{ se_bone_rattle, "bone_rattle" },
|
||||
{ se_orc_grunt, "orc_grunt" },
|
||||
{ se_avian_screak, "avian_screak" },
|
||||
{ se_paranoid_confirmation, "paranoid_confirmation" },
|
||||
{ se_bars_whang, "bars_whang" },
|
||||
{ se_bars_whap, "bars_whap" },
|
||||
{ se_bars_flapp, "bars_flapp" },
|
||||
{ se_bars_clink, "bars_clink" },
|
||||
{ se_bars_clonk, "bars_clonk" },
|
||||
{ se_boomerang_klonk, "boomerang_klonk" },
|
||||
{ se_bang_weapon_side, "bang_weapon_side" },
|
||||
{ se_chirp, "chirp" },
|
||||
{ se_croc_bellow, "croc_bellow" },
|
||||
#include "seffects.h"
|
||||
};
|
||||
#undef SEFFECTS_AUTOMAP
|
||||
|
||||
static const char *semap_basenames[SIZE(se_mappings_init)];
|
||||
static boolean basenames_initialized = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user