aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sfuncs.cpp
AgeCommit message (Collapse)Author
2007-08-26Implemented some differences of IHNM in sfScriptDoAction. Now, some actions ↵Filippos Karapetis
on objects (like using the sarcophagus in Ellen's chapter) are done correctly svn-id: r28740
2007-08-25When sfMainMode is set, overwrite the stored panel modeFilippos Karapetis
svn-id: r28731
2007-08-25The palette is set correctly now when chapter points change and a cutaway is upFilippos Karapetis
svn-id: r28730
2007-08-25Stop showing actors before a scene's background is shown. Removed a relevant ↵Filippos Karapetis
hack svn-id: r28725
2007-08-24The frame count needs to be updated for cutaways without an animation bit as ↵Filippos Karapetis
well. Removed a hack for the nightfall scene in Benny's chapter svn-id: r28709
2007-08-24Updated some commentsFilippos Karapetis
svn-id: r28706
2007-08-23Added skeleton code for sfScriptFade. Work is still needed in Gfx::palFade ↵Filippos Karapetis
though, so it still doesn't work svn-id: r28702
2007-08-17Several bugfixes:Filippos Karapetis
- The spiritual barometer display in IHNM is now updated only when necessary, to speed drawing up. This also corrects an issue where the spiritual barometer display was updated only after changing a scene - sf92 is sfDemoSetInteractive - It's now possible to use dashes and underscores in savegames - Screen fading when changing scenes is now done correctly: the interface will no longer be incorrectly briefly shown while the screen is fading to black - The interface mode is now correctly set in the non-interactive part of the IHNM demo - sfScriptGotoScene does not have a transition parameter, therefore that parameter has been removed svn-id: r28643
2007-08-13The sprite set by sfSetObjImage is assigned correctly now for IHNM. This ↵Filippos Karapetis
fixes several cases where objects with more than one frame were incorrectly displayed svn-id: r28571
2007-08-13Removed an obsolete TODOFilippos Karapetis
svn-id: r28570
2007-08-02Text is cleared correctly in the IHNM demo help screen, when waiting for the ↵Filippos Karapetis
game to change the page automatically svn-id: r28407
2007-08-02The help screen in the IHNM demo is shown correctly nowFilippos Karapetis
svn-id: r28406
2007-08-02The help screens in the IHNM demo are shown a bit more correctly now, though ↵Filippos Karapetis
they're still buggy svn-id: r28399
2007-08-02Partially implemented opcodes 87, 88 and 89, used in the help system of the ↵Filippos Karapetis
IHNM demo. It's still buggy, though svn-id: r28398
2007-08-01The text of the psychic profile in IHNM is shown correctly nowFilippos Karapetis
svn-id: r28397
2007-08-01The psychic profile background is displayed correctly againFilippos Karapetis
svn-id: r28380
2007-08-01Fix compiler warnings.Travis Howell
svn-id: r28378
2007-07-31Some updates to the psychic profile in IHNM. sfPsychicProfileOff has been ↵Filippos Karapetis
enabled again svn-id: r28361
2007-07-31sfPsychicProfileOff is not used, therefore disable it to prevent it from ↵Filippos Karapetis
trying to clear the psychic profile again svn-id: r28359
2007-07-31Play MIDI music at the volume specified in the options screenFilippos Karapetis
svn-id: r28348
2007-07-30sf92 is not null in the demo version of IHNMFilippos Karapetis
svn-id: r28343
2007-07-30Correct the object sprites only in Ted's part of the IHNM demoFilippos Karapetis
svn-id: r28339
2007-07-30It's now possible to exit from the psychic profile screen in IHNMFilippos Karapetis
svn-id: r28325
2007-07-30Some corrections for the psychic profile screen in IHNM. The psychic profile ↵Filippos Karapetis
background drawing has been turned into an event, so actors and animations will no longer be incorrectly shown. Also, the incorrect text color has been fixed. The text position is still wrong, though, and it's currently not possible to exit the psychic profile screen svn-id: r28324
2007-07-30Initial support of the psychic profile in IHNM (still buggy)Filippos Karapetis
svn-id: r28323
2007-07-30The actors at the end of Benny's part in the IHNM demo are no longer ↵Filippos Karapetis
incorrectly shown svn-id: r28322
2007-07-29Inventory icons in the IHNM demo are displayed correctly nowFilippos Karapetis
svn-id: r28313
2007-07-11IHNM: Narrowed down the places where the actors stop being drawn when ↵Filippos Karapetis
changing scenes svn-id: r28022
2007-07-08Reverted commit 27948. Cutaways in sfScriptGotoScene are cleared by calling ↵Filippos Karapetis
clearcutaway directly again, as calling it using an event does not clear the cutaway when it should (which caused problems in the character selection screen) svn-id: r27976
2007-07-07Clear the cutaway via an event in sfScriptGotoScene, instead of calling the ↵Filippos Karapetis
function directly svn-id: r27948
2007-07-07IHNM: Benny will no longer start walking backwards for a bit after talking ↵Filippos Karapetis
with the child via the monitor. This glitch occurs with the original interpreter as well svn-id: r27947
2007-07-06Modified ticksToMSec in IHNM, so that it waits for the correct amount of ↵Filippos Karapetis
time. Many animations which were not displayed quite right are fixed now, including some small syncing issues with video and sound in some places svn-id: r27939
2007-07-06IHNM: sf103 is sfQueueMusic. Now, when doing a good/bad deed in IHNM, the ↵Filippos Karapetis
music changes correctly svn-id: r27936
2007-07-05Implemented the rest of the differences of the sfScriptGotoScene opcode in IHNMFilippos Karapetis
svn-id: r27916
2007-06-20Added a workaround in IHNM for the compact disk in Ellen's chapterFilippos Karapetis
svn-id: r27557
2007-06-19When saving the game in IHNM after a chapter point change, the chapter point ↵Filippos Karapetis
change music will no longer be incorrectly saved, and the normal chapter music will be saved instead svn-id: r27545
2007-06-19The correct music track is now played when loading a game in IHNM. The ↵Filippos Karapetis
save/load mechanism in IHNM seems to be working correctly now (although it needs testing), however there are still some graphical glitches with the save/load dialogs. Also, moved some unfinished code for returning to the chapter selection screen to a more appropriate place svn-id: r27542
2007-06-19Removed obsolete commentFilippos Karapetis
svn-id: r27541
2007-06-17Some more updates for saving/loading in IHNMFilippos Karapetis
svn-id: r27512
2007-06-17More efforts to implement proper fade after cutaway. One little glitch is left.Eugene Sandulenko
svn-id: r27502
2007-06-16IHNM: Added a temporary workaround for the nightfall scene in Ben's chapterFilippos Karapetis
svn-id: r27438
2007-06-13IHNM: Fixed sfSetSpeechBox, now the dialog of Nimdok and Mengele will show ↵Filippos Karapetis
up correctly. Also, done some preliminary work on sfScriptGotoScene and changeScene to return to the character selection screen, but it's not right yet svn-id: r27385
2007-06-10Fixed an incorrect check in Script::finishDialogFilippos Karapetis
svn-id: r27274
2007-06-10Fixed conversations in IHNM. Now, when a dialog option is selected, the ↵Filippos Karapetis
protagonist will say it out properly before we hear the other character's reply. Also, added some more code for sfScriptFade and made it a stub for now, as it still needs work svn-id: r27264
2007-06-07Implemented video playing for IHNM (still needs work). Also, updated a ↵Filippos Karapetis
comment regarding the intro svn-id: r27166
2007-06-06Implemented the sfGetMouseClicks and sfResetMouseClicks opcodes and created ↵Filippos Karapetis
the skeleton for sfScriptStartVideo, sfScriptReturnFromVideo and sfScriptEndVideo opcodes svn-id: r27145
2007-06-06Fixed the parameter order in sfScriptFadeFilippos Karapetis
svn-id: r27143
2007-06-06Implemented the sfScriptFade opcodeFilippos Karapetis
svn-id: r27142
2007-06-06Added sanity checks for hitzones in SAGA, after discussing with h00ligan and ↵Filippos Karapetis
sev. Removed a hack for IHNM which is not needed anymore and removed a redundant check for zero object types svn-id: r27140
2007-06-05Avoid compiler warnings.Travis Howell
svn-id: r27118