mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-12 00:58:27 +03:00
Tweaks for better message skip experience
- Any key input detected in skippable wait functions will cancel the skip mode (regardless of skipModeInterruptable value). - Space key (right click) in sys_getInputInfo() will no longer cancel the skip mode. - Add 30ms wait in sys_hit_any_key() (used by the 'A' command) so that users can see what's going on while skipping. - Cancel the skip mode when opening a menu, not when closing it.
This commit is contained in:
+2
-2
@@ -408,6 +408,8 @@ void sel_select() {
|
||||
int preElement = -1;
|
||||
int key, prevkey = 0, i;
|
||||
|
||||
if (get_skipMode2()) set_skipMode(FALSE);
|
||||
|
||||
saveimg2 = NULL;
|
||||
keymode = 0;
|
||||
|
||||
@@ -502,6 +504,4 @@ void sel_select() {
|
||||
}
|
||||
last_selected_element = 0;
|
||||
}
|
||||
|
||||
if (get_skipMode2()) set_skipMode(FALSE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user