aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sfuncs.cpp
AgeCommit message (Collapse)Author
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
2007-06-05Add the hack for the staircase in the zeppelin in IHNM once more, apparently ↵Filippos Karapetis
the cause for it is different than what I thought svn-id: r27109
2007-06-05Check if a zone type is NULL for both ITE and IHNM, as it's done in the ↵Filippos Karapetis
original. This fixes the crash in IHNM when entering the second floor of the zeppelin and the crash in ITE when interacting with the bowl in the tunnel, outside the prison. Removed the two relevant hacks svn-id: r27108
2007-06-04IHNM: Add a temporary hack for the crash that occurs when climbing the ↵Filippos Karapetis
staircase to the second floor of the zeppelin in chapter 1 svn-id: r27094
2007-06-03The animation frame counter is updated correctly now, so all animations in ↵Filippos Karapetis
IHNM where the engine is waiting are displayed fully. Big thanks to sev, once again :) svn-id: r27070
2007-06-03Opcode 11 is sfLockUser. Also updated Scene::getHeight() for this change. ↵Filippos Karapetis
Now, the interface is locked when the scripts lock it. This prevents erroneous actor movement when skipping speech by left clicking, and other incorrect behavior. Special thanks to h00ligan for all his help svn-id: r27064
2007-06-02Implemented the sfWaitFrames script function for IHNM. Many animations ↵Filippos Karapetis
should display more correctly now (e.g. actor "zapping" animations, Ben falling off the stairs). They're still not correct, as frameCount is not updated properly svn-id: r27055
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-28Changed the frameOffset sanity check in Script::sfPlaceActor to throw a ↵Filippos Karapetis
warning instead of an error. In IHNM, it's now possible to use the knife with the rats when playing with Garrister svn-id: r26985
2006-05-13extract GameDescriptions to separate files (this will help compress_saga ↵Andrew Kurushin
tool to detect sound resource) svn-id: r22433
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582