aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/events.cpp
AgeCommit message (Collapse)Author
2018-05-07SAGA: Fix whitespaceAdrian Frühwirth
2014-07-20SAGA: Add wrappers for queuing music eventsFilippos Karapetis
2014-02-18SAGA: Make GPL headers consistent in themselves.Johannes Schickel
2013-06-01SAGA: Add missing "break"sTorbjörn Andersson
It seems pretty clear to me that these fallthroughs were not intentional, seeing how one of them could cause ITE to fall through to IHNM-specific code. CID 1003744, 1003745
2012-11-11SAGA: Fix bug #3564919 - "SAGA: IHNM Spanish: Spiritual Barometer doesn't ↵Filippos Karapetis
change" The Spanish version uses different colors for portrait backgrounds. Also, portrait colors are now set correctly when loading games directly from the launcher.
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
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-24SAGA: replace Actor::_actors and _objs malloc base arrays with Common::ArrayAndrew Kurushin
svn-id: r53766
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-06-15SAGA: Fix bug #2827504.Eugene Sandulenko
Bug #2827504: "ITE: Music restarts on every background change in credits". We errorneously were stopping music on each scene, though it appeared only with Adlib music. svn-id: r49728
2010-05-16Added automatic detection of the IHNM demoFilippos Karapetis
svn-id: r49047
2010-03-10Fix a valgrind warning.Johannes Schickel
It is *not* a good idea to pass a reference to a list entry to List::remove. Since List::remove will remove *all* occurances of that list entry, it will also invaldiate the reference, resulting in invalid memory reads after the entry has been removed from the list, when List::remove will continue to search the rest of the list for more occurances of the same entry. svn-id: r48225
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-04-11SAGA: changed _threadList back to a list of ScriptThread objs, instead of ↵Max Horn
ptrs to instances. svn-id: r39944
2009-04-11Removed all but one of the functions of the SortedList, apart from the ↵Filippos Karapetis
custom insert() operation. It's only used in one place now (in _drawOrderList) svn-id: r39925
2009-04-11SAGA: Got rid of some more SortedList methodsMax Horn
svn-id: r39922
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-04-11SAGA: Removed some dead/obsolete codeMax Horn
svn-id: r39919
2009-01-17Fixed bug #2057987 - "IHNM: Music stops in Ellen's chapter"Filippos Karapetis
svn-id: r35884
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-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-10Some more dirty rectangle fixes, only 2 known glitches are leftFilippos Karapetis
svn-id: r35296
2008-12-07Set full screen refresh when an animation frame or the psychic profile is shownFilippos Karapetis
svn-id: r35283
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-12-04CleanupFilippos Karapetis
svn-id: r35246
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-09-18Fixed some glitches which occured when closing the psychic profile in IHNMFilippos Karapetis
svn-id: r28953
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-25Removed the showactors flag and substituted it with RF_DISABLE_ACTORSFilippos Karapetis
svn-id: r28736
2007-08-25Added skeleton code for kActorEventFilippos Karapetis
svn-id: r28724
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-01The psychic profile background is displayed correctly againFilippos Karapetis
svn-id: r28380
2007-08-01Fix compiler warning.Travis Howell
svn-id: r28376
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-27The IHNM demo only has one mouse cursorFilippos Karapetis
svn-id: r28244
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-17Normalize event names.Eugene Sandulenko
svn-id: r27513
2007-06-17Fixed the remaining glitch with fading after a cutaway is shownFilippos Karapetis
svn-id: r27504
2007-06-17More efforts to implement proper fade after cutaway. One little glitch is left.Eugene Sandulenko
svn-id: r27502
2007-06-16An attempt to fix restoring from cutaway. Still not perfect.Eugene Sandulenko
svn-id: r27465