Commit Graph

763 Commits

Author SHA1 Message Date
Filippos Karapetis
374dccc905 Cleanup
svn-id: r43460
2009-08-17 09:19:53 +00:00
Johannes Schickel
8ea2316c3b Put some more IHNM / SAGA2 specific code into compile guards.
svn-id: r43326
2009-08-12 18:08:01 +00:00
Johannes Schickel
595501b60c Fix bug #2827459 "ITE: Ingame GUI does not list slots 96-99", by defining in SagaMetaEngine that the last valid save slot for SAGA is slot 95.
svn-id: r42845
2009-07-27 17:48:40 +00:00
Johannes Schickel
7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Torbjörn Andersson
c247e98827 Removed unused variable.
svn-id: r42697
2009-07-24 19:24:15 +00:00
Willem Jan Palenstijn
441ae56ea9 SAGA: Instead of trying to detect duplicate glyphs,
simply generate duplicate outline glyphs.
This should fix #2826697.

svn-id: r42696
2009-07-24 18:58:15 +00:00
Willem Jan Palenstijn
d3d06626e4 Fix oversight in r42361 and also handle consecutive copied characters in SAGA.
svn-id: r42378
2009-07-11 09:45:25 +00:00
Willem Jan Palenstijn
ad67a714dd Fix SAGA outline generation algorithm for characters
that are copies of earlier characters. (5 characters in IHNM.)
This fixes #1904624.

svn-id: r42361
2009-07-11 00:47:32 +00:00
Nicola Mettifogo
36828287ad * Moved the updated IFF code from Parallaction to common/
* Updated Parallaction and SAGA to use the new decoder infrastructure.

svn-id: r41465
2009-06-12 08:51:05 +00:00
Eugene Sandulenko
1bd6f6c99f Added game GUI options to advancedDetector and updated all engines
svn-id: r41272
2009-06-06 17:56:41 +00:00
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Filippos Karapetis
b7f8990ba8 Renamed the DXA, SMK and FLIC video decoders to reflect the fact that they're decoders, not players
svn-id: r40759
2009-05-21 13:02:56 +00:00
Max Horn
65b5d31814 COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
2009-05-19 11:42:14 +00:00
Andrew Kurushin
52ccf2af94 SAGA: move Actor::_pathList into a Common::Array<Point>
svn-id: r40232
2009-05-01 15:32:15 +00:00
Andrew Kurushin
600a471122 SAGA: fix SAGA_DEBUG&ACTOR_DEBUG enabled compilation; move Actor::_debugPoints into a Common::Array<DebugPoint>
svn-id: r40227
2009-05-01 10:37:41 +00:00
Max Horn
a4cb413d70 SAGA: turned Actor::_pathNodeList into a Common::Array<PathNode>; likewise for Actor::_newPathNodeList which also turned from a member var into a function local var
svn-id: r40180
2009-04-28 12:33:59 +00:00
Max Horn
7cfa3bb6d9 SAGA: Moved some code from actor.h to actor.cpp; replaced Actor::_pathDirectionList and related members by a Common::Array<PathDirectionData> inside Actor::fillPathArray()
svn-id: r40179
2009-04-28 12:33:38 +00:00
Max Horn
41bd7cd94b SAGA: changed _threadList back to a list of ScriptThread objs, instead of ptrs to instances.
svn-id: r39944
2009-04-11 21:38:41 +00:00
Max Horn
82f862c6b2 SAGA: Simplified Scene::skipScene, changed loadScene to take a LoadSceneParams ref instead of a ptr
svn-id: r39943
2009-04-11 21:38:14 +00:00
Torbjörn Andersson
a784e6ab98 When dragging the save/load dialog's scrollbar handle past the top of the
scrollbar, stay at the top. Don't jump to the bottom.

