MOHAWK: Remove unused runLoadDialog() function

This commit is contained in:
Matthew Hoops 2011-03-07 16:27:58 -05:00
parent 1f90d232e3
commit 212b58ad42
2 changed files with 0 additions and 16 deletions

View File

@ -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;

View File

@ -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);