diff options
Diffstat (limited to 'engines/gob/inter_fascin.cpp')
-rw-r--r-- | engines/gob/inter_fascin.cpp | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/engines/gob/inter_fascin.cpp b/engines/gob/inter_fascin.cpp index e468fe73ee..0ee873e407 100644 --- a/engines/gob/inter_fascin.cpp +++ b/engines/gob/inter_fascin.cpp @@ -79,7 +79,7 @@ void Inter_Fascination::setupOpcodes() { /* 08 */ OPCODE(o1_initCursorAnim), OPCODE(o1_clearCursorAnim), - OPCODE(oFascin_cdUnknown10), + OPCODE(oFascin_setRenderFlags), OPCODE(oFascin_cdUnknown11), /* 0C */ {NULL, ""}, @@ -438,7 +438,7 @@ void Inter_Fascination::setupOpcodes() { OPCODE(o1_putPixel), OPCODE(o2_goblinFunc), OPCODE(o1_createSprite), - OPCODE(o1_freeSprite), + OPCODE(oFascin_feUnknown27),//OPCODE(o1_freeSprite), /* 28 */ {NULL, ""}, {NULL, ""}, @@ -510,9 +510,7 @@ void Inter_Fascination::setupOpcodes() { /* 0C */ OPCODE(oFascin_geUnknown1000), OPCODE(oFascin_geUnknown1001), //protrackerPlay doesn't play correctly "mod.extasy" - // NULL should be replaced by "OPCODE(o2_stopProtracker)," when protrackerPlay plays correctly "mod.extasy" - {NULL, ""}, - + OPCODE(oFascin_geUnknown1002), //to be replaced by o2_stopProtracker when protrackerPlay is fixed }; _opcodesDrawFascination = opcodesDraw; @@ -620,11 +618,20 @@ void Inter_Fascination::oFascin_geUnknown1001(OpGobParams ¶ms) { warning("Fascination oFascin_playProtracker - MOD not compatible, ToBeFixed"); } +void Inter_Fascination::oFascin_geUnknown1002(OpGobParams ¶ms) { + warning("Fascination o2_stopProtracker - Commented out"); +} + bool Inter_Fascination::oFascin_feUnknown4(OpFuncParams ¶ms) { warning("Fascination Unknown FE Function 4"); return true; } +bool Inter_Fascination::oFascin_feUnknown27(OpFuncParams ¶ms) { + warning("Fascination Unknown FE Function 27h"); + return true; +} + void Inter_Fascination::oFascin_cdUnknown3() { uint16 resVar, resVar2; int16 retVal1, retVal2, retVal3, retVal4, retVal5, retVal6, retVal7; @@ -667,7 +674,7 @@ void Inter_Fascination::oFascin_cdUnknown6() { warning ("evalExpr: %d Variable index %d, the rest is not yet implemented",expr, retVal1); } -void Inter_Fascination::oFascin_cdUnknown10() { +void Inter_Fascination::oFascin_setRenderFlags() { int16 expr; warning("Fascination oFascin_cdUnknown10 (set render flags)"); evalExpr(&expr); @@ -676,10 +683,8 @@ void Inter_Fascination::oFascin_cdUnknown10() { } void Inter_Fascination::oFascin_cdUnknown11() { - int16 expr; warning("Fascination oFascin_cdUnknown11 (set variable)"); - evalExpr(&expr); - warning("evalExpr: %d",expr); + evalExpr(0); } bool Inter_Fascination::executeFuncOpcode(byte i, byte j, OpFuncParams ¶ms) { |