aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/animation.cpp
AgeCommit message (Collapse)Author
2010-03-10Silenced some harmless cppcheck warnings about unreachable code after a return.Torbjörn Andersson
In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-09-11Slightly modified version of Patch #2838562: Improve endian.h and stream.hMax Horn
svn-id: r44027
2009-08-24reverting changes from patch 43696 that shouldnt have been committedNorbert Lange
svn-id: r43697
2009-08-24Enable alternative palettse for Amiga Monkey Island - Patch ID: 2819787Norbert Lange
use tables for palette colors instead of code with constants svn-id: r43696
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-06CleanupFilippos Karapetis
svn-id: r35259
2008-11-18CleanupFilippos Karapetis
svn-id: r35114
2008-09-24Readded missing special case for the storm animation in ITE. Fixes bug ↵Filippos Karapetis
#2125675 - "ITE: Game locks up in storm clouds scene" svn-id: r34639
2008-09-14Big patch changing semantics of ReadStream::eos():Willem Jan Palenstijn
eos() now only returns true _after_ trying to read past the end of the stream. This has a large potential for regressions. Please test! svn-id: r34549
2008-06-12SAGA: Fixed memory leaks in the SAGA engineChristopher Page
svn-id: r32673
2008-02-28Added a workaround so that the mob of prisoners in Nimdok's chapter is shown ↵Filippos Karapetis
correctly after a cutaway is shown svn-id: r30991
2008-02-24This safeguard is no longer needed for IHNMFilippos Karapetis
svn-id: r30956
2008-02-24Fix for bug #1900254 - "ITE: Glitches when bridging the gorge"Filippos Karapetis
svn-id: r30955
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-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-01Fix the crash in the IHNM introFilippos Karapetis
svn-id: r28789
2007-09-01Do not decode frames beyond maxFrames to avoid any potential issuesEugene Sandulenko
svn-id: r28788
2007-09-01Modified the workaround for the IHNM end credits animationFilippos Karapetis
svn-id: r28785
2007-09-01Don't go out of bounds when filling anim->frameOffsets[].Torbjörn Andersson
svn-id: r28782
2007-09-01This is a pseudo-commit. Previous commit log message for this file should readEugene Sandulenko
as follows: Fix recent regression crash in IHNM intro. svn-id: r28781
2007-09-01Proper height for Chinese characters, also remove obsolete hack for computingEugene Sandulenko
character base. svn-id: r28779
2007-08-31Slight simplification.Torbjörn Andersson
svn-id: r28776
2007-08-31Fix end credits in IHNM. Now video length is determined properly.Eugene Sandulenko
svn-id: r28771
2007-08-31Fix warningEugene Sandulenko
svn-id: r28770
2007-08-31Some slight updates to palette fadeout/fadein before a cutaway starts (still ↵Filippos Karapetis
not working, though) svn-id: r28769
2007-08-31Some cleanup for the IHNM demoFilippos Karapetis
svn-id: r28766
2007-08-30Proper implementation of intro and credits in IHNMEugene Sandulenko
svn-id: r28763
2007-08-27IHNM's ending is shown correctly now (but the credits still aren't). Slight ↵Filippos Karapetis
update on the music of chapter 6 svn-id: r28753
2007-08-25Added a temporary workaround for an issue with animationsFilippos Karapetis
svn-id: r28738
2007-08-25Always reset an animation when it's done playingFilippos Karapetis
svn-id: r28737
2007-08-25Fixed a regressionFilippos Karapetis
svn-id: r28733
2007-08-25The intro of IHNM is shown correctly nowFilippos Karapetis
svn-id: r28723
2007-08-24The frame count needs to be updated for cutaways without an animation bit as ↵Filippos Karapetis
well. Removed a hack for the nightfall scene in Benny's chapter svn-id: r28709
2007-08-24Code cleanup for the IHNM demoFilippos Karapetis
svn-id: r28707
2007-08-24Clearcutaway now sets the scene's palette. Removed two workarounds for the ↵Filippos Karapetis
IHNM demo svn-id: r28704
2007-08-21Updated some commentsFilippos Karapetis
svn-id: r28685
2007-08-13When restarting an animation, make sure that the animation's current frame ↵Filippos Karapetis
is set to 0. This fixes issues where replaying the same animation would lead to a crash (e.g. with Gorrister at the animal cages) svn-id: r28581
2007-07-31Cleanup: removed dead code, fixed some comments and did some layout changesFilippos Karapetis
svn-id: r28362
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-28The palette in Benny's part in the IHNM demo is correct nowFilippos Karapetis
svn-id: r28266
2007-07-28Fixed one of the incorrectly loaded palettes in Benny's part in the IHNM demoFilippos Karapetis
svn-id: r28255
2007-07-05The prisoners at the entrance of the prison in Nimdok's chapter are ↵Filippos Karapetis
displayed correctly now svn-id: r27931