diff options
author | Eugene Sandulenko | 2013-08-11 13:39:05 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:12 +0300 |
commit | cee12678dca97e52f57c926f646530cb3e23b176 (patch) | |
tree | df1436c2801f0310aff2eac1a7a01931150e8ff1 /engines/fullpipe/stateloader.cpp | |
parent | 60ca9f74ac8dfbfcee4bdae3ffbce039fce42854 (diff) | |
download | scummvm-rg350-cee12678dca97e52f57c926f646530cb3e23b176.tar.gz scummvm-rg350-cee12678dca97e52f57c926f646530cb3e23b176.tar.bz2 scummvm-rg350-cee12678dca97e52f57c926f646530cb3e23b176.zip |
FULLPIPE: Implement sceneHandler01()
Diffstat (limited to 'engines/fullpipe/stateloader.cpp')
-rw-r--r-- | engines/fullpipe/stateloader.cpp | 60 |
1 files changed, 1 insertions, 59 deletions
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 |