svn-id: r39939
2009-04-11 20:16:37 +00:00
Torbjörn Andersson
91b724451b Committed my patch for bug #2748110 ("IHNM: Fade glitch when Benny falls
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-11 15:38:13 +00:00
Filippos Karapetis
b3b8624869 Plugged another memory leak introduced with rev #39934
svn-id: r39936
2009-04-11 14:44:03 +00:00
Filippos Karapetis
bb012ee082 Plugged memory leak introduced with rev #39934
svn-id: r39935
2009-04-11 12:55:22 +00:00
Filippos Karapetis
448a98b885 Changed ScriptThreadList to hold a list of pointers, not a list of instances. This avoids the whole &* mess, as well as the strange references to the list head
svn-id: r39934
2009-04-11 12:46:00 +00:00
Filippos Karapetis
65393be446 Removed unused (and wrong) code for IHNM
svn-id: r39931
2009-04-11 12:08:02 +00:00
Filippos Karapetis
7287457672 Got rid of SortedList
svn-id: r39928
2009-04-11 09:54:55 +00:00
Willem Jan Palenstijn
c1a517e383 Fix compilation
svn-id: r39927
2009-04-11 09:43:42 +00:00
Filippos Karapetis
cf052e5a96 Fixed compilation (hopefully)
svn-id: r39926
2009-04-11 09:31:54 +00:00
Filippos Karapetis
02ca56eec8 Removed all but one of the functions of the SortedList, apart from the custom insert() operation. It's only used in one place now (in _drawOrderList)
svn-id: r39925
2009-04-11 09:23:40 +00:00
Filippos Karapetis
271f8b58b5 Removed move SortedList methods
svn-id: r39924
2009-04-11 09:04:50 +00:00
Max Horn
64fc4253e8 SAGA: Fix yet another mistake in the revised dirty rect code *sigh*
svn-id: r39923
2009-04-11 00:30:11 +00:00
Max Horn
1c5110e725 SAGA: Got rid of some more SortedList methods
svn-id: r39922
2009-04-11 00:29:52 +00:00
Max Horn
7412b0f8e8 SAGA: Stop needlessly using operator*() and operator->() (many of the 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-11 00:29:12 +00:00
Max Horn
46ddb35d9f SAGA: Removed some dead/obsolete code
svn-id: r39919
2009-04-11 00:28:49 +00:00
Filippos Karapetis
202f0fc49d Added a new console command, "wake_up_threads", which can wake up threads that are block waiting
svn-id: r39915
2009-04-10 22:33:29 +00:00
Filippos Karapetis
2d54d2717e Removed obsolete TODO
svn-id: r39914
2009-04-10 21:47:10 +00:00
Max Horn
c473fa849d SAGA: Make the dirty rect handling here match the one in the GUI code (some more cases of mutually contained rects are deteceted here now, too).
svn-id: r39910
2009-04-09 17:07:53 +00:00
Torbjörn Andersson
d3d641e487 Sort the list of savegames. (I suppose this fix, or a better one, should go
into 0.13.1 as well.)

svn-id: r39906
2009-04-09 15:59:22 +00:00
Filippos Karapetis
c65013faf2 Fixed a regression of commit #35473. Fixes bug #2703595 - "ITE: Crash when clicking on items inside the hangar"
svn-id: r39664
2009-03-24 13:33:47 +00:00
Filippos Karapetis
95d92b0d24 Make sure that the currently buggy dirty rectangle handling code is not used. Also, make sure that the resource data pointer is initialized to zero
svn-id: r39655
2009-03-24 08:33:24 +00:00
Torbjörn Andersson
74a82ef427 Finally fixed the Valgrind warning that was confusing me so yesterday.
svn-id: r39651
2009-03-24 05:35:48 +00:00
Torbjörn Andersson
1a0dea396d Made the music and sound file names part of the class, instead of local
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-23 20:25:25 +00:00
Torbjörn Andersson
b3b3e9da59 Initialise _fullRefresh. Fixes a Valgrind warning.
svn-id: r39638
2009-03-23 20:07:17 +00:00
Max Horn
5181546c63 Rewrote Common::List iterator code to ensure const correctness is preserved.
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-09 22:26:02 +00:00
Max Horn
e080a59337 Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as some other tweaks
svn-id: r39255
2009-03-09 03:45:23 +00:00
Filippos Karapetis
0c51a5f393 Added game object data files for dino and FTA2
svn-id: r39237
2009-03-08 16:05:49 +00:00
Filippos Karapetis
9d7111006d - Reworked the different file types a bit
- Some initial work on Dinotopia's intro sequence

svn-id: r39234
2009-03-08 15:39:19 +00:00
Travis Howell
cc89a46a0e Fix compile of SAGA2 game engine.
svn-id: r39208
2009-03-07 22:11:38 +00:00
Filippos Karapetis
e7defa3820 Fixed bug #2665117 - "ITE: Italian Floppy version wrong size"
svn-id: r39205
2009-03-07 20:54:34 +00:00