[Scummvm-cvs-logs] SF.net SVN: scummvm:[52247] scummvm/trunk/engines/gob

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Sat Aug 21 00:23:12 CEST 2010


Revision: 52247
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52247&view=rev
Author:   strangerke
Date:     2010-08-20 22:23:12 +0000 (Fri, 20 Aug 2010)

Log Message:
-----------
GOB: Add an initGame() for Fascination.
Added in order to suppress the speaker and the adlib flag. When the speaker flag is set, some sounds are skipped. The adlib flag will be required the day the MDY/TBR player will work: SB music for the moment

Modified Paths:
--------------
    scummvm/trunk/engines/gob/init.h
    scummvm/trunk/engines/gob/init_fascin.cpp

Modified: scummvm/trunk/engines/gob/init.h
===================================================================
--- scummvm/trunk/engines/gob/init.h	2010-08-20 22:14:48 UTC (rev 52246)
+++ scummvm/trunk/engines/gob/init.h	2010-08-20 22:23:12 UTC (rev 52247)
@@ -97,6 +97,7 @@
 	~Init_Fascination();
 
 	void updateConfig();
+	void initGame();
 };
 } // End of namespace Gob
 

Modified: scummvm/trunk/engines/gob/init_fascin.cpp
===================================================================
--- scummvm/trunk/engines/gob/init_fascin.cpp	2010-08-20 22:14:48 UTC (rev 52246)
+++ scummvm/trunk/engines/gob/init_fascin.cpp	2010-08-20 22:23:12 UTC (rev 52247)
@@ -46,4 +46,12 @@
 	_vm->_global->_doSubtitles = true;
 }
 
+void Init_Fascination::initGame() {
+	// HACK - Suppress ADLIB_FLAG as the MDY/TBR player is not working. suppress the honker too,
+	// as the script checks in the intro for it's presence to play or not some noices.
+	_vm->_global->_soundFlags = MIDI_FLAG | BLASTER_FLAG;
+
+	Init::initGame();
+}
+
 } // End of namespace Gob


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