mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-25 04:01:03 +00:00
GRIM: Don't override the global ResidualVM menu using the game main menu
This commit is contained in:
parent
358e578606
commit
43d50064d6
@ -298,9 +298,8 @@ public:
|
||||
|
||||
/**
|
||||
* Run the Global Main Menu Dialog
|
||||
* added 'virtual' ResidualVM specific
|
||||
*/
|
||||
virtual void openMainMenuDialog();
|
||||
void openMainMenuDialog();
|
||||
|
||||
/**
|
||||
* Display a warning to the user that the game is not fully supported.
|
||||
|
@ -1393,12 +1393,6 @@ bool GrimEngine::hasFeature(EngineFeature f) const {
|
||||
(f == kSupportsLoadingDuringRuntime);
|
||||
}
|
||||
|
||||
void GrimEngine::openMainMenuDialog() {
|
||||
Common::KeyState key(Common::KEYCODE_F1, Common::ASCII_F1);
|
||||
handleControls(Common::EVENT_KEYDOWN, key);
|
||||
handleControls(Common::EVENT_KEYUP, key);
|
||||
}
|
||||
|
||||
void GrimEngine::pauseEngineIntern(bool pause) {
|
||||
if (g_imuse)
|
||||
g_imuse->pause(pause);
|
||||
|
@ -179,7 +179,6 @@ public:
|
||||
|
||||
TextObjectDefaults _sayLineDefaults, _printLineDefaults, _blastTextDefaults;
|
||||
|
||||
virtual void openMainMenuDialog() override;
|
||||
void debugLua(const Common::String &str);
|
||||
|
||||
void setSideTextures(const Common::String &setup);
|
||||
|
Loading…
x
Reference in New Issue
Block a user