aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
AgeCommit message (Collapse)Author
2009-05-01SAGA: move Actor::_pathList into a Common::Array<Point>Andrew Kurushin
svn-id: r40232
2009-05-01SAGA: fix SAGA_DEBUG&ACTOR_DEBUG enabled compilation; move ↵Andrew Kurushin
Actor::_debugPoints into a Common::Array<DebugPoint> svn-id: r40227
2009-04-28SAGA: turned Actor::_pathNodeList into a Common::Array<PathNode>; likewise ↵Max Horn
for Actor::_newPathNodeList which also turned from a member var into a function local var svn-id: r40180
2009-04-28SAGA: Moved some code from actor.h to actor.cpp; replaced ↵Max Horn
Actor::_pathDirectionList and related members by a Common::Array<PathDirectionData> inside Actor::fillPathArray() svn-id: r40179
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