Crossfire Client, Trunk
R20330
|
Go to the source code of this file.
Functions | |
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 support to sound2 capability. More... | |
int | type_to_soundtype (guint8 type) |
Convert a legacy sound type to the sound2 equivalent. More... | |
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 support to sound2 capability.
This is not an end solution, but one that gets the sound server working a little bit until a better one can be implemented.
Definition at line 31 of file parser.c.
References MAX_SOUNDS, and sounds.
Referenced by parse_input().
int type_to_soundtype | ( | guint8 | type | ) |
Convert a legacy sound type to the sound2 equivalent.
This is intended to help ease the transition from old sound to sound2 capability.
Definition at line 52 of file parser.c.
Referenced by parse_input().