Advance messages by scrolling mouse wheel down

Now the 'A' command accepts mouse wheel down events in addition to
keyboard and mouse buttons.
This commit is contained in:
kichikuou
2025-11-04 10:17:30 +09:00
parent a911d71b57
commit 51ab709da7
3 changed files with 16 additions and 2 deletions
+3 -1
View File
@@ -410,12 +410,14 @@ void NACT::cmd_a()
ags->draw_push(text_window);
}
get_wheel(); // clear wheel input
// キーが押されて離されるまで待機
while (!msgskip->skipping()) {
if(terminate) {
return;
}
if(get_key()) {
if (get_key() || get_wheel() < 0) {
break;
}
sys_sleep(16);