Freeciv-3.1
|
#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.
Functions | |
void | start_style_music (void) |
void | stop_style_music (void) |
void | start_menu_music (const char *const tag, char *const alt_tag) |
void | stop_menu_music (void) |
void | play_single_track (const char *const tag) |
void | musicspec_reread_callback (struct option *poption) |
void musicspec_reread_callback | ( | struct option * | poption | ) |
void play_single_track | ( | const char *const | tag | ) |
Play single track before continuing normal style music
Definition at line 108 of file music.c.
Referenced by handle_play_music().
void start_menu_music | ( | const char *const | tag, |
char *const | alt_tag | ||
) |
Start menu music.
Definition at line 90 of file music.c.
Referenced by client_main(), handle_endgame_player(), musicspec_reread_callback(), and set_client_state().
void start_style_music | ( | void | ) |
Start music suitable for current game situation
Definition at line 36 of file music.c.
Referenced by handle_player_info(), musicspec_reread_callback(), and set_client_state().
void stop_menu_music | ( | void | ) |
Stop menu music completely.
Definition at line 100 of file music.c.
Referenced by set_client_state().
void stop_style_music | ( | void | ) |
Stop style music completely.
Definition at line 82 of file music.c.
Referenced by set_client_state(), and start_style_music().