diff options
author | Arnaud Boutonné | 2011-01-25 00:32:48 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2011-01-25 00:32:48 +0000 |
commit | 2846ce14f35afc029fe058b3ed50c229ef856615 (patch) | |
tree | e44461ea67bd915b730d6d68fc8470243e3b15a5 /engines/hugo/file_v3d.cpp | |
parent | 45a4dfa44d595d3c81858b46f9896fdbf6ea02ad (diff) | |
download | scummvm-rg350-2846ce14f35afc029fe058b3ed50c229ef856615.tar.gz scummvm-rg350-2846ce14f35afc029fe058b3ed50c229ef856615.tar.bz2 scummvm-rg350-2846ce14f35afc029fe058b3ed50c229ef856615.zip |
HUGO: Move text arrays to a separate class
svn-id: r55507
Diffstat (limited to 'engines/hugo/file_v3d.cpp')
-rw-r--r-- | engines/hugo/file_v3d.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/hugo/file_v3d.cpp b/engines/hugo/file_v3d.cpp index 45ed225c85..26d7b4e4ad 100644 --- a/engines/hugo/file_v3d.cpp +++ b/engines/hugo/file_v3d.cpp @@ -35,6 +35,7 @@ #include "hugo/hugo.h" #include "hugo/file.h" #include "hugo/display.h" +#include "hugo/text.h" #include "hugo/util.h" namespace Hugo { @@ -66,11 +67,11 @@ void FileManager_v3d::readBackground(int screenIndex) { if (screenIndex < 20) { _sceneryArchive1.seek(sceneBlock.scene_off, SEEK_SET); // Read the image into dummy seq and static dib_a - dummySeq = readPCX(_sceneryArchive1, 0, _vm->_screen->getFrontBuffer(), true, _vm->_screenNames[screenIndex]); + dummySeq = readPCX(_sceneryArchive1, 0, _vm->_screen->getFrontBuffer(), true, _vm->_text->getScreenNames(screenIndex)); } else { _sceneryArchive2.seek(sceneBlock.scene_off, SEEK_SET); // Read the image into dummy seq and static dib_a - dummySeq = readPCX(_sceneryArchive2, 0, _vm->_screen->getFrontBuffer(), true, _vm->_screenNames[screenIndex]); + dummySeq = readPCX(_sceneryArchive2, 0, _vm->_screen->getFrontBuffer(), true, _vm->_text->getScreenNames(screenIndex)); } free(dummySeq); } |