aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/stateloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/stateloader.cpp')
-rw-r--r--engines/fullpipe/stateloader.cpp60
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