Freeciv21
Develop your civilization from humble roots to a global empire
music.h
Go to the documentation of this file.
1 /**************************************************************************
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  __ __ part of Freeciv21. Freeciv21 is free software: you can
4 / \\..// \ redistribute it and/or modify it under the terms of the GNU
5  ( oo ) General Public License as published by the Free Software
6  \__/ Foundation, either version 3 of the License, or (at your
7  option) any later version. You should have received
8  a copy of the GNU General Public License along with Freeciv21. If not,
9  see https://www.gnu.org/licenses/.
10 **************************************************************************/
11 #pragma once
12 
13 void start_style_music();
14 void stop_style_music();
15 void start_menu_music(const QString &tag, const QString &alt_tag);
16 void stop_menu_music();
17 void play_single_track(const QString &tag);
18 
19 void musicspec_reread_callback(struct option *poption);
void start_style_music()
Start music suitable for current game situation.
Definition: music.cpp:27
void musicspec_reread_callback(struct option *poption)
Musicset changed in options.
Definition: music.cpp:106
void start_menu_music(const QString &tag, const QString &alt_tag)
Start menu music.
Definition: music.cpp:78
void play_single_track(const QString &tag)
Play single track before continuing normal style music.
Definition: music.cpp:93
void stop_menu_music()
Stop menu music completely.
Definition: music.cpp:88
void stop_style_music()
Stop style music completely.
Definition: music.cpp:73
The base class for options.
Definition: options.cpp:209