[Scummvm-cvs-logs] SF.net SVN: scummvm:[33890] scummvm/trunk/engines/parallaction

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Fri Aug 15 05:36:02 CEST 2008


Revision: 33890
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33890&view=rev
Author:   peres001
Date:     2008-08-15 03:36:01 +0000 (Fri, 15 Aug 2008)

Log Message:
-----------
Disabled lip syncing code in BRA, since I couldn't find any scripts actually using it. Some warnings have been added as a sentinel.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/callables_br.cpp
    scummvm/trunk/engines/parallaction/exec_br.cpp
    scummvm/trunk/engines/parallaction/parallaction.h
    scummvm/trunk/engines/parallaction/parser_br.cpp

Modified: scummvm/trunk/engines/parallaction/callables_br.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/callables_br.cpp	2008-08-15 02:52:42 UTC (rev 33889)
+++ scummvm/trunk/engines/parallaction/callables_br.cpp	2008-08-15 03:36:01 UTC (rev 33890)
@@ -41,7 +41,7 @@
 }
 
 void Parallaction_br::_c_lipsinc(void*) {
-	warning("Parallaction_br::_c_lipsinc() not yet implemented");
+	warning("Unexpected lipsinc routine call! Please notify the team!");
 }
 
 void Parallaction_br::_c_albcycle(void*) {

Modified: scummvm/trunk/engines/parallaction/exec_br.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/exec_br.cpp	2008-08-15 02:52:42 UTC (rev 33889)
+++ scummvm/trunk/engines/parallaction/exec_br.cpp	2008-08-15 03:36:01 UTC (rev 33890)
@@ -97,8 +97,9 @@
 	} else {
 		_subtitle[1] = -1;
 	}
-
+#if 0	// disabled because no references to lip sync has been found in the scripts
 	_subtitleLipSync = 0;
+#endif
 }
 
 void Parallaction_br::clearSubtitles() {

Modified: scummvm/trunk/engines/parallaction/parallaction.h
===================================================================
--- scummvm/trunk/engines/parallaction/parallaction.h	2008-08-15 02:52:42 UTC (rev 33889)
+++ scummvm/trunk/engines/parallaction/parallaction.h	2008-08-15 03:36:01 UTC (rev 33890)
@@ -625,8 +625,10 @@
 	int			_part;
 	int			_progress;
 
+#if 0	// disabled since I couldn't find any references to lip sync in the scripts
 	int16		_lipSyncVal;
 	uint		_subtitleLipSync;
+#endif
 	int			_subtitleY;
 	int			_subtitle[2];
 

Modified: scummvm/trunk/engines/parallaction/parser_br.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parser_br.cpp	2008-08-15 02:52:42 UTC (rev 33889)
+++ scummvm/trunk/engines/parallaction/parser_br.cpp	2008-08-15 03:36:01 UTC (rev 33890)
@@ -1009,7 +1009,10 @@
 		v.setRandom(atoi(&str[1]));
 	} else
 	if (str[0] == 'L') {
+#if 0	// disabled because no references to lip sync has been found in the scripts
 		v.setField(&_vm->_lipSyncVal);
+#endif
+		warning("Lip sync instruction encountered! Please notify the team!");
 	}
 
 }


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