aboutsummaryrefslogtreecommitdiff
path: root/engines/access/martian
diff options
context:
space:
mode:
authorStrangerke2014-12-31 13:13:47 +0100
committerStrangerke2014-12-31 13:13:47 +0100
commitf6fb26ea664184669f6b2a576831325d852ea71f (patch)
tree2a53d4dfec377481ed7498d15022beddfbc311a4 /engines/access/martian
parent3ac8a26cb950f63c2f3b25995d268a30b470d1fd (diff)
downloadscummvm-rg350-f6fb26ea664184669f6b2a576831325d852ea71f.tar.gz
scummvm-rg350-f6fb26ea664184669f6b2a576831325d852ea71f.tar.bz2
scummvm-rg350-f6fb26ea664184669f6b2a576831325d852ea71f.zip
ACCESS: MM - Remove unused intro functions, fix display in showCredits
Diffstat (limited to 'engines/access/martian')
-rw-r--r--engines/access/martian/martian_game.cpp51
-rw-r--r--engines/access/martian/martian_game.h10
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();