aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file_v3d.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2010-10-21 17:09:57 +0000
committerArnaud Boutonné2010-10-21 17:09:57 +0000
commit0101a0e0bb7076c19b243c7f5ae2004653e5fc45 (patch)
treea39c61adc6a8d5556c5fea5f53382c41023279aa /engines/hugo/file_v3d.cpp
parentd251521f63b0d3d0e8dbaf16a867b043e6ddfedb (diff)
downloadscummvm-rg350-0101a0e0bb7076c19b243c7f5ae2004653e5fc45.tar.gz
scummvm-rg350-0101a0e0bb7076c19b243c7f5ae2004653e5fc45.tar.bz2
scummvm-rg350-0101a0e0bb7076c19b243c7f5ae2004653e5fc45.zip
HUGO: Moved _objects to a separate file
also suppressed some dereferencing svn-id: r53674
Diffstat (limited to 'engines/hugo/file_v3d.cpp')
-rw-r--r--engines/hugo/file_v3d.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hugo/file_v3d.cpp b/engines/hugo/file_v3d.cpp
index e4809a7208..095a225a39 100644
--- a/engines/hugo/file_v3d.cpp
+++ b/engines/hugo/file_v3d.cpp
@@ -39,7 +39,7 @@
#include "hugo/util.h"
namespace Hugo {
-FileManager_v3d::FileManager_v3d(HugoEngine &vm) : FileManager_v2d(vm) {
+FileManager_v3d::FileManager_v3d(HugoEngine *vm) : FileManager_v2d(vm) {
}
FileManager_v3d::~FileManager_v3d() {
@@ -65,11 +65,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
- readPCX(_sceneryArchive1, &dummySeq, _vm.screen().getFrontBuffer(), true, _vm._screenNames[screenIndex]);
+ readPCX(_sceneryArchive1, &dummySeq, _vm->_screen->getFrontBuffer(), true, _vm->_screenNames[screenIndex]);
} else {
_sceneryArchive2.seek(sceneBlock.scene_off, SEEK_SET);
// Read the image into dummy seq and static dib_a
- readPCX(_sceneryArchive2, &dummySeq, _vm.screen().getFrontBuffer(), true, _vm._screenNames[screenIndex]);
+ readPCX(_sceneryArchive2, &dummySeq, _vm->_screen->getFrontBuffer(), true, _vm->_screenNames[screenIndex]);
}
}