diff options
-rw-r--r-- | engines/toltecs/movie.cpp | 1 | ||||
-rw-r--r-- | engines/toltecs/screen.cpp | 4 | ||||
-rw-r--r-- | engines/toltecs/screen.h | 1 | ||||
-rw-r--r-- | engines/toltecs/toltecs.cpp | 5 |
4 files changed, 0 insertions, 11 deletions
diff --git a/engines/toltecs/movie.cpp b/engines/toltecs/movie.cpp index 8bc00511e9..20a4bdfb72 100644 --- a/engines/toltecs/movie.cpp +++ b/engines/toltecs/movie.cpp @@ -67,7 +67,6 @@ void MoviePlayer::playMovie(uint resIndex) { memset(moviePalette, 0, sizeof(moviePalette)); _vm->_screen->finishTalkTextItems(); - _vm->_screen->clearSprites(); _vm->_arc->openResource(resIndex); diff --git a/engines/toltecs/screen.cpp b/engines/toltecs/screen.cpp index 1cd2373b43..5e12773e1b 100644 --- a/engines/toltecs/screen.cpp +++ b/engines/toltecs/screen.cpp @@ -251,10 +251,6 @@ void Screen::addAnimatedSprite(int16 x, int16 y, int16 fragmentId, byte *data, i } } -void Screen::clearSprites() { - -} - void Screen::blastSprite(int16 x, int16 y, int16 fragmentId, int16 resIndex, uint16 flags) { DrawRequest drawRequest; SpriteDrawItem sprite; diff --git a/engines/toltecs/screen.h b/engines/toltecs/screen.h index 52f412251e..7b2149fded 100644 --- a/engines/toltecs/screen.h +++ b/engines/toltecs/screen.h @@ -167,7 +167,6 @@ public: // Sprite list void addStaticSprite(byte *spriteItem); void addAnimatedSprite(int16 x, int16 y, int16 fragmentId, byte *data, int16 *spriteArray, bool loop, int mode); - void clearSprites(); // Sprite drawing void drawSprite(const SpriteDrawItem &sprite); diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp index 1a399dacc0..188facd63c 100644 --- a/engines/toltecs/toltecs.cpp +++ b/engines/toltecs/toltecs.cpp @@ -153,7 +153,6 @@ Common::Error ToltecsEngine::run() { _palette->loadAddPalette(9, 224); _palette->setDeltaPalette(_palette->getMainPalette(), 7, 0, 31, 224); _screen->finishTalkTextItems(); - _screen->clearSprites(); _menuSystem->run(); /* while (1) { @@ -280,7 +279,6 @@ void ToltecsEngine::updateScreen() { _flag01 = 1; _counter02 = 1; } else { - _screen->clearSprites(); _flag01 = 0; } @@ -425,8 +423,6 @@ void ToltecsEngine::setGuiHeight(int16 guiHeight) { void ToltecsEngine::setCamera(int16 x, int16 y) { _screen->finishTalkTextItems(); - _screen->clearSprites(); - _cameraX = x; _newCameraX = x; @@ -646,7 +642,6 @@ void ToltecsEngine::showMenu(MenuID menuId) { _palette->loadAddPalette(9, 224); _palette->setDeltaPalette(_palette->getMainPalette(), 7, 0, 31, 224); _screen->finishTalkTextItems(); - _screen->clearSprites(); CursorMan.showMouse(true); _menuSystem->run(menuId); _keyState.reset(); |