mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Complete general function 0 and 1 based on DrMcCoy suggestion (Hardcoded IMD loading and playing)
svn-id: r40136
This commit is contained in:
parent
951edc014a
commit
15eac04bd3
@ -661,13 +661,22 @@ void Inter_Fascination::executeDrawOpcode(byte i) {
|
||||
void Inter_Fascination::oFascin_geUnknown0(OpGobParams ¶ms) {
|
||||
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 ¶ms) {
|
||||
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 ¶ms) {
|
||||
@ -773,7 +782,7 @@ void Inter_Fascination::oFascin_cdUnknown10() {
|
||||
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 @@ void Inter_Fascination::oFascin_cdUnknown11() {
|
||||
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 ¶ms) {
|
||||
|
Loading…
Reference in New Issue
Block a user