[Scummvm-cvs-logs] SF.net SVN: scummvm:[54797] scummvm/trunk/engines/mohawk
fuzzie at users.sourceforge.net
fuzzie at users.sourceforge.net
Mon Dec 6 14:49:56 CET 2010
Revision: 54797
http://scummvm.svn.sourceforge.net/scummvm/?rev=54797&view=rev
Author: fuzzie
Date: 2010-12-06 13:49:56 +0000 (Mon, 06 Dec 2010)
Log Message:
-----------
MOHAWK: finish kLBSetPlayInfo reading
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/livingbooks.cpp
scummvm/trunk/engines/mohawk/livingbooks.h
Modified: scummvm/trunk/engines/mohawk/livingbooks.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.cpp 2010-12-06 01:56:42 UTC (rev 54796)
+++ scummvm/trunk/engines/mohawk/livingbooks.cpp 2010-12-06 13:49:56 UTC (rev 54797)
@@ -1546,14 +1546,15 @@
LBItem::LBItem(MohawkEngine_LivingBooks *vm, Common::Rect rect) : _vm(vm), _rect(rect) {
_phase = 0;
- _timingMode = 0;
+
+ _loopMode = 0;
_delayMin = 0;
_delayMax = 0;
- _loopMode = 0;
- _loopCount = 0;
+ _timingMode = 0;
_periodMin = 0;
_periodMax = 0;
_controlMode = 0;
+ _soundMode = 0;
_neverEnabled = true;
_enabled = false;
@@ -1727,14 +1728,13 @@
_relocPoint.x = stream->readSint16();
_relocPoint.y = stream->readSint16();
_controlMode = stream->readUint16();
- uint16 unknown10 = stream->readUint16();
- // TODO: unknowns
+ _soundMode = stream->readUint16();
- debug(2, "kLBSetPlayInfo: loop mode %d (%d to %d), timing mode %d (%d to %d), reloc (%d, %d), unknowns %04x, %04x",
+ debug(2, "kLBSetPlayInfo: loop mode %d (%d to %d), timing mode %d (%d to %d), reloc (%d, %d), control mode %04x, sound mode %04x",
_loopMode, _delayMin, _delayMax,
_timingMode, _periodMin, _periodMax,
_relocPoint.x, _relocPoint.y,
- _controlMode, unknown10);
+ _controlMode, _soundMode);
}
break;
Modified: scummvm/trunk/engines/mohawk/livingbooks.h
===================================================================
--- scummvm/trunk/engines/mohawk/livingbooks.h 2010-12-06 01:56:42 UTC (rev 54796)
+++ scummvm/trunk/engines/mohawk/livingbooks.h 2010-12-06 13:49:56 UTC (rev 54797)
@@ -304,8 +304,8 @@
uint16 _loops;
uint16 _phase, _timingMode, _delayMin, _delayMax;
- uint16 _loopMode, _loopCount, _periodMin, _periodMax;
- uint16 _controlMode;
+ uint16 _loopMode, _periodMin, _periodMax;
+ uint16 _controlMode, _soundMode;
Common::Point _relocPoint;
bool _isAmbient;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list