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

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Sat Apr 25 02:01:53 CEST 2009


Revision: 40136
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40136&view=rev
Author:   strangerke
Date:     2009-04-25 00:01:53 +0000 (Sat, 25 Apr 2009)

Log Message:
-----------
Complete general function 0 and 1 based on DrMcCoy suggestion (Hardcoded IMD loading and playing)

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter_fascin.cpp

Modified: scummvm/trunk/engines/gob/inter_fascin.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_fascin.cpp	2009-04-24 23:43:04 UTC (rev 40135)
+++ scummvm/trunk/engines/gob/inter_fascin.cpp	2009-04-25 00:01:53 UTC (rev 40136)
@@ -661,13 +661,22 @@
 void Inter_Fascination::oFascin_geUnknown0(OpGobParams &params) {
 	warning("Fascination Unknown GE Function 0");
 	warning("sub_BBF8 with parameter : 'tirb.imd'");
-	_vm->_dataIO->openData("tirb.imd");
+
+	if (_vm->_vidPlayer->primaryOpen("tirb.imd")) {
+		_vm->_vidPlayer->primaryPlay();
+		_vm->_vidPlayer->primaryClose();
+	}
+	_vm->_draw->closeScreen();
 }
 
 void Inter_Fascination::oFascin_geUnknown1(OpGobParams &params) {
 	warning("Fascination Unknown GE Function 1");
 	warning("sub_BBF8 with parameter : 'tira.imd'");
-	_vm->_dataIO->openData("tira.imd");
+	if (_vm->_vidPlayer->primaryOpen("tira.imd")) {
+		_vm->_vidPlayer->primaryPlay();
+		_vm->_vidPlayer->primaryClose();
+	}
+	_vm->_draw->closeScreen();
 }
 
 void Inter_Fascination::oFascin_geUnknown2(OpGobParams &params) {
@@ -773,7 +782,7 @@
 	int16 expr;
 	warning("Fascination Unknown CD Function 10 (loc_66E0)");	
 	evalExpr(&expr);
-    printf("_draw_renderFlags <- %d",expr);
+	warning("_draw_renderFlags <- %d",expr);
 	_vm->_draw->_renderFlags = expr;
 }
 
@@ -781,7 +790,7 @@
 	int16 expr;
 	warning("Fascination Unknown CD Function 11 (loc_66E6)");	
 	evalExpr(&expr);
-    printf("Word_23906 <- %d",expr);
+	warning("Word_23906 <- %d",expr);
 }
 
 bool Inter_Fascination::executeFuncOpcode(byte i, byte j, OpFuncParams &params) {


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