[Scummvm-tracker] [ScummVM] #10681: SCI: GK1 restart game issue

ScummVM trac at scummvm.org
Thu Jan 3 16:00:31 CET 2019


#10681: SCI: GK1 restart game issue
-------------------------------+-------------------------
  Reporter:  misterhands       |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  normal            |  Component:  Engine: SCI
Resolution:                    |   Keywords:
      Game:  Gabriel Knight 1  |
-------------------------------+-------------------------

Comment (by lskovlun):

 I can reproduce.

 Hmm, this is a weird one. First of all, QfG4 and GK1 used an early SCI32
 interpreter that did not support RestartGame (which is the usual restart-
 cleanly function), so they coded a game-specific one.
 However, it seems that RestartGame still gets called, even if the dialog
 box is dismissed. This is harmless in the original interpreter (because
 RestartGame is nopped out), but in ScummVM the usual RestartGame code
 runs. So that accounts for the restart.

 The second part of this is the graphical artifacts. Since we actually run
 RestartGame, the result should be at least as clean as a restart using
 Sierra's makeshift solution. It seems the plane lists are kept around for
 some reason. While a fix for the first part above would be easy (don't let
 these games call RestartGame), the second part warrants some investigation
 before we do so. All the later games just use RestartGame, so any
 artifact-causing bugs in it would be... surprising.

-- 
Ticket URL: <https://bugs.scummvm.org/ticket/10681#comment:1>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list