From cee12678dca97e52f57c926f646530cb3e23b176 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 11 Aug 2013 13:39:05 +0300 Subject: FULLPIPE: Implement sceneHandler01() --- engines/fullpipe/stateloader.cpp | 60 +--------------------------------------- 1 file changed, 1 insertion(+), 59 deletions(-) (limited to 'engines/fullpipe/stateloader.cpp') diff --git a/engines/fullpipe/stateloader.cpp b/engines/fullpipe/stateloader.cpp index bdfeb92b36..3cc4d0046f 100644 --- a/engines/fullpipe/stateloader.cpp +++ b/engines/fullpipe/stateloader.cpp @@ -30,6 +30,7 @@ #include "fullpipe/gameloader.h" #include "fullpipe/scene.h" #include "fullpipe/statics.h" +#include "fullpipe/interaction.h" #include "fullpipe/constants.h" @@ -142,53 +143,6 @@ GameProject::~GameProject() { free(_headerFilename); } -bool CInteractionController::load(MfcArchive &file) { - debug(5, "CInteractionController::load()"); - - return _interactions.load(file); -} - -void CInteractionController::sortInteractions(int sceneId) { - warning("STUB: CInteractionController::sortInteractions(%d)", sceneId); -} - -CInteraction::CInteraction() { - _objectId1 = 0; - _objectId2 = 0; - _staticsId1 = 0; - _objectId3 = 0; - _objectState2 = 0; - _objectState1 = 0; - _messageQueue = 0; - _flags = 0; - _yOffs = 0; - _xOffs = 0; - _staticsId2 = 0; - _field_28 = 0; - _sceneId = -1; -} - -bool CInteraction::load(MfcArchive &file) { - debug(5, "CInteraction::load()"); - - _objectId1 = file.readUint16LE(); - _objectId2 = file.readUint16LE(); - _staticsId1 = file.readUint16LE(); - _staticsId2 = file.readUint16LE(); - _objectId3 = file.readUint16LE(); - _objectState2 = file.readUint32LE(); - _objectState1 = file.readUint32LE(); - _xOffs = file.readUint32LE(); - _yOffs = file.readUint32LE(); - _sceneId = file.readUint32LE(); - _flags = file.readUint32LE(); - _actionName = file.readPascalString(); - - _messageQueue = (MessageQueue *)file.readClass(); - - return true; -} - bool PreloadItems::load(MfcArchive &file) { debug(5, "PreloadItems::load()"); @@ -440,16 +394,4 @@ bool PicAniInfo::load(MfcArchive &file) { return true; } -bool EntranceInfo::load(MfcArchive &file) { - debug(5, "EntranceInfo::load()"); - - _sceneId = file.readUint32LE(); - _field_4 = file.readUint32LE(); - _messageQueueId = file.readUint32LE(); - file.read(_gap_C, 292); // FIXME, Ugh - _field_130 = file.readUint32LE(); - - return true; -} - } // End of namespace Fullpipe -- cgit v1.2.3