aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorMatthew Hoops2011-03-07 16:27:58 -0500
committerMatthew Hoops2011-03-07 16:28:28 -0500
commit212b58ad429718bcb0366541a413fc52db25f615 (patch)
tree33f4a5c2922e0820aae38055c0fbf9a2f1ffb20c /engines/mohawk
parent1f90d232e3b4911f725fe22489aaa2cc2253426d (diff)
downloadscummvm-rg350-212b58ad429718bcb0366541a413fc52db25f615.tar.gz
scummvm-rg350-212b58ad429718bcb0366541a413fc52db25f615.tar.bz2
scummvm-rg350-212b58ad429718bcb0366541a413fc52db25f615.zip
MOHAWK: Remove unused runLoadDialog() function
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/myst.cpp14
-rw-r--r--engines/mohawk/myst.h2
2 files changed, 0 insertions, 16 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index f842269893..1aba820fed 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -1143,20 +1143,6 @@ void MohawkEngine_Myst::loadResources() {
delete rlstStream;
}
-void MohawkEngine_Myst::runLoadDialog() {
- const Common::String gameId = ConfMan.get("gameid");
-
- const EnginePlugin *plugin = 0;
- EngineMan.findGame(gameId, &plugin);
-
- pauseEngine(true);
- int slot = _loadDialog->runModalWithPluginAndTarget(plugin, ConfMan.getActiveDomainName());
- if (slot >= 0) {
- // TODO
- }
- pauseEngine(false);
-}
-
Common::Error MohawkEngine_Myst::loadGameState(int slot) {
if (_gameState->load(_gameState->generateSaveGameList()[slot]))
return Common::kNoError;
diff --git a/engines/mohawk/myst.h b/engines/mohawk/myst.h
index 919509384b..47e8a6562c 100644
--- a/engines/mohawk/myst.h
+++ b/engines/mohawk/myst.h
@@ -155,8 +155,6 @@ public:
Common::String wrapMovieFilename(const Common::String &movieName, uint16 stack);
void reloadSaveList();
- void runLoadDialog();
- void runSaveDialog();
void changeToStack(uint16 stack, uint16 card, uint16 linkSrcSound, uint16 linkDstSound);
void changeToCard(uint16 card, bool updateScreen);