mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-01 03:18:07 +03:00
CD-DA BGM playback support with SDL_mixer
This adds -playlist command line option to specify a "playlist" file which lists music files to be played instead of CD audio tracks. The format of playlist file is the same as xsystem35's.
This commit is contained in:
+2
-7
@@ -16,7 +16,7 @@ extern SDL_Window* g_window;
|
||||
|
||||
// 初期化
|
||||
|
||||
NACT::NACT(const char* game_id, const char* font_file)
|
||||
NACT::NACT(const char* game_id, const char* font_file, const char* playlist)
|
||||
{
|
||||
mouse_x = mouse_y = 0;
|
||||
|
||||
@@ -114,7 +114,7 @@ NACT::NACT(const char* game_id, const char* font_file)
|
||||
|
||||
// 各種クラス生成
|
||||
ags = new AGS(this, font_file);
|
||||
mako = new MAKO(this);
|
||||
mako = new MAKO(this, playlist);
|
||||
|
||||
#ifdef USE_JOY
|
||||
// 入力初期化
|
||||
@@ -409,11 +409,6 @@ int NACT::get_screen_height()
|
||||
return ags->screen_height;
|
||||
}
|
||||
|
||||
void NACT::notify_mci(int status)
|
||||
{
|
||||
mako->notify_mci(status);
|
||||
}
|
||||
|
||||
void NACT::select_cursor()
|
||||
{
|
||||
ags->select_cursor();
|
||||
|
||||
Reference in New Issue
Block a user