aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/scene.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
2007-12-20Removed clamp() and used the common CLIP template insteadFilippos Karapetis
svn-id: r29927
2007-11-08Slight fix for off screen path calculationFilippos Karapetis
svn-id: r29454
2007-09-23Moved MemoryStreamEndian from Saga to Common.Eugene Sandulenko
svn-id: r29038
2007-09-18Fixed some glitches which occured when closing the psychic profile in IHNMFilippos Karapetis
svn-id: r28953
2007-09-16Script modules are now unloaded correctly when changing chapters in IHNMFilippos Karapetis
svn-id: r28918
2007-09-15Stop the intro music after the intro in ITE/IHNM is finishedFilippos Karapetis
svn-id: r28911
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-14Removed the RF_PLACARD flag. Also, simplified sfPlaceActor and removed a non ↵Filippos Karapetis
needed check svn-id: r28901
2007-08-31Initialise _chapterNumber to fix Valgrind warning.Torbjörn Andersson
svn-id: r28774
2007-08-31The IHNM credits sequence is shown now. However, only half of the sequence ↵Filippos Karapetis
is played at the moment svn-id: r28768
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-25Removed the showactors flag and substituted it with RF_DISABLE_ACTORSFilippos Karapetis
svn-id: r28736
2007-08-25Reset the protagonist's portrait when a chapter endsFilippos Karapetis
svn-id: r28732
2007-08-25Stop showing actors before a scene's background is shown. Removed a relevant ↵Filippos Karapetis
hack svn-id: r28725
2007-08-24Code cleanup for the IHNM demoFilippos Karapetis
svn-id: r28707
2007-08-20Cleanup: Removed obsolete TODOsFilippos Karapetis
svn-id: r28682
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-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-07-31Some updates to the psychic profile in IHNM. sfPsychicProfileOff has been ↵Filippos Karapetis
enabled again svn-id: r28361
2007-07-31It's now possible to return to the chapter selection screen correctly in IHNMFilippos Karapetis
svn-id: r28358
2007-07-30The interactive part of the IHNM demo fully works now. Also, made the ↵Filippos Karapetis
options screen work in the non-interactive part of the demo svn-id: r28344
2007-07-30It's now possible to exit from the psychic profile screen in IHNMFilippos Karapetis
svn-id: r28325
2007-07-28The IHNM demo uses the NULL panelFilippos Karapetis
svn-id: r28253
2007-07-11IHNM: Narrowed down the places where the actors stop being drawn when ↵Filippos Karapetis
changing scenes svn-id: r28022
2007-07-07When loading a scene, start showing actors only after the scene background ↵Filippos Karapetis
has been shown. This prevents some cases where some actors are shown prematurely before the next scene is loaded (e.g. in IHNM, when entering a chapter, after AM finishes his speech) svn-id: r27946
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-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-11Implemented Scene::RestoreScene and fixed some animation bugs. Animations ↵Filippos Karapetis
and videos in IHNM should display correctly now svn-id: r27338
2007-06-06Implemented the sfGetMouseClicks and sfResetMouseClicks opcodes and created ↵Filippos Karapetis
the skeleton for sfScriptStartVideo, sfScriptReturnFromVideo and sfScriptEndVideo opcodes svn-id: r27145
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-08Moved functions getDoorState, setDoorState, getBGMaskType and ↵Filippos Karapetis
validBGMaskPoint to scene.h and disabled some sanity checks to improve the speed of the pathfinding algorithm, after discussing with h00ligan svn-id: r26789
2007-05-07Simplify cursor events management.Eugene Sandulenko
svn-id: r26772
2007-05-06The cursor in IHNM changes to an hourglass now while loading scenes, like in ↵Filippos Karapetis
the original interpreter svn-id: r26768
2007-05-01Renamed decodeILBM to decodePBM, removed a TODOFilippos Karapetis
svn-id: r26731
2007-05-01Implemented a IFF (Interchange File Format) parser and added subclasses to ↵Nicola Mettifogo
parse graphics (ILBM, PBM) and audio (8SVX), thus replacing old decoding routines. SAGA and Parallaction have been adjusted to work with the new code. svn-id: r26719
2006-05-13extract GameDescriptions to separate files (this will help compress_saga ↵Andrew Kurushin
tool to detect sound resource) svn-id: r22433
2006-03-08Fixed tons of format string warnings for debug/error calls (including ↵Max Horn
several errors where the format string didn't match the number of arguments to the call) svn-id: r21141
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582