Freeciv-3.3
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "connection.h"
#include "log.h"
#include "audio.h"
#include "client_main.h"
#include "options.h"
#include "music.h"
Go to the source code of this file.
Data Structures | |
struct | musicset |
Variables | |
struct musicset | current_ms = { .summary = NULL, .description = NULL } |
Return description of the current musicset. Can be NULL.
Definition at line 262 of file music.c.
Referenced by boot_help_texts().
Return name of the current musicset.
Definition at line 234 of file music.c.
Referenced by boot_help_texts().
Return summary of the current musicset. Can be NULL.
Definition at line 254 of file music.c.
Referenced by boot_help_texts().
Return version of the current musicset. Can be NULL.
Definition at line 242 of file music.c.
Referenced by boot_help_texts().
void musicspec_close | ( | struct section_file * | tagfile | ) |
Close the musicspec. Tagfile should refer to currently active musicspec as some data is not retrievable from tagfile alone, but currently active music only.
This is called from the audio code, and not the vice versa.
Definition at line 219 of file music.c.
Referenced by audio_real_init(), and audio_shutdown().
struct section_file * musicspec_load | ( | const char * | ms_filename | ) |
Load specified musicspec.
This is called from the audio code, and not the vice versa.
Definition at line 148 of file music.c.
Referenced by audio_real_init().
Play single track before continuing normal style music
Definition at line 116 of file music.c.
Referenced by handle_play_music().
Start menu music.
Definition at line 98 of file music.c.
Referenced by client_main(), handle_endgame_player(), musicspec_reread_callback(), and set_client_state().
Start music suitable for current game situation
Definition at line 44 of file music.c.
Referenced by handle_player_info(), musicspec_reread_callback(), and set_client_state().
Stop menu music completely.
Definition at line 108 of file music.c.
Referenced by set_client_state().
Stop style music completely.
Definition at line 90 of file music.c.
Referenced by set_client_state(), and start_style_music().