aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/scene.cpp
AgeCommit message (Collapse)Author
2013-08-03SAGA: Take advantage of Sufrace::getPixels.Johannes Schickel
2013-08-03SAGA: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-01-06SAGA: Update to new IFFDecoder for PBM imagesTomas Jakobsson
2011-11-21SAGA: Simply use a Graphics::Surface instead of a Saga::Surface.Christoph Mallon
2011-07-09SAGA: Removed several game flags, which are now found more reliably on the flyFilippos Karapetis
- The logo screens of all ITE versions are shown correctly now - Wyrmkeep versions, demo versions with scene substitutes, demos with mono music and demo versions with LE VOX encoded voices are all found automatically now
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-10-24SAGA: reduce memory usageAndrew Kurushin
svn-id: r53782
2010-10-24SAGA: fix SAGA_DEBUG; fix IHNM cutaway typoAndrew Kurushin
svn-id: r53781
2010-10-24SAGA: replace Resource:loadResource malloc with ByteArray classAndrew Kurushin
svn-id: r53779
2010-10-24SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with ↵Andrew Kurushin
Common::Array svn-id: r53773
2010-10-23SAGA: replace Events malloc base linked list with Common::ListAndrew Kurushin
svn-id: r53751
2010-10-23SAGA: replace decodeBGImage malloc with ByteArrayAndrew Kurushin
svn-id: r53748
2010-10-22SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, ↵Andrew Kurushin
Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation add ByteArray type fix debug Tile Hittest frame drawing debug 0x%x => 0x%X svn-id: r53719
2010-10-21SAGA: replace Script and Thread "::*alloc" & "::free" with Common::ArrayAndrew Kurushin
svn-id: r53678
2010-10-20SAGA: replace StringTable "::realloc" with Common::Array; reduce amount of ↵Andrew Kurushin
memory for every string table svn-id: r53651
2010-08-17SAGA: fix warningEugene Sandulenko
svn-id: r52150
2010-06-15SAGA: Fix bug #2886151.Eugene Sandulenko
Bug #2886151: "ITE: Mouse stops responding at Boar Castle" fixed by implementing a workaround. It is a script bug in original. svn-id: r49724
2010-06-15SAGA: Fix bug #1970191.Eugene Sandulenko
Bug #1970191: "IHNM: Psychic Profile problem". Still there is a slight artefact. When the profile has 2 pages and is skipped, there are two fade-ins in a row. It could be checked by analysing event queue. svn-id: r49698
2010-06-15SAGA: Moved more code under ENABLE_IHNMEugene Sandulenko
svn-id: r49696
2010-05-16Added automatic detection of the IHNM demoFilippos Karapetis
svn-id: r49047
2009-12-04refactor resource module:Andrew Kurushin
- struct ResourceContext => class ResourceContext - replace "*alloc","free" with array templates - simplify createContexts routines svn-id: r46254
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