aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
AgeCommit message (Collapse)Author
2009-04-11SAGA: changed _threadList back to a list of ScriptThread objs, instead of ↵Max Horn
ptrs to instances. svn-id: r39944
2009-04-11SAGA: Simplified Scene::skipScene, changed loadScene to take a ↵Max Horn
LoadSceneParams ref instead of a ptr svn-id: r39943
2009-04-11When dragging the save/load dialog's scrollbar handle past the top of theTorbjörn Andersson
scrollbar, stay at the top. Don't jump to the bottom. svn-id: r39939
2009-04-11Committed my patch for bug #2748110 ("IHNM: Fade glitch when Benny fallsTorbjörn Andersson
asleep"), after discussing it with [md5]. It may not be exactly like the original, but it looks a lot closer now. svn-id: r39937
2009-04-11Plugged another memory leak introduced with rev #39934Filippos Karapetis
svn-id: r39936
2009-04-11Plugged memory leak introduced with rev #39934Filippos Karapetis
svn-id: r39935
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-11Removed unused (and wrong) code for IHNMFilippos Karapetis
svn-id: r39931
2009-04-11Got rid of SortedListFilippos Karapetis
svn-id: r39928
2009-04-11Fix compilationWillem Jan Palenstijn
svn-id: r39927
2009-04-11Fixed compilation (hopefully)Filippos Karapetis
svn-id: r39926
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-11Removed move SortedList methodsFilippos Karapetis
svn-id: r39924
2009-04-11SAGA: Fix yet another mistake in the revised dirty rect code *sigh*Max Horn
svn-id: r39923
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-04-10Added a new console command, "wake_up_threads", which can wake up threads ↵Filippos Karapetis
that are block waiting svn-id: r39915
2009-04-10Removed obsolete TODOFilippos Karapetis
svn-id: r39914
2009-04-09SAGA: Make the dirty rect handling here match the one in the GUI code (some ↵Max Horn
more cases of mutually contained rects are deteceted here now, too). svn-id: r39910
2009-04-09Sort the list of savegames. (I suppose this fix, or a better one, should goTorbjörn Andersson
into 0.13.1 as well.) svn-id: r39906
2009-03-24Fixed a regression of commit #35473. Fixes bug #2703595 - "ITE: Crash when ↵Filippos Karapetis
clicking on items inside the hangar" svn-id: r39664
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