aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2013-12-18 20:51:50 +0100
committerMartin Kiewitz2013-12-18 20:51:50 +0100
commit60de25fb69f4821e601fb9fb7a3076e2586a7268 (patch)
tree82e88465d5bd2af94ffd83b9f58070049c3c611f /engines
parentedd00bec6791af94b78959741d3176511f0715d9 (diff)
downloadscummvm-rg350-60de25fb69f4821e601fb9fb7a3076e2586a7268.tar.gz
scummvm-rg350-60de25fb69f4821e601fb9fb7a3076e2586a7268.tar.bz2
scummvm-rg350-60de25fb69f4821e601fb9fb7a3076e2586a7268.zip
SCI: debug code to print out kq6 raw lipsync data
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/portrait.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/sci/graphics/portrait.cpp b/engines/sci/graphics/portrait.cpp
index 7217af51f7..e2abe32a45 100644
--- a/engines/sci/graphics/portrait.cpp
+++ b/engines/sci/graphics/portrait.cpp
@@ -190,6 +190,16 @@ void Portrait::doit(Common::Point position, uint16 resourceId, uint16 noun, uint
uint syncOffset = 0;
#endif
+#if 0
+ // prints out the current lip sync ASCII data
+ char debugPrint[4000];
+ if (raveResource->size < 4000) {
+ memcpy(debugPrint, raveResource->data, raveResource->size);
+ debugPrint[raveResource->size] = 0; // set terminating NUL
+ debug("kPortrait: %s", debugPrint);
+ }
+#endif
+
// TODO: play through the game if this is 100% accurate
// TODO: maybe try to create the missing sync resources for low-res KQ6 out of the rave resources