aboutsummaryrefslogtreecommitdiff
path: root/engines/composer
diff options
context:
space:
mode:
authorAlyssa Milburn2011-07-18 21:18:40 +0200
committerAlyssa Milburn2011-07-18 21:18:40 +0200
commite99f82368ae961dab835d6e724cac6c0595f5aa5 (patch)
tree5cdbe14aaad06b4222a90227709abac0fd60827f /engines/composer
parent06ca31d6426c9fc605f1a25c4dd17e9ec1394e2a (diff)
downloadscummvm-rg350-e99f82368ae961dab835d6e724cac6c0595f5aa5.tar.gz
scummvm-rg350-e99f82368ae961dab835d6e724cac6c0595f5aa5.tar.bz2
scummvm-rg350-e99f82368ae961dab835d6e724cac6c0595f5aa5.zip
COMPOSER: Remove outdated comments.
Diffstat (limited to 'engines/composer')
-rw-r--r--engines/composer/composer.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/engines/composer/composer.cpp b/engines/composer/composer.cpp
index 34608be417..4ec3c1e356 100644
--- a/engines/composer/composer.cpp
+++ b/engines/composer/composer.cpp
@@ -145,7 +145,6 @@ bool Sprite::contains(const Common::Point &pos) const {
return (pixels[(_surface.h - adjustedPos.y - 1) * _surface.w + adjustedPos.x] != 0);
}
-// TODO: params: x, y, event param for done
Animation::Animation(Common::SeekableReadStream *stream, uint16 id, Common::Point basePos, uint32 eventParam)
: _stream(stream), _id(id), _basePos(basePos), _eventParam(eventParam) {
uint32 size = _stream->readUint32LE();
@@ -445,7 +444,6 @@ void ComposerEngine::playWaveForAnim(uint16 id, uint16 priority, bool bufferingO
if (!stream)
return;
// FIXME: non-pipe buffers have fixed wav header (data at +44, size at +40)
- // FIXME: deal with word6 (priority)
byte *buffer = (byte *)malloc(stream->size());
stream->read(buffer, stream->size());
if (!_audioStream)
@@ -974,15 +972,8 @@ void ComposerEngine::loadLibrary(uint id) {
library._archive = new ComposerArchive();
if (!library._archive->openFile(filename))
error("failed to open '%s'", filename.c_str());
- // FIXME: push in front?
_libraries.push_front(library);
- /*Common::SeekableReadStream *stream = _archive->getResource(ID_ANIM, 1004);
- byte buf[stream->size()];
- stream->read(buf, stream->size());
- Common::hexdump(buf, stream->size());
- delete stream;*/
-
Common::Array<uint16> buttonResources = library._archive->getResourceIDList(ID_BUTN);
for (uint i = 0; i < buttonResources.size(); i++) {
uint16 buttonId = buttonResources[i];