diff --git a/Toby Doom Launcher.py b/Toby Doom Launcher.py index 047514c..7f2472b 100755 --- a/Toby Doom Launcher.py +++ b/Toby Doom Launcher.py @@ -866,21 +866,26 @@ class DoomLauncher(QMainWindow): self.deathMatchBtn = QPushButton("&Deathmatch") self.customDeathMatchBtn = QPushButton("C&ustom Deathmatch") # Alt+U self.coopBtn = QPushButton("&Co-op") + self.audioManualBtn = QPushButton("&Audio Manual") # Alt+A self.singlePlayerBtn.clicked.connect(self.launch_single_player) self.deathMatchBtn.clicked.connect(self.show_deathmatch_dialog) self.customDeathMatchBtn.clicked.connect(self.show_custom_deathmatch_dialog) # New line self.coopBtn.clicked.connect(self.show_coop_dialog) + self.audioManualBtn.clicked.connect(self.show_audio_manual) + self.singlePlayerBtn.keyPressEvent = lambda e: self.handle_button_keypress(e, self.singlePlayerBtn) self.deathMatchBtn.keyPressEvent = lambda e: self.handle_button_keypress(e, self.deathMatchBtn) self.customDeathMatchBtn.keyPressEvent = lambda e: self.handle_button_keypress(e, self.customDeathMatchBtn) # New line self.coopBtn.keyPressEvent = lambda e: self.handle_button_keypress(e, self.coopBtn) - self.singlePlayerBtn.keyPressEvent = lambda e: self.handle_button_keypress(e, self.singlePlayerBtn) + self.audioManualBtn.keyPressEvent = lambda e: self.handle_button_keypress(e, self.audioManualBtn) mainLayout.addWidget(self.singlePlayerBtn) mainLayout.addWidget(self.deathMatchBtn) - mainLayout.addWidget(self.customDeathMatchBtn) # New line + mainLayout.addWidget(self.customDeathMatchBtn) mainLayout.addWidget(self.coopBtn) + mainLayout.addWidget(self.audioManualBtn) + def get_narration_type(self) -> int: """Get the current narration type from config file""" @@ -979,8 +984,7 @@ class DoomLauncher(QMainWindow): "Toby Heretic", "Classic Hexen", "Toby Hexen", - "Custom Game", - "Audio Manual" + "Custom Game" ] for gameName in gameList: