37143 Commits

Author SHA1 Message Date
Max Horn
9575cc08a2 SCI: Move GameFeatures from EngineState to SciEngine
svn-id: r48049
2010-02-13 17:44:58 +00:00
Max Horn
a82939c9be SCI: Get rid of EngineState::resMan
svn-id: r48048
2010-02-13 17:44:19 +00:00
Max Horn
721a57a661 SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngine
svn-id: r48047
2010-02-13 17:43:31 +00:00
Max Horn
ac4d325e0d SCI: Add global g_sci pointer to the active SciEngine instance
svn-id: r48046
2010-02-13 17:42:49 +00:00
Fabio Battaglia
24fd77eb24 Cruise detection entry for english AtariST KixxXL edition
svn-id: r48045
2010-02-13 13:21:29 +00:00
Max Horn
e17a2bd37d SCI: Change getSciVersionDesc() to return 'const char *' instead of 'Common::String'
svn-id: r48044
2010-02-13 11:58:15 +00:00
Max Horn
2c9883773c SCI: Remove unused PARSE_HEAP_SIZE
svn-id: r48043
2010-02-13 11:57:44 +00:00
Max Horn
887f446b17 Document Normal2xAspect
svn-id: r48042
2010-02-13 11:57:23 +00:00
Max Horn
0a13162073 cleanup
svn-id: r48041
2010-02-13 11:57:01 +00:00
Max Horn
8ac5d00d57 Hide ZipArchive implementation, only expose it via factory functions: makeZipArchive()
svn-id: r48040
2010-02-13 11:56:30 +00:00
Paul Gilbert
52c2abba96 Added the beginnings of scene set-up logic
svn-id: r48039
2010-02-13 11:49:18 +00:00
Paul Gilbert
1b877ceb5b Added command variation for dumping quotes and vocab
svn-id: r48038
2010-02-13 11:45:54 +00:00
Matthew Hoops
e32497c54c Fix trap book external commands.
svn-id: r48037
2010-02-12 21:15:30 +00:00
Walter van Niftrik
a3a07f19fc SCI: Revert r47929 (bad idea, as we may run out of offsets). Instead, adapt SCI32 list iteration code to store node successor before invoking.
svn-id: r48036
2010-02-12 02:23:28 +00:00
Matthew Hoops
7eb92eb1cd Fix a potential problem for some compilers with having multiple stream reads.
svn-id: r48035
2010-02-10 17:46:22 +00:00
Max Horn
c2c82b22da Fix Rober Spalek & Hans-Joerg Frieden in the CPP resp. plain text versions of the credits
svn-id: r48034
2010-02-10 17:08:07 +00:00
Max Horn
b90acf431b SCI: Update said.y to match changes made to said.cpp; regenerate said.cpp using 'bison -l -o said.cpp said.y'
svn-id: r48033
2010-02-10 16:47:53 +00:00
Johannes Schickel
2ddfdd960c Hopefully fixing bug #2948858 "MP3 (CD Audio) Broken under SVN".
svn-id: r48032
2010-02-10 16:34:32 +00:00
Willem Jan Palenstijn
005cdeb830 Fix warning
svn-id: r48031
2010-02-10 12:36:46 +00:00
Paul Gilbert
3415cae9ad Separated scene info console method between M4 and MADS classes, and cleaned up the message method
svn-id: r48030
2010-02-10 11:11:31 +00:00
Paul Gilbert
a435237a38 Bugfix for crash when view gets focus based on a key event
svn-id: r48029
2010-02-10 11:03:04 +00:00
Matthew Hoops
9fb9c0955d Add support for the Motion JPEG codec (used in some Myst ME 10th Anniversary videos); minor cleanup.
svn-id: r48028
2010-02-10 00:20:33 +00:00
Max Horn
ba1d97211f Remove last traces of File::addDefaultDirectory
svn-id: r48027
2010-02-09 22:37:13 +00:00
Johannes Schickel
52af1b3884 Formatting.
svn-id: r48023
2010-02-09 22:03:59 +00:00
Johannes Schickel
e7d6d44e86 Be a bit more forgiveful in case the SeekableAudioStream passed to SubLoopingAudioStream does not allow reading the requested sample count at once (i.e. do not tread that as error, unless endOfData() is set).
svn-id: r48022
2010-02-09 22:03:02 +00:00
Johannes Schickel
b097e8635c Stop SubLoopingAudioStream playback, in case reading from the parent stream fails.
svn-id: r48021
2010-02-09 21:52:46 +00:00
Johannes Schickel
6a624df560 Make Audio::convertTimeToStreamPos return a frame-precision based result instead of a sub-frame-precision based result. This fixes the SubLoopingAudioStream tests.
svn-id: r48020
2010-02-09 21:52:27 +00:00
Johannes Schickel
fa2a1cd22d Add some additional tests for SubLoopingAudioStream and LoopingAudioStream. (Currently SubLoopingAudioStream tests fail for a reason unknown to me...)
svn-id: r48019
2010-02-09 21:52:08 +00:00
Johannes Schickel
f6aa8d0068 Fix SubLoopingAudioStream's readBuffer implementation.
svn-id: r48018
2010-02-09 21:51:47 +00:00
Johannes Schickel
d349be1fb8 Add unit test for SubLoopingAudioStream. (Currently they fail though :-/)
svn-id: r48017
2010-02-09 21:51:28 +00:00
Florian Kagerer
9b6042efb4 LOL: fixed script bug in castle cimmeria that would cause out of bounds mem access (should fix bug #2948109)
svn-id: r48016
2010-02-09 21:09:29 +00:00
Martin Kiewitz
a4039182ce SCI: also reset some variables inside reset(), so we dont error() out in lsl2 and other games that reset game engine inbetween
svn-id: r48015
2010-02-09 18:24:54 +00:00
Johannes Schickel
a4f46767d9 Add test cases for RawStream playing from a stream via a block list.
svn-id: r48014
2010-02-09 15:23:03 +00:00
Nicola Mettifogo
3a1e7ccbae Moved text parsing to a new class.
svn-id: r48013
2010-02-09 01:22:24 +00:00
Nicola Mettifogo
62741adf23 Merged _headers and _filemap.
svn-id: r48012
2010-02-09 01:07:39 +00:00
Arnaud Boutonné
816e318134 Fascination: - Suppress the recently added oFascin_keyFunc, replace it with a check in o1_keyFunc. This fixes the animation speed regression
- Rename Amiga-specific protracker functions
- Rewrite winDecomp.

svn-id: r48011
2010-02-08 23:12:42 +00:00
Max Horn
584a58fbce Reduce header interdependencies
svn-id: r48010
2010-02-08 21:51:36 +00:00
Max Horn
b3da11ba8a Introduce factory function makeArjArchive, hide ArjArchive class implementation
svn-id: r48009
2010-02-08 21:46:50 +00:00
Johannes Schickel
4e86741d9a Make the "seek after the end of the stream" test case a bit "harder".
svn-id: r48008
2010-02-08 21:25:10 +00:00
Johannes Schickel
18f6ac4776 Fix RawStream::seek implementation.
svn-id: r48007
2010-02-08 21:24:47 +00:00
Johannes Schickel
17fef29507 Get rid of the workaround for a g++ (code generation) bug on AMD64, by passing a reference of a Color instance to saturatedAddColor instead of a value.
svn-id: r48006
2010-02-08 20:29:19 +00:00
Johannes Schickel
c2932942c8 According to Buddha^ it should be fine to calculate (and set) the AMIGA dim palette in Palette::setGlobalOSystemPalette.
svn-id: r48005
2010-02-08 20:28:13 +00:00
Johannes Schickel
4c4424cb4c Mention that the music/sound effects support for KYRA1 AMIGA was from a GSoC task.
svn-id: r48004
2010-02-08 20:14:25 +00:00
Johannes Schickel
110e9aafd2 Allow credits and md5scumm rule to be working, when not building from the source dir.
svn-id: r48002
2010-02-08 20:03:36 +00:00
Torbjörn Andersson
7317aa0de0 Renamed variable to fix warning.
svn-id: r48001
2010-02-08 19:46:25 +00:00
Nicola Mettifogo
56bf7a20d3 Renamed ArjFile to ArchiveMan, and _arj to _archives.
svn-id: r48000
2010-02-08 18:17:32 +00:00
Nicola Mettifogo
0aefdb7826 Moved ArjFile to drascula.
svn-id: r47999
2010-02-08 17:48:35 +00:00
Nicola Mettifogo
16438e5c4d Fix trunk after fscking up.
svn-id: r47998
2010-02-08 16:56:04 +00:00
Nicola Mettifogo
29c4c30a25 Made ArjFile use a new ArjArchive class.
svn-id: r47997
2010-02-08 16:15:05 +00:00
Nicola Mettifogo
8f6352f5bb Objectified CRC32 calculator.
svn-id: r47996
2010-02-08 16:14:42 +00:00