[Scummvm-cvs-logs] scummvm master -> 60de25fb69f4821e601fb9fb7a3076e2586a7268

m-kiewitz m_kiewitz at users.sourceforge.net
Wed Dec 18 20:52:26 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
60de25fb69 SCI: debug code to print out kq6 raw lipsync data


Commit: 60de25fb69f4821e601fb9fb7a3076e2586a7268
    https://github.com/scummvm/scummvm/commit/60de25fb69f4821e601fb9fb7a3076e2586a7268
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2013-12-18T11:51:50-08:00

Commit Message:
SCI: debug code to print out kq6 raw lipsync data

Changed paths:
    engines/sci/graphics/portrait.cpp



diff --git a/engines/sci/graphics/portrait.cpp b/engines/sci/graphics/portrait.cpp
index 7217af5..e2abe32 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
 






More information about the Scummvm-git-logs mailing list