Matthew Hoops
5fd7dbb406
Move Riven variable randomization to initVars() and implement randomization for the dome and prison combinations.
...
svn-id: r48070
2010-02-16 03:01:46 +00:00
Matthew Hoops
b3ab83d8c1
Add a workaround for two 'spare' variables that can exist in some save files.
...
svn-id: r48069
2010-02-16 01:48:19 +00:00
Matthew Hoops
55a9787234
Correct a rogue typo.
...
svn-id: r48068
2010-02-16 00:12:00 +00:00
Arnaud Boutonné
9426e86ede
Playtoons - "Fascination" workaround for text is also required for Playtoons.
...
svn-id: r48067
2010-02-15 22:17:48 +00:00
Matthew Hoops
cf005b6238
SCI32 reorders the REF* subops in kMessage; fixes GK1 conversations.
...
svn-id: r48066
2010-02-15 17:10:40 +00:00
Max Horn
9de580aa6e
TINSEL: Cleanup the 'script workaround' code a bit.
...
* Rewrap comments to 72 columns
* Add some references to relevant bug tracker items
* Use sizeof instead of handcoding array lengths, which is error prone
and tedious
* Move definition of WorkaroundEntry from pcode.h to pcode.cpp
* Define FRAGMENT_WORD to make fragment code a bit more readable,
and also encoding of 16 bit words into it less error prone
* Make all code fragments static
svn-id: r48065
2010-02-15 10:01:26 +00:00
Max Horn
b246c867df
SCI: No need to set _executionStackPosChanged in kDisposeScript, as the callk opcode handler does that already
...
svn-id: r48064
2010-02-15 10:01:09 +00:00
Max Horn
975dbef0e5
SCI: Remove sound/audio.h include from engine/state.h
...
svn-id: r48063
2010-02-15 00:20:53 +00:00
David Turner
384acffeb1
Mohawk : Corrected Myst Opcode 200/300 in Intro/Demo stack to correctly call Intro movies.
...
svn-id: r48062
2010-02-14 19:01:02 +00:00
Arnaud Boutonné
bf17ff87db
Fascination - Put correct protracker functions as Paula now accept sample size > 32k. MOD is now playing in Amiga and Atari versions.
...
svn-id: r48061
2010-02-14 18:30:12 +00:00
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