aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-06-18 17:27:17 -0400
committerEugene Sandulenko2013-09-06 14:48:13 +0300
commit2e6bad888e02952e980dfc33978673bda0349030 (patch)
tree750482ffc23fa7f886183834fd23340f3809d38c /engines/fullpipe/motion.cpp
parentfcf0d240d0266fa89073e12d2a15a045b6bdfe65 (diff)
downloadscummvm-rg350-2e6bad888e02952e980dfc33978673bda0349030.tar.gz
scummvm-rg350-2e6bad888e02952e980dfc33978673bda0349030.tar.bz2
scummvm-rg350-2e6bad888e02952e980dfc33978673bda0349030.zip
FULLPIPE: Put debug output at deeper levels
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r--engines/fullpipe/motion.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index f10388a98e..ec6a8bdb36 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -42,16 +42,17 @@ bool CMotionController::load(MfcArchive &file) {
bool CMctlCompound::load(MfcArchive &file) {
int count = file.readUint32LE();
- debug(0, "CMctlCompound::count = %d", count);
+ debug(6, "CMctlCompound::count = %d", count);
for (int i = 0; i < count; i++) {
- debug(0, "CompoundArray[%d]", i);
+ debug(6, "CompoundArray[%d]", i);
CMctlCompoundArrayItem *obj = (CMctlCompoundArrayItem *)file.readClass();
int count1 = file.readUint32LE();
+ debug(6, "ConnectionPoint::count: %d", count1);
for (int j = 0; j < count1; j++) {
- debug(0, "ConnectionPoint[%d]", j);
+ debug(6, "ConnectionPoint[%d]", j);
CMctlConnectionPoint *obj1 = (CMctlConnectionPoint *)file.readClass();
obj->_connectionPoints.push_back(*obj1);
@@ -60,6 +61,7 @@ bool CMctlCompound::load(MfcArchive &file) {
obj->_field_20 = file.readUint32LE();
obj->_field_24 = file.readUint32LE();
+ debug(6, "graphReact");
obj->_movGraphReactObj = (CMovGraphReact *)file.readClass();
_motionControllers.push_back(*obj);
@@ -73,6 +75,8 @@ bool CMctlCompoundArray::load(MfcArchive &file) {
debug(0, "CMctlCompoundArray::count = %d", count);
+ assert(0);
+
return true;
}
@@ -108,15 +112,15 @@ bool CMovGraphLink::load(MfcArchive &file) {
_flags = file.readUint32LE();
- debug(0, "GraphNode1");
+ debug(8, "GraphNode1");
_movGraphNode1 = (CMovGraphNode *)file.readClass();
- debug(0, "GraphNode2");
+ debug(8, "GraphNode2");
_movGraphNode2 = (CMovGraphNode *)file.readClass();
_distance = file.readDouble();
_angle = file.readDouble();
- debug(0, "distance: %g, angle: %g", _distance, _angle);
+ debug(8, "distance: %g, angle: %g", _distance, _angle);
_movGraphReact = (CMovGraphReact *)file.readClass();
_name = file.readPascalString();