aboutsummaryrefslogtreecommitdiff
path: root/engines/composer/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/composer/resource.h')
-rw-r--r--engines/composer/resource.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/composer/resource.h b/engines/composer/resource.h
index 9e297e132a..fc4e20a2cd 100644
--- a/engines/composer/resource.h
+++ b/engines/composer/resource.h
@@ -116,13 +116,11 @@ public:
Common::SeekableReadStream *getResource(uint32 tag, uint16 id, bool buffering);
virtual const Common::Array<uint16> *getScripts() { return NULL; }
-#ifdef SAVING_ANYWHERE
uint16 getPipeId() const { return _pipeId; }
virtual uint32 getOffset() const { return _offset; }
virtual void setOffset(uint32 offset) { while (_offset < offset) nextFrame(); }
typedef Common::HashMap<uint32, Common::List<uint16> > DelMap;
DelMap _bufferedResources;
-#endif
protected:
Common::SeekableReadStream *_stream;
@@ -130,9 +128,7 @@ protected:
typedef Common::HashMap<uint16, PipeResource> ResourceMap;
typedef Common::HashMap<uint32, ResourceMap> TypeMap;
TypeMap _types;
-#ifdef SAVING_ANYWHERE
uint16 _pipeId;
-#endif
uint32 _offset;
};
@@ -143,10 +139,8 @@ public:
void nextFrame();
const Common::Array<uint16> *getScripts() { return &_scripts; }
-#ifdef SAVING_ANYWHERE
uint32 getOffset() const { return _currFrame; }
void setOffset(uint32 offset) { while (_currFrame < offset) nextFrame(); }
-#endif
protected:
uint32 _currFrame, _numFrames;