[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.461,1.462
Pawel Kolodziejski
aquadran at users.sourceforge.net
Fri Nov 19 11:51:16 CET 2004
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16339/simon
Modified Files:
simon.cpp
Log Message:
added walkthrough
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.461
retrieving revision 1.462
diff -u -d -r1.461 -r1.462
--- simon.cpp 10 Nov 2004 18:03:07 -0000 1.461
+++ simon.cpp 19 Nov 2004 19:50:02 -0000 1.462
@@ -718,6 +718,9 @@
// FIXME Use auto dirty rects cleanup code to reduce CPU usage
g_system->setFeatureState(OSystem::kFeatureAutoComputeDirtyRects, true);
+
+ _walkthroughDialog->setGameName(detector->_game.name);
+ _walkthroughDialog->create();
}
SimonEngine::~SimonEngine() {
@@ -729,6 +732,8 @@
delete _sound;
delete _debugger;
+
+ _walkthroughDialog->destroy();
}
void SimonEngine::errorString(const char *buf1, char *buf2) {
@@ -4848,6 +4853,8 @@
_aboutDialog->runModal();
} else if (event.kbd.keycode == 'f')
_fast_mode ^= 1;
+ else if (event.kbd.keycode == 'w')
+ _walkthroughDialog->runModal();
else if (event.kbd.keycode == 'd')
_debugger->attach();
}
More information about the Scummvm-git-logs
mailing list