mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-05 21:38:09 +03:00
emscripten: Support message skip
Also add flags that control message skip behavior.
This commit is contained in:
+5
-1
@@ -116,8 +116,9 @@ NACT::~NACT()
|
||||
|
||||
bool NACT::mainloop()
|
||||
{
|
||||
int sleep_cnt = 0;
|
||||
msgskip->load_from_file();
|
||||
|
||||
int sleep_cnt = 0;
|
||||
while(!terminate) {
|
||||
execute();
|
||||
// 512コマンド実行毎にSleep(10)
|
||||
@@ -356,6 +357,9 @@ void NACT::load_scenario(int page)
|
||||
|
||||
int NACT::menu_select(int num_items)
|
||||
{
|
||||
if (msgskip->get_flags() & MSGSKIP_STOP_ON_MENU)
|
||||
msgskip->activate(false);
|
||||
|
||||
// メニュー表示
|
||||
ags->open_menu_window(menu_window);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user