aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sfuncs.cpp
AgeCommit message (Collapse)Author
2017-08-20SAGA: Remove obsolete hack for the compact disk in Ellen's chapterFilippos Karapetis
This has been added in commit 5624ba23d0 and is no longer needed. The gem is shown correctly over the compact disk in that scene, and the behavior is the same as the original
2014-10-27SAGA: Remove the buggy actor swapping fixup code for IHNMFilippos Karapetis
This was a hack that was implemented while IHNM was being developed. That code should no longer be needed. If this issue does occur again, the actual cause should be investigated, instead of hiding it with workarounds. The code was buggy anyway, as _currentProtag was not initialized properly
2014-05-27ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf.Johannes Schickel
2014-02-18SAGA: Make GPL headers consistent in themselves.Johannes Schickel
2011-06-02SAGA: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-10-23SAGA: replace Events malloc base linked list with Common::ListAndrew Kurushin
svn-id: r53751
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-06-15SAGA: Fix bug #2886141.Eugene Sandulenko
Bug #2886141: "ITE: Cumulative Snoring sounds in Prince's Bedroom". Implemented safeguard against running same looped sound more than once. svn-id: r49725
2010-06-15SAGA: Add debug output for sfLockUser()Eugene Sandulenko
svn-id: r49723
2010-06-15SAGA: Moved more code under ENABLE_IHNMEugene Sandulenko
svn-id: r49696
2010-05-16Added automatic detection for the non-interactive ITE demosFilippos Karapetis
svn-id: r49046
2009-04-11SAGA: changed _threadList back to a list of ScriptThread objs, instead of ↵Max Horn
ptrs to instances. svn-id: r39944
2009-04-11Changed ScriptThreadList to hold a list of pointers, not a list of ↵Filippos Karapetis
instances. This avoids the whole &* mess, as well as the strange references to the list head svn-id: r39934
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-07Patch #2671477: Fix wrong usage of strncatWillem Jan Palenstijn
svn-id: r39184
2009-01-02Wrapped more engine-specific code around appropriate ifdefsFilippos Karapetis
svn-id: r35679
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
2009-01-02Rewrote the SAGA script system to use an opcode table, like in other enginesFilippos Karapetis
svn-id: r35670
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-23Fixed bug #1970191 - "IHNM: Psychic Profile problem"Filippos Karapetis
svn-id: r35495
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-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-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-06CleanupFilippos Karapetis
svn-id: r35259
2008-09-05Hopefully fixed the chaos with the SAGA volume values. This also fixes the ↵Filippos Karapetis
broken volume introduced with the introduction of the RTL code in the engine svn-id: r34349
2008-09-01Merging more of the GSoC 2008 RTL branch: SAGAMax Horn
svn-id: r34252
2008-08-26Fix for bug #2057200 - "IHNM: Invisible inventory objects"Filippos Karapetis
svn-id: r34189
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
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