From fa97d4ad897452e0ee2d975c4bf4dda45737e4c3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 20 Nov 2004 23:49:11 +0000 Subject: Removing walkthrough stuff again (talked to aquadran about this, he had no objections) svn-id: r15849 --- sword1/sword1.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sword1') diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp index f7db821c6a..1e56aa0944 100644 --- a/sword1/sword1.cpp +++ b/sword1/sword1.cpp @@ -109,8 +109,6 @@ SwordEngine::SwordEngine(GameDetector *detector, OSystem *syst) if (!_mixer->isReady()) warning("Sound initialization failed"); - - _walkthroughDialog->setGameName(detector->_game.name); } SwordEngine::~SwordEngine() { @@ -123,8 +121,6 @@ SwordEngine::~SwordEngine() { delete _mouse; delete _objectMan; delete _resMan; - - _walkthroughDialog->destroy(); } void SwordEngine::initialize(void) { @@ -202,8 +198,6 @@ void SwordEngine::initialize(void) { _objectMan->initialize(); _mouse->initialize(); _control = new Control(_saveFileMan, _resMan, _objectMan, _system, _mouse, _sound, _music, getSavePath()); - - _walkthroughDialog->create(); } void SwordEngine::reinitialize(void) { @@ -1289,8 +1283,6 @@ void SwordEngine::delay(uint amount) { //copied and mutilated from sky.cpp _keyPressed = 8; else _keyPressed = (uint8)event.kbd.ascii; - if (event.kbd.keycode == 'w') - _walkthroughDialog->runModal(); break; case OSystem::EVENT_MOUSEMOVE: _mouseX = event.mouse.x; -- cgit v1.2.3