[Scummvm-cvs-logs] CVS: scummvm/sky sky.cpp,1.155,1.156
Pawel Kolodziejski
aquadran at users.sourceforge.net
Fri Nov 19 11:51:07 CET 2004
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16339/sky
Modified Files:
sky.cpp
Log Message:
added walkthrough
Index: sky.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/sky.cpp,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -d -r1.155 -r1.156
--- sky.cpp 15 Nov 2004 20:51:14 -0000 1.155
+++ sky.cpp 19 Nov 2004 19:50:03 -0000 1.156
@@ -116,6 +116,8 @@
SkyEngine::SkyEngine(GameDetector *detector, OSystem *syst)
: Engine(syst), _fastMode(0) {
+ _walkthroughDialog->setGameName(detector->_game.name);
+ _walkthroughDialog->create();
}
SkyEngine::~SkyEngine() {
@@ -127,6 +129,8 @@
delete _skyMouse;
delete _skyScreen;
delete _debugger;
+
+ _walkthroughDialog->destroy();
}
void SkyEngine::errorString(const char *buf1, char *buf2) {
@@ -461,6 +465,9 @@
if (event.kbd.keycode == 'd') {
_debugger->attach();
}
+ if (event.kbd.keycode == 'w') {
+ _walkthroughDialog->runModal();
+ }
}
// Make sure backspace works right (this fixes a small issue on OS X)
More information about the Scummvm-git-logs
mailing list