Freeciv-3.3
Loading...
Searching...
No Matches
music.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__MUSIC_H
14#define FC__MUSIC_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20/* client */
21#include "options.h"
22
23void start_style_music(void);
24void stop_style_music(void);
25void start_menu_music(const char *const tag, char *const alt_tag);
26void stop_menu_music(void);
27void play_single_track(const char *const tag);
28
30
31struct section_file *musicspec_load(const char *ms_filename);
33
34const char *current_musicset_name(void);
35const char *current_musicset_version(void);
36const char *current_musicset_summary(void);
37const char *current_musicset_description(void);
38
39#ifdef __cplusplus
40}
41#endif /* __cplusplus */
42
43#endif /* FC__MUSIC_H */
char * incite_cost
Definition comments.c:76
void play_single_track(const char *const tag)
Definition music.c:116
void musicspec_reread_callback(struct option *poption)
Definition music.c:129
const char * current_musicset_version(void)
Definition music.c:242
const char * current_musicset_name(void)
Definition music.c:234
void start_menu_music(const char *const tag, char *const alt_tag)
Definition music.c:98
const char * current_musicset_summary(void)
Definition music.c:254
const char * current_musicset_description(void)
Definition music.c:262
void stop_menu_music(void)
Definition music.c:108
struct section_file * musicspec_load(const char *ms_filename)
Definition music.c:148
void start_style_music(void)
Definition music.c:44
void stop_style_music(void)
Definition music.c:90
void musicspec_close(struct section_file *tagfile)
Definition music.c:219