35 if (
sounds[i].symbolic != NULL) {
36 if (strcmp(
sounds[i].symbolic, name) == 0) {
42 printf(
"Could not find matching sound for '%s'.\n", name);
61 printf(
"Converted legacy sound type %d to %d.\n", type, new_type);
int sound_to_soundnum(const char *name, guint8 type)
Convert a sound name to a sound number to help with the transition of the sound server from sound sup...
Sound_Info sounds[MAX_SOUNDS]
Includes various dependencies header files needed by most everything.
int type_to_soundtype(guint8 type)
Convert a legacy sound type to the sound2 equivalent.