Add a fast-forward command
This commit is contained in:
+5
-5
@@ -24,7 +24,7 @@ use crate::{
|
||||
persistence::Persistence,
|
||||
window::{
|
||||
AboutWindow, AppWindow, BgMapWindow, CharacterDataWindow, FrameBufferWindow, GameWindow,
|
||||
GdbServerWindow, InputWindow, ObjectWindow, RegisterWindow, ShortcutsWindow, WorldWindow,
|
||||
GdbServerWindow, HotkeysWindow, InputWindow, ObjectWindow, RegisterWindow, WorldWindow,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -252,9 +252,9 @@ impl ApplicationHandler<UserEvent> for Application {
|
||||
let input = InputWindow::new(self.mappings.clone());
|
||||
self.open(event_loop, Box::new(input));
|
||||
}
|
||||
UserEvent::OpenShortcuts => {
|
||||
let shortcuts = ShortcutsWindow::new(self.shortcuts.clone());
|
||||
self.open(event_loop, Box::new(shortcuts));
|
||||
UserEvent::OpenHotkeys => {
|
||||
let hotkeys = HotkeysWindow::new(self.shortcuts.clone());
|
||||
self.open(event_loop, Box::new(hotkeys));
|
||||
}
|
||||
UserEvent::OpenPlayer2 => {
|
||||
let p2 = GameWindow::new(
|
||||
@@ -515,7 +515,7 @@ pub enum UserEvent {
|
||||
OpenRegisters(SimId),
|
||||
OpenDebugger(SimId),
|
||||
OpenInput,
|
||||
OpenShortcuts,
|
||||
OpenHotkeys,
|
||||
OpenPlayer2,
|
||||
Quit(SimId),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user