[Scummvm-cvs-logs] CVS: scummvm/sword2 sword2.cpp,1.121,1.122

Max Horn fingolfin at users.sourceforge.net
Sat Nov 20 16:15:57 CET 2004


Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25810/sword2

Modified Files:
	sword2.cpp 
Log Message:
Removing walkthrough stuff again (talked to aquadran about this, he had no objections)

Index: sword2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/sword2.cpp,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- sword2.cpp	19 Nov 2004 19:50:22 -0000	1.121
+++ sword2.cpp	20 Nov 2004 23:49:11 -0000	1.122
@@ -180,8 +180,6 @@
 	_gameCycle = 0;
 
 	_quit = false;
-
-	_walkthroughDialog->setGameName(detector->_game.name);
 }
 
 Sword2Engine::~Sword2Engine() {
@@ -195,8 +193,6 @@
 	delete _logic;
 	delete _resman;
 	delete _memory;
-
-	_walkthroughDialog->destroy();
 }
 
 void Sword2Engine::errorString(const char *buf1, char *buf2) {
@@ -300,8 +296,6 @@
 		startGame();
 
 	_graphics->initialiseRenderCycle();
-
-	_walkthroughDialog->create();
 }
 
 void Sword2Engine::mainRun() {
@@ -321,8 +315,6 @@
 		if (ke) {
 			if ((ke->modifiers == OSystem::KBD_CTRL && ke->keycode == 'd') || ke->ascii == '#' || ke->ascii == '~') {
 				_debugger->attach();
-			} else if ((ke->modifiers == OSystem::KBD_SHIFT) && (ke->keycode == 'w')) {
-				_walkthroughDialog->runModal();
 			} else if (ke->modifiers == 0 || ke->modifiers == OSystem::KBD_SHIFT) {
 				switch (ke->keycode) {
 				case 'p':





More information about the Scummvm-git-logs mailing list