782 Commits

Author SHA1 Message Date
Max Horn
d0876b06ed Remove some unused variables
svn-id: r44853
2009-10-09 22:21:45 +00:00
Max Horn
42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Torbjörn Andersson
41adc39d2d Fixed cppcheck warnings about mismatching allocation/deallocation.
svn-id: r44543
2009-10-02 18:38:52 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Filippos Karapetis
b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
6b79910bcb Fixed some more warnings about unreachable code
svn-id: r44300
2009-09-24 10:15:50 +00:00
Johannes Schickel
c50940bbf4 Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
2009-09-23 00:15:00 +00:00
Filippos Karapetis
51dc72d49c Corrected the size of one of the Italian fan-translated versions of ITE (bug report #2845399)
svn-id: r44141
2009-09-17 09:40:39 +00:00
Max Horn
1011508325 Slightly modified version of Patch #2838562: Improve endian.h and stream.h
svn-id: r44027
2009-09-11 08:55:47 +00:00
Max Horn
58f06b394f SAGA: Change Actor::fillPathArray to use a dynamic queue instead of an only-growing array -> should reduce memory usage significantly
svn-id: r43912
2009-09-02 19:33:08 +00:00
Norbert Lange
54ef7a892b reverting changes from patch 43696 that shouldnt have been committed
svn-id: r43697
2009-08-24 13:08:21 +00:00
Norbert Lange
184aae3c8c Enable alternative palettse for Amiga Monkey Island - Patch ID: 2819787
use tables for palette colors instead of code with constants

svn-id: r43696
2009-08-24 12:39:03 +00:00
Filippos Karapetis
c9402c5559 Applied agent-q's patch to the SAGA pathfinding code for all platforms - x and y should not ever be greater than 640 and 480 respectively, so it looks safe enough to be applied
svn-id: r43500
2009-08-18 06:43:06 +00:00
Filippos Karapetis
4a4ae33825 Put back the code for playing external digital music, used by the MIDI enhancement project, which was removed in rev. #43480
svn-id: r43485
2009-08-17 18:25:51 +00:00
Johannes Schickel
516dd5c9a4 Slight cleanup to makeLinearDiskStream interface.
svn-id: r43481
2009-08-17 13:49:56 +00:00
Filippos Karapetis
77689a05a2 - Removed the custom DigitalMusicInputStream used in SAGA for the digital music in ITE CD and replaced it with the common LinearDiskStream class
- Removed leftover code which plays standalone tracks (it's not used anywhere)

svn-id: r43480
2009-08-17 13:25:44 +00:00
Filippos Karapetis
a9eb98c218 Simplified the sound playing code by removing the boolean variables for signed, stereo, endian and sample bit information - now sound flags are used instead. Some cleanup.
svn-id: r43470
2009-08-17 11:49:07 +00:00
Filippos Karapetis
a5e4eed30e Ignore speech and sound effect samples with unknown compression, instead of trying to play them as raw sound. Some cleanup
svn-id: r43467
2009-08-17 11:11:38 +00:00
Filippos Karapetis
3dfb1c3a96 Made sound effect playing code consistent for compressed and uncompressed sounds. MemoryReadStream is used again instead of SeekableSubReadStream, as there will be issues when multiple sound effects or voices are played simultaneously
svn-id: r43466
2009-08-17 11:06:27 +00:00
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