Commit Graph

37254 Commits

Author SHA1 Message Date
Filippos Karapetis
f034b8bd5f Fixed typo
svn-id: r48060
2010-02-14 12:32:25 +00:00
Filippos Karapetis
07e405588d Moved the reference to AudioPlayer inside SciEngine (as it doesn't have a state, per se, and is static)
svn-id: r48059
2010-02-14 12:23:22 +00:00
Max Horn
dd5518d3c5 Add support for samples > 32kb to Paula chip emulation code.
In addition, the code got simplified considerably. Its behavior changed
slightly due to this, but I think the old behavior was wrong. In any
case, this may fix some bugs, or introduce regressions, or both. We'll
see ;).

svn-id: r48058
2010-02-14 01:54:21 +00:00
Matthew Hoops
b7ae950130 Remove an obsolete TODO.
svn-id: r48057
2010-02-14 00:02:59 +00:00
Matthew Hoops
1cd9498dbc Implement background video support for Riven; some VideoManager/QTPlayer cleanup.
svn-id: r48056
2010-02-13 23:34:18 +00:00
Arnaud Boutonné
03e8276407 Fascination: REAL fix. Thanks DrMcCoy.
svn-id: r48055
2010-02-13 22:26:52 +00:00
Arnaud Boutonné
17de7acd7b Fix a crash in previous commit
svn-id: r48054
2010-02-13 22:17:17 +00:00
Arnaud Boutonné
5ba36c8216 Fascination:
- Fix a potential bug in winDraw
- Add a hack (and a todo) to work around the missing texts and windows in Amiga, Atari and early PC floppy version.

svn-id: r48053
2010-02-13 21:59:45 +00:00
Max Horn
b9a11ddb0b SCI: Move language related code from EngineState to SciEngine
svn-id: r48052
2010-02-13 17:46:44 +00:00
Max Horn
06021f79ac SCI: Fix compiling with USE_OLD_MUSIC_FUNCTIONS enabled
svn-id: r48051
2010-02-13 17:46:05 +00:00
Max Horn
e45f0f309a SCI: Remove EngineState::_kernel, use SciEngine::_kernel instead
svn-id: r48050
2010-02-13 17:45:40 +00:00
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