FOA: unique filename for IQ-points file
|Reported by:||SF/tobigun||Owned by:||fingolfin|
|Cc:||Game:||Indiana Jones 4|
Quote from fingolfin (tracker item 1687041): * Right now, we use the filename "iq-points" (or "iq-punkte" in the german * version, and probably others in other languages) verbatim, as given to use * by the engine. We really should internally translate this to * TARGET-iq-points instead. So far, it wasn't so important since the IQ point * system didn't work properly. But as soon as we fix it, we should take care * of that, too.
This patch simply checks if the filename in o5_roomOps SO_LOAD_STRING/SO_SAVE_STRING starts with "iq-". If so, the filename "[_targetName].iq" is used. As Indy3 already uses the ".iq" file-ending this might be more consistent.
This works with the English and German version of FOA but might fail with the Kanji version.
As the episode IQ is stored in a savegame and the series IQ is calculated whenever a savegame is loaded, the full series IQ should be available by repeating the following procedure for each savegame: 1. load savegame 2. press 'i' (adds current episode to series IQ)
Ticket imported from: #2674880. Ticket imported from: patches/1085.