[ scummvm-Patches-2676453 ] INDY3/FOA: series IQ with ScummVM GUI

SourceForge.net noreply at sourceforge.net
Mon Mar 9 22:48:02 CET 2009


Patches item #2676453, was opened at 2009-03-09 22:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2676453&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: tobigun (tobigun)
Assigned to: Nobody/Anonymous (nobody)
Summary: INDY3/FOA: series IQ with ScummVM GUI

Initial Comment:
At the moment support for the series IQ is limited.
For Indy3 savegames must be loaded via the original save/load dialog to update the series IQ in the IQ-file.
For Indy4 the 'i'-key must be pressed after loading a savegame to make sure the IQ-file is updated.

This patch updates the series IQ and IQ-file directly after loading a savegame.

As Indy3 calculates and stores the series IQ only when the "LOAD" or "SAVE" button was pressed (script room-14-206) we can either execute room-15-206 or reimplement the calculation algorithm. Executing the script is rather difficult as room 14 must be loaded in advance. In addition it depends on script 9 which initializes the save/load dialog. For example, it creates resource-string 9 used for the IQ-string.
It is simpler to reimplement the series point calculation. This is done by updateIQPoints().
This function is called after loading/saving a savegame and when 'i' is pressed.

For Indy4 we can simply call script 145 which is also called when pressing 'i'. It loads the IQ-file, recalculates the series IQ and stores it back. It just uses local vars and the series IQ var so no side effects should occur.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2676453&group_id=37116




More information about the Scummvm-tracker mailing list