Move jukebox_load, jukebox_hook_next to dcx
This commit is contained in:
parent
81119f0445
commit
5c30b467bb
|
@ -16,9 +16,9 @@ namespace dcx {
|
|||
extern const std::array<file_extension_t, 5> jukebox_exts;
|
||||
|
||||
void jukebox_unload();
|
||||
void jukebox_load();
|
||||
}
|
||||
namespace dsx {
|
||||
void jukebox_load();
|
||||
int jukebox_play();
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -227,10 +227,6 @@ static int read_m3u(void)
|
|||
return 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
namespace dsx {
|
||||
|
||||
/* Loads music file names from a given directory or M3U playlist */
|
||||
void jukebox_load()
|
||||
{
|
||||
|
@ -317,6 +313,10 @@ static void jukebox_hook_next()
|
|||
jukebox_play();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
namespace dsx {
|
||||
|
||||
// Play tracks from Jukebox directory. Play track specified in GameCfg.CMLevelMusicTrack[0] and loop depending on CGameCfg.CMLevelMusicPlayOrder
|
||||
int jukebox_play()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue