diff options
-rw-r--r-- | engines/access/martian/martian_game.cpp | 51 | ||||
-rw-r--r-- | engines/access/martian/martian_game.h | 10 |
2 files changed, 1 insertions, 60 deletions
diff --git a/engines/access/martian/martian_game.cpp b/engines/access/martian/martian_game.cpp index 3371610418..6a96160960 100644 --- a/engines/access/martian/martian_game.cpp +++ b/engines/access/martian/martian_game.cpp @@ -112,7 +112,7 @@ void MartianEngine::playGame() { bool MartianEngine::showCredits() { _events->hideCursor(); - _screen->clearBuffer(); + _screen->clearScreen(); _destIn = _screen; int val1 = _demoStream->readSint16LE(); @@ -184,55 +184,6 @@ void MartianEngine::doIntroduction() { } } -void MartianEngine::doTitle() { - /* - _screen->setDisplayScan(); - _destIn = &_buffer2; - - _screen->forceFadeOut(); - _events->hideCursor(); - - _sound->queueSound(0, 98, 30); - - _files->_setPaletteFlag = false; - _files->loadScreen(0, 3); - - _buffer2.copyFrom(*_screen); - _buffer1.copyFrom(*_screen); - _screen->forceFadeIn(); - _sound->playSound(1); - - Resource *spriteData = _files->loadFile(0, 2); - _objectsTable[0] = new SpriteResource(this, spriteData); - delete spriteData; - - _sound->playSound(1); - - _files->_setPaletteFlag = false; - _files->loadScreen(0, 4); - _sound->playSound(1); - - _buffer2.copyFrom(*_screen); - _buffer1.copyFrom(*_screen); - _sound->playSound(1); - - const int COUNTDOWN[6] = { 2, 0x80, 1, 0x7d, 0, 0x87 }; - for (_pCount = 0; _pCount < 3; ++_pCount) { - _buffer2.copyFrom(_buffer1); - int id = READ_LE_UINT16(COUNTDOWN + _pCount * 4); - int xp = READ_LE_UINT16(COUNTDOWN + _pCount * 4 + 2); - _screen->plotImage(_objectsTable[0], id, Common::Point(xp, 71)); - } - // TODO: More to do - - delete _objectsTable[0]; - */ -} - -void MartianEngine::doOpening() { - warning("TODO doOpening"); -} - void MartianEngine::setupGame() { // Setup timers diff --git a/engines/access/martian/martian_game.h b/engines/access/martian/martian_game.h index e1606d7558..99d4926964 100644 --- a/engines/access/martian/martian_game.h +++ b/engines/access/martian/martian_game.h @@ -42,16 +42,6 @@ private: bool showCredits(); /** - * Do title sequence - */ - void doTitle(); - - /** - * Do opening sequence - */ - void doOpening(); - - /** * Setup variables for the game */ void setupGame(); |