2014-06-01 17:55:23 +00:00
|
|
|
/*
|
2018-09-02 00:57:29 +00:00
|
|
|
* This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
|
2014-06-01 17:55:23 +00:00
|
|
|
* It is copyright by its individual contributors, as recorded in the
|
|
|
|
* project's Git history. See COPYING.txt at the top level for license
|
|
|
|
* terms and a link to the Git history.
|
|
|
|
*/
|
2006-10-17 20:52:09 +00:00
|
|
|
/*
|
|
|
|
* Header file for music playback through SDL_mixer
|
|
|
|
*
|
|
|
|
* -- MD2211 (2006-04-24)
|
|
|
|
*/
|
|
|
|
|
2015-12-05 22:57:24 +00:00
|
|
|
#pragma once
|
2006-10-17 20:52:09 +00:00
|
|
|
|
2012-11-11 22:12:51 +00:00
|
|
|
#ifdef __cplusplus
|
2015-12-13 18:00:49 +00:00
|
|
|
namespace dcx {
|
2012-11-11 22:12:51 +00:00
|
|
|
|
2013-06-08 22:24:17 +00:00
|
|
|
int mix_play_music(const char *, int);
|
|
|
|
int mix_play_file(const char *, int, void (*)());
|
2007-03-12 21:56:41 +00:00
|
|
|
void mix_set_music_volume(int);
|
2006-10-17 20:52:09 +00:00
|
|
|
void mix_stop_music();
|
2010-06-14 08:13:16 +00:00
|
|
|
void mix_pause_music();
|
|
|
|
void mix_resume_music();
|
|
|
|
void mix_pause_resume_music();
|
2009-03-03 12:55:27 +00:00
|
|
|
void mix_free_music();
|
2006-10-17 20:52:09 +00:00
|
|
|
|
2015-12-05 22:57:24 +00:00
|
|
|
}
|
2006-10-17 20:52:09 +00:00
|
|
|
#endif
|