aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
diff options
context:
space:
mode:
authorMax Horn2010-11-07 01:03:29 +0000
committerMax Horn2010-11-07 01:03:29 +0000
commitb4787d94301e4ef1ba5b2f7135fbcb0b6d3de6b8 (patch)
tree6d5815aff1421bf297867beb67f474c4fda9d3d0 /engines/mohawk/myst.cpp
parent90b6cdfbdff3e75a034c748d6d8784a0df7f5db4 (diff)
downloadscummvm-rg350-b4787d94301e4ef1ba5b2f7135fbcb0b6d3de6b8.tar.gz
scummvm-rg350-b4787d94301e4ef1ba5b2f7135fbcb0b6d3de6b8.tar.bz2
scummvm-rg350-b4787d94301e4ef1ba5b2f7135fbcb0b6d3de6b8.zip
MOHAWK: Convert all printf to debugN calls
This involves some nasty decisions, like mixing debugN and DebugPrintf calls in the RivenConsole. I added FIXME comments about this. svn-id: r54107
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r--engines/mohawk/myst.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index 6ed7a313a0..b351f611e3 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -1396,9 +1396,9 @@ MystResourceType10::MystResourceType10(MohawkEngine_Myst *vm, Common::SeekableRe
// TODO: Not sure about order of Mouse Down, Mouse Drag and Mouse Up
// Or whether this is slightly different...
- printf("Type 10 _mouseDownOpcode: %d\n", _mouseDownOpcode);
- printf("Type 10 _mouseDragOpcode: %d\n", _mouseDragOpcode);
- printf("Type 10 _mouseUpOpcode: %d\n", _mouseUpOpcode);
+ debugCN(kDebugResource, "Type 10 _mouseDownOpcode: %d\n", _mouseDownOpcode);
+ debugCN(kDebugResource, "Type 10 _mouseDragOpcode: %d\n", _mouseDragOpcode);
+ debugCN(kDebugResource, "Type 10 _mouseUpOpcode: %d\n", _mouseUpOpcode);
for (byte i = 0; i < 4; i++) {
debugC(kDebugResource, "\tList %d:", i);
@@ -1452,9 +1452,9 @@ MystResourceType11::MystResourceType11(MohawkEngine_Myst *vm, Common::SeekableRe
// TODO: Not sure about order of Mouse Down, Mouse Drag and Mouse Up
// Or whether this is slightly different...
- printf("Type 11 _mouseDownOpcode: %d\n", _mouseDownOpcode);
- printf("Type 11 _mouseDragOpcode: %d\n", _mouseDragOpcode);
- printf("Type 11 _mouseUpOpcode: %d\n", _mouseUpOpcode);
+ debugCN(kDebugResource, "Type 11 _mouseDownOpcode: %d\n", _mouseDownOpcode);
+ debugCN(kDebugResource, "Type 11 _mouseDragOpcode: %d\n", _mouseDragOpcode);
+ debugCN(kDebugResource, "Type 11 _mouseUpOpcode: %d\n", _mouseUpOpcode);
for (byte i = 0; i < 3; i++) {
debugC(kDebugResource, "\tList %d:", i);
@@ -1511,14 +1511,14 @@ MystResourceType12::MystResourceType12(MohawkEngine_Myst *vm, Common::SeekableRe
// TODO: Think that u0 and u1 are animation frames to be
// drawn for var == 0 and var == 1
- printf("Type 12 _state0Frame: %d\n", _state0Frame);
- printf("Type 12 _state1Frame: %d\n", _state1Frame);
+ debugCN(kDebugResource, "Type 12 _state0Frame: %d\n", _state0Frame);
+ debugCN(kDebugResource, "Type 12 _state1Frame: %d\n", _state1Frame);
// TODO: Not sure about order of Mouse Down, Mouse Drag and Mouse Up
// Or whether this is slightly different...
- printf("Type 12 _mouseDownOpcode: %d\n", _mouseDownOpcode);
- printf("Type 12 _mouseDragOpcode: %d\n", _mouseDragOpcode);
- printf("Type 12 _mouseUpOpcode: %d\n", _mouseUpOpcode);
+ debugCN(kDebugResource, "Type 12 _mouseDownOpcode: %d\n", _mouseDownOpcode);
+ debugCN(kDebugResource, "Type 12 _mouseDragOpcode: %d\n", _mouseDragOpcode);
+ debugCN(kDebugResource, "Type 12 _mouseUpOpcode: %d\n", _mouseUpOpcode);
for (byte i = 0; i < 3; i++) {
debugC(kDebugResource, "\tList %d:", i);