aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
AgeCommit message (Collapse)Author
2009-03-24Make sure that the currently buggy dirty rectangle handling code is not ↵Filippos Karapetis
used. Also, make sure that the resource data pointer is initialized to zero svn-id: r39655
2009-03-24Finally fixed the Valgrind warning that was confusing me so yesterday.Torbjörn Andersson
svn-id: r39651
2009-03-23Made the music and sound file names part of the class, instead of localTorbjörn Andersson
variables. This fixes another Valgrind warning when SndRes::load() tries to access the file names. (I could also have made the variables static, but I've never been very fond of static variables.) svn-id: r39641
2009-03-23Initialise _fullRefresh. Fixes a Valgrind warning.Torbjörn Andersson
svn-id: r39638
2009-03-09Rewrote Common::List iterator code to ensure const correctness is preserved.Max Horn
We tried to implement the list iterators in a clever way, to reduce code duplication. But this is essentially impossible to do properly, sadly -- this is one of the places where the ugly drawbacks of C++ really show. As a consequence, our implementation had a bug which allowed one to convert any const_iterator to an iterator, thus allowing modifying elements of const lists. This rewrite reintroduces code duplication but at least ensures that no const list is written to accidentally. Also fix some places which incorrectly used iterator instead of const_iterator or (in the kyra code) accidentally wrote into a const list. svn-id: r39279
2009-03-09Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as ↵Max Horn
some other tweaks svn-id: r39255
2009-03-08Added game object data files for dino and FTA2Filippos Karapetis
svn-id: r39237
2009-03-08- Reworked the different file types a bitFilippos Karapetis
- Some initial work on Dinotopia's intro sequence svn-id: r39234
2009-03-07Fix compile of SAGA2 game engine.Travis Howell
svn-id: r39208
2009-03-07Fixed bug #2665117 - "ITE: Italian Floppy version wrong size"Filippos Karapetis
svn-id: r39205
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-07Patch #2671477: Fix wrong usage of strncatWillem Jan Palenstijn
svn-id: r39184
2009-03-05Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match ↵Jordi Vilalta Prat
the meaning of the returned string, as discussed some time ago in scummvm-devel svn-id: r39132
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-03-01Merged Engine::go() and ::init() into a new run() method (currently ↵Max Horn
implemented by calling the existing init&go methods; to be cleaned up by engine authors svn-id: r39002
2009-02-20Fixed a nasty regression from the script system rewrite (commit #35670), ↵Filippos Karapetis
which will cause crashes under certain conditions, and probably makes SAGA games non-completable. When a script thread is waiting for another thread, the current instruction offset should not be modified. The thread processing function would incorrectly continue in some special cases, and would incorrectly alter the current instruction offset. This becomes apparent in some special cases only, which made it hard to spot - plus, SAGA games have not been tested for 0.13.0, so there weren't any reports for this. This change SHOULD go to the 0.13.0 branch, but we've already tagged... svn-id: r38581
2009-02-03Removed unused codeFilippos Karapetis
svn-id: r36210
2009-01-29Moved AdvancedDetector from common/ to engines/Max Horn
svn-id: r36132
2009-01-27Proper fix for accented characters in the Italian version of ITEFilippos Karapetis
svn-id: r36103
2009-01-27Fixed bug #2538838 - "Wrong accented char. in italian fan version [Regression]"Filippos Karapetis
svn-id: r36101
2009-01-20Implemented getDebugger()Filippos Karapetis
svn-id: r35967
2009-01-18Disabled use of OSystem::kFeatureAutoComputeDirtyRects in SAGA for nowMax Horn
svn-id: r35915
2009-01-17Fixed bug #2057987 - "IHNM: Music stops in Ellen's chapter"Filippos Karapetis
svn-id: r35884
2009-01-17Silenced MSVC warningFilippos Karapetis
svn-id: r35883
2009-01-11IHNM save games no longer contain ITE-related variablesFilippos Karapetis
svn-id: r35828
2009-01-11Committed a modified version of wjp's patch for the video player:Filippos Karapetis
- Split the video player from the video decoders. It's now possible to have one video player for multiple decoders - Added the palette weight calculation from the BS1 engine into VideoPlayer::setPalette. It's now possible to find the values of the white and black colors via getWhite() and getBlack() (useful for subtitle overlays) - Adapted FTA2's movie playing code to the new changes to video player - Fixed a slight bug in the DXA decoder (_videoinfo.startTime was not initialized) svn-id: r35816
2009-01-07Further merging of the SMK and DXA players (the FLIC player is not done yet):Filippos Karapetis
- Added a new class, VideoPlayer(), from which both the SMK and the DXA player inherit. This class provides generic functions and public methods for the inherited video classes. Default implementations have been made for these public methods, and the virtual ones can be overriden in inherited classes - There is now a default implementation of the function that sets the video palette - A basic video player for inherited classes has been added with method playVideo(). This is able to play a fullscreen non-interactive video, which can be skipped with events set by the caller. Postprocessing methods, which draw upon each frame (e.g. subtitles) can be done by implementing performPostProcessing() - The FTA2 movie player now uses the new playVideo() method - The new video player code is compatible with the old one (i.e. no changes to the existing engine code are necessary), but it's now possible to reduce engine code for video playing considerably svn-id: r35772
2009-01-06Use skip instead of seekFilippos Karapetis
svn-id: r35763
2009-01-06Sound in the old Mac Guild version of ITE is correct againFilippos Karapetis
svn-id: r35762
2009-01-06Cleanup, and follow code formatting convention (indentation) for switch ↵Filippos Karapetis
statements svn-id: r35754
2009-01-06The Mac version and Mac demo of ITE no longer crash on exitFilippos Karapetis
svn-id: r35750
2009-01-06Fixed regression: the ITE Mac version works correctly againFilippos Karapetis
svn-id: r35749
2009-01-04Got rid of explicit game sound infoFilippos Karapetis
svn-id: r35727
2009-01-04Improved handling of sound resourcesFilippos Karapetis
svn-id: r35724
2009-01-03TypoFilippos Karapetis
svn-id: r35705
2009-01-03Simplified the Smacker video playing code for FTA2Filippos Karapetis
svn-id: r35704
2009-01-02Split the script module into two parts, for SAGA1 and SAGA2 gamesFilippos Karapetis
svn-id: r35689
2009-01-02Wrapped more engine-specific code around appropriate ifdefsFilippos Karapetis
svn-id: r35679
2009-01-02Wrapped SAGA 2 game entries around appropriate definesFilippos Karapetis
svn-id: r35678
2009-01-02Let compiled subengines be visible in About dialog.Eugene Sandulenko
svn-id: r35677
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-01Simplified sound resource loadingFilippos Karapetis
svn-id: r35649
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-31Proper fix for non-interactive ITE demos (the previous one was affecting ↵Filippos Karapetis
sprites for other games) svn-id: r35645
2008-12-31Several fixes and cleanup for sound resource loading. Sound information for ↵Filippos Karapetis
sound types that are detected automatically is read from the files themselves svn-id: r35644
2008-12-31Preliminary Shorten audio support for SAGA 2 games. It's still very wrong ↵Filippos Karapetis
and needs further work, but it's a start svn-id: r35626
2008-12-29- Removed game sound information for sound types that it can be determined ↵Filippos Karapetis
automatically. The game sound information left is now used as override info for certain sound types (e.g. PCM) - Added stubs for Shorten audio type, used in SAGA2 games svn-id: r35616
2008-12-29- IHNM Mac loads correctly againFilippos Karapetis
- Removed isBigEndian from GameSoundInfo - Removed GF_BIG_ENDIAN_DATA - Stopped loading the options panel for non-interactive ITE demos (it doesn't exist) - Fixed crash when exiting from non-interactive ITE demos svn-id: r35615
2008-12-29Silenced MSVC warningFilippos Karapetis
svn-id: r35610