diff options
author | Filippos Karapetis | 2015-12-04 21:18:41 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:50 +0100 |
commit | a182a6af1a71a3140c7cb40d2df3595ea3ad0a90 (patch) | |
tree | 9053993516c4e4661bf9cab29e7398cbd59c2304 /engines/lab/lab.cpp | |
parent | d376fd8dd0b8676dbf1d27d400d78e5a292f05db (diff) | |
download | scummvm-rg350-a182a6af1a71a3140c7cb40d2df3595ea3ad0a90.tar.gz scummvm-rg350-a182a6af1a71a3140c7cb40d2df3595ea3ad0a90.tar.bz2 scummvm-rg350-a182a6af1a71a3140c7cb40d2df3595ea3ad0a90.zip |
LAB: Rewrite picture handling and get rid of the memory manager
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r-- | engines/lab/lab.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index a8baec2bd1..ef7554456a 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -397,7 +397,6 @@ void LabEngine::doTile(bool showsolution) { void LabEngine::showTile(const char *filename, bool showsolution) { uint16 start = showsolution ? 0 : 1; - resetBuffer(); _anim->_doBlack = true; _anim->_noPalChange = true; _graphics->readPict(filename, true); @@ -411,8 +410,6 @@ void LabEngine::showTile(const char *filename, bool showsolution) { delete tileFile; - allocFile((void **)&_tempScrollData, Tiles[1]->_width * Tiles[1]->_height * 2L, "tempdata"); - doTile(showsolution); setPalette(_anim->_diffPalette, 256); } @@ -521,7 +518,6 @@ void LabEngine::doCombination() { /* Reads in a backdrop picture. */ /*****************************************************************************/ void LabEngine::showCombination(const char *filename) { - resetBuffer(); _anim->_doBlack = true; _anim->_noPalChange = true; _graphics->readPict(filename, true); @@ -536,8 +532,6 @@ void LabEngine::showCombination(const char *filename) { delete numFile; - allocFile((void **)&_tempScrollData, Images[0]->_width * Images[0]->_height * 2L, "tempdata"); - doCombination(); setPalette(_anim->_diffPalette, 256); |