aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/scene.cpp
AgeCommit message (Collapse)Author
2009-06-12* Moved the updated IFF code from Parallaction to common/Nicola Mettifogo
* Updated Parallaction and SAGA to use the new decoder infrastructure. svn-id: r41465
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-04-11SAGA: Simplified Scene::skipScene, changed loadScene to take a ↵Max Horn
LoadSceneParams ref instead of a ptr svn-id: r39943
2009-04-11SAGA: Stop needlessly using operator*() and operator->() (many of the ↵Max Horn
resulting &* uses can be removed if references are used instead of pointers everywhere, which would be a good idea anyway) svn-id: r39920
2009-03-08- Reworked the different file types a bitFilippos Karapetis
- Some initial work on Dinotopia's intro sequence svn-id: r39234
2009-01-02- Split the IHNM script functions into a different fileFilippos Karapetis
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS) svn-id: r35672
2008-12-22logicalWidth -> widthFilippos Karapetis
logicalHeight -> height svn-id: r35488
2008-12-22- Split the SAGA resource manager in 3 different ones, depending on the ↵Filippos Karapetis
resource type (RSC for ITE, RES for IHNM and HRS for DINO/FTA2). The SAGA 2 HRS resource manager is still a stub - Added detection for the voice file of FTA2 svn-id: r35484
2008-12-21Added some more stubs for FTA2Filippos Karapetis
svn-id: r35475
2008-12-21- Added some stubs for the SAGA2 games dino and fta2Filippos Karapetis
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM) - Removed getDisplayWidth() and getDisplayHeight() svn-id: r35473
2008-12-21Cleaned up the mess with game IDs and game types: removed game types, ↵Filippos Karapetis
reduced the game IDs and added game features where necessary svn-id: r35467
2008-12-12- Stop passing the scene clip rectangle around for no reasonFilippos Karapetis
- More changes for dirty rectangle handling - Stop adding dirty rectangles that cover the whole screen for no reason - Dirty rectangle handling is still very buggy, so it's still disabled svn-id: r35314
2008-12-08Some more dirty rectangle changes (still incomplete)Filippos Karapetis
svn-id: r35288
2008-12-07More dirty rectangle related changes (dirty rectangle handling is still broken)Filippos Karapetis
svn-id: r35281
2008-12-07Disabled more debug codeFilippos Karapetis
svn-id: r35265
2008-12-06- Prevented direct reference to the back buffer in many cases (apart from a ↵Filippos Karapetis
few, where it's modified directly) - Added skeleton code for dirty rectangle handling (still unfinished and non-working) - Added wrapper functions to access the back buffer, which add the appropriate dirty rectangles automatically svn-id: r35264
2008-12-06Also remove explicit surface passing to IsoMap::draw()Filippos Karapetis
svn-id: r35261
2008-12-06All the screen drawing functions draw to the back buffer, so there is no ↵Filippos Karapetis
point in passing it everywhere svn-id: r35260
2008-12-06CleanupFilippos Karapetis
svn-id: r35259
2008-09-30SAGA: Some code cleanupMax Horn
svn-id: r34703
2008-07-11SAGA works with new GMM implementationChristopher Page
svn-id: r33000
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