Commit Graph

794 Commits

Author SHA1 Message Date
Eugene Sandulenko
49c41a0c6c Fix detection for ITE Floppy Italian
svn-id: r46537
2009-12-24 21:36:57 +00:00
Eugene Sandulenko
963dc5f142 Add more information to Italian fan translations of ITE as mentioned in
bugreport #2871990: "ITE: Italian FAN translation regression"

svn-id: r46520
2009-12-23 21:35:32 +00:00
Max Horn
c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +00:00
Johannes Schickel
4c6fdce020 Fix warning.
svn-id: r46260
2009-12-04 19:58:10 +00:00
Torbjörn Andersson
01e12310ae Silenced GCC warnings.
svn-id: r46258
2009-12-04 19:00:40 +00:00
Andrew Kurushin
aa147a2f5a refactor resource module:
- struct ResourceContext => class ResourceContext
- replace "*alloc","free" with array templates
- simplify createContexts routines

svn-id: r46254
2009-12-04 17:52:42 +00:00
Eugene Sandulenko
1259f8061a Fill out doxygen comment about supported games
svn-id: r46234
2009-12-01 22:10:51 +00:00
Eugene Sandulenko
12828d3aaf Cache resource file size to avoid excess file->size() calls.
svn-id: r46138
2009-11-25 20:43:49 +00:00
Max Horn
df651bf20f Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
2bbf708dea Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
2009-10-18 19:41:59 +00:00
Filippos Karapetis
422b732dba Added a new convenience method to the video player, which adds the event of skipping videos with the escape key by default, thereby simplifying the video playing code in all places where it's used
svn-id: r45151
2009-10-16 07:42:23 +00:00
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