65 const char *tag =
NULL;
72 tag =
pms->music_peaceful;
75 tag =
pms->music_combat;
79 if (tag !=
NULL && tag[0] !=
'\0') {
168 if (
mstr[0] !=
'\0') {
177 if (
mstr[0] !=
'\0') {
193 if (
mstr[0] !=
'\0') {
void audio_restart(const char *soundset_name, const char *musicset_name)
void audio_play_track(const char *const tag, char *const alt_tag)
void audio_play_music(const char *const tag, char *const alt_tag, enum music_usage usage)
void audio_stop_usage(void)
enum client_states client_state(void)
#define fc_assert(condition)
#define log_debug(message,...)
#define log_error(message,...)
void play_single_track(const char *const tag)
void musicspec_reread_callback(struct option *poption)
const char * current_musicset_version(void)
const char * current_musicset_name(void)
struct musicset current_ms
void start_menu_music(const char *const tag, char *const alt_tag)
const char * current_musicset_summary(void)
const char * current_musicset_description(void)
void stop_menu_music(void)
struct section_file * musicspec_load(const char *ms_filename)
void start_style_music(void)
void stop_style_music(void)
void musicspec_close(struct section_file *tagfile)
const char * option_str_get(const struct option *poption)
struct client_options gui_options
struct section_file * secfile_load(const char *filename, bool allow_duplicates)
void secfile_destroy(struct section_file *secfile)
const char * secfile_lookup_str(const struct section_file *secfile, const char *path,...)
const char * secfile_lookup_str_default(const struct section_file *secfile, const char *def, const char *path,...)
bool sound_enable_menu_music
bool sound_enable_game_music
char version[MAX_LEN_NAME]
struct player::@70::@73 client
struct music_style * music_style_by_number(int id)
size_t fc_strlcpy(char *dest, const char *src, size_t n)
#define sz_strlcpy(dest, src)