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
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
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
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
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
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
Nicola Mettifogo
3a1e7ccbae
Moved text parsing to a new class.
...
svn-id: r48013
2010-02-09 01:22:24 +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
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
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
b658c61155
Let ArjFile return a SeekableReadStream instead of implementing
...
the same interface itself. The caller is now responsible for
deleting the returned streams.
svn-id: r47994
2010-02-08 16:14:04 +00:00
Nicola Mettifogo
a9a0fdc694
Reduced references to _arj to the minimum. It is passed as a
...
SeekableReadStream everywhere.
svn-id: r47993
2010-02-08 16:13:31 +00:00
Nicola Mettifogo
1fe0facb24
Pass the input stream to text parser functions.
...
svn-id: r47992
2010-02-08 16:13:09 +00:00