diff options
Diffstat (limited to 'engines/access/room.cpp')
-rw-r--r-- | engines/access/room.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/access/room.cpp b/engines/access/room.cpp index 80ab3329ac..fb70e35ee0 100644 --- a/engines/access/room.cpp +++ b/engines/access/room.cpp @@ -144,7 +144,7 @@ void Room::clearRoom() { _vm->_sound->freeSounds(); _vm->_numAnimTimers = 0; - _vm->freeAnimationData(); + _vm->_animation->freeAnimationData(); _vm->_scripts->freeScriptData(); _vm->freeCells(); freePlayField(); @@ -198,9 +198,9 @@ void Room::loadRoomData(const byte *roomData) { roomInfo._scriptFile._subfile); // Load animation data - _vm->freeAnimationData(); + _vm->_animation->freeAnimationData(); if (roomInfo._animFile._fileNum != -1) - _vm->_anim = _vm->_files->loadFile(roomInfo._animFile._fileNum, + _vm->_animation->_anim = _vm->_files->loadFile(roomInfo._animFile._fileNum, roomInfo._animFile._subfile); _vm->_scaleI = roomInfo._scaleI; @@ -312,6 +312,10 @@ void Room::buildColumn(int playX, int screenX) { } } +void Room::init4Quads() { + error("TODO: init4Quads"); +} + /*------------------------------------------------------------------------*/ RoomInfo::RoomInfo(const byte *data) { |