aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sfuncs.cpp
AgeCommit message (Collapse)Author
2008-05-26Code cleanup:Filippos Karapetis
- Removed sagaresnames.h - Moved all special scenes to scene.h, and named them consistently (e.g. RID_ITE_OVERMAP_SCENE -> ITE_SCENE_OVERMAP) - Moved all resources which were used by the ITE intro into ite_introproc.cpp - Removed several defines which were only used once (e.g. the SFX names) - Reordered the GameResourceDescription resources so that ITE and IHNM specific resources are placed in the end - Updated the comment about the IHNM Mac music - Changed the callocs in loadPalAnim to mallocs, like in the rest of the code - Removed the MEM error svn-id: r32282
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2008-01-03Properly fixed bug #1861863 - "ITE: Crash when using Eeah with Eeah"Filippos Karapetis
svn-id: r30195
2008-01-03Fix for bug #1861863 - "ITE: Crash when using Eeah with Eeah"Filippos Karapetis
svn-id: r30181
2007-12-31Fix for bug #1861126 - "IHNM: Crash when Gorrister cuts sheet in the mooring ↵Filippos Karapetis
ring" svn-id: r30109
2007-12-09Fix to prevent having an incorrect sprite assigned to some objects in IHNM ↵Filippos Karapetis
when those objects are dropped in the scene svn-id: r29796
2007-09-18Fixed the font height of the text in the help screens of the IHNM demo. ↵Filippos Karapetis
Clean-up of some opcodes svn-id: r28940
2007-09-16Turn off unused code (fixing a compiler warning)Max Horn
svn-id: r28925
2007-09-16Fix bug when some animations were playing too fast.Eugene Sandulenko
svn-id: r28924
2007-09-15Palette fade in when a cutaway starts in IHNM is working now. Also, the fade ↵Filippos Karapetis
mode is properly set in all cases where palette fadeout is used. Some code formatting svn-id: r28904
2007-09-14Some more opcode simplificationsFilippos Karapetis
svn-id: r28902
2007-09-14Removed the RF_PLACARD flag. Also, simplified sfPlaceActor and removed a non ↵Filippos Karapetis
needed check svn-id: r28901
2007-09-13Cleanup and simplification of several of the script opcodes used in ITE and IHNMFilippos Karapetis
svn-id: r28899
2007-09-13The early ITE demos were not interactiveFilippos Karapetis
svn-id: r28897
2007-08-27The actors in Nimdok's part of the IHNM demo are shown correctly nowFilippos Karapetis
svn-id: r28758
2007-08-27Added some skeleton code for the IHNM credits movie. Also, changed the ↵Filippos Karapetis
location of the RF_DISABLE_ACTORS is set from loadScene to endScene svn-id: r28757
2007-08-27IHNM's ending is shown correctly now (but the credits still aren't). Slight ↵Filippos Karapetis
update on the music of chapter 6 svn-id: r28753
2007-08-26One more place where music for chapter 6 shouldn't be played for nowFilippos Karapetis
svn-id: r28745
2007-08-26Don't play a music track when loading a saved game from chapter 6 in IHNM ↵Filippos Karapetis
for now either, until the cause for the incorrect music table for that chapter is found svn-id: r28744
2007-08-26The music table loaded for chapter 6 (final chapter) in IHNM is problematic, ↵Filippos Karapetis
so don't load any music for that chapter until the cause is found svn-id: r28743
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