mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-04 12:58:01 +03:00
emscripten: Support message skip
Also add flags that control message skip behavior.
This commit is contained in:
@@ -286,13 +286,15 @@ void NACT_Sys3::cmd_a()
|
||||
|
||||
output_console("A\n");
|
||||
|
||||
// Pushマークの表示
|
||||
if(show_push) {
|
||||
if (msgskip->skipping()) {
|
||||
if (msgskip->get_flags() & MSGSKIP_STOP_ON_CLICK && get_key())
|
||||
msgskip->activate(false);
|
||||
} else if (show_push) {
|
||||
ags->draw_push(text_window);
|
||||
}
|
||||
|
||||
// キーが押されて離されるまで待機
|
||||
while (!msgskip->is_skip_enabled()) {
|
||||
while (!msgskip->skipping()) {
|
||||
if(terminate) {
|
||||
return;
|
||||
}
|
||||
@@ -302,7 +304,7 @@ void NACT_Sys3::cmd_a()
|
||||
sys_sleep(16);
|
||||
}
|
||||
sys_sleep(30);
|
||||
while (!msgskip->is_skip_enabled()) {
|
||||
while (!msgskip->skipping()) {
|
||||
if(terminate) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user