Commit Graph

107 Commits

Author SHA1 Message Date
Matthew Hoops
019657fcd6 Fully implement xvga1300_carriage, the gallow's carriage is now fully usable.
svn-id: r50139
2010-06-22 14:03:55 +00:00
Matthew Hoops
e3b3641db2 Finish implementation of the jspit elevator logic.
svn-id: r50136
2010-06-22 05:10:43 +00:00
Max Horn
bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Matthew Hoops
8bd71a6ab2 Cleanup; add a TODO.
svn-id: r50000
2010-06-18 02:29:04 +00:00
Matthew Hoops
492f748a4b Add a comment on the unknown switch command argument.
svn-id: r49999
2010-06-18 02:28:58 +00:00
Eugene Sandulenko
f2a62bb1f5 MOHAWK: Properly add detection for Riven DVD.
svn-id: r49789
2010-06-15 10:59:43 +00:00
Eugene Sandulenko
44a39ffbc6 AdvancedDetector: Add new parameter directoryGlobs.
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.

svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
0b83afce03 MOHAWK: Sync with latest GUI changes.
svn-id: r49787
2010-06-15 10:57:47 +00:00
Eugene Sandulenko
1c3e96ac12 Split out Mohawk detection tables into separate file.
svn-id: r49658
2010-06-14 14:52:49 +00:00
Eugene Sandulenko
d59c312b08 Mohawk: Added support for running Riven off DVD layout.
Uses new directory depth feature of AdvancedDetector.
Set directory depth to 2 and added Assets1/ directory.
As a result, DVD layout which does not have any game data
file in top level directory gets detected and runs well.

svn-id: r49654
2010-06-14 14:50:53 +00:00
Eugene Sandulenko
4d517ed0e9 Extended advancedDetector with depth parameter.
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.

svn-id: r49653
2010-06-14 14:50:23 +00:00
Matthew Hoops
14a4d8f8b0 Fix a regression from r49377 - we should be checking against code in addition to index for duplicate MLST's.
svn-id: r49395
2010-06-02 17:04:55 +00:00
Matthew Hoops
a8deacfc7e In Riven, if we get a change card opcode on a mouse down event, ignore the next mouse up event so we don't misinterpret that as an event in the next card; minor cleanup.
svn-id: r49393
2010-06-02 15:26:35 +00:00
Matthew Hoops
42b22d16f6 Fix videos in Riven activated from a different card from which they are played; minor cleanup.
svn-id: r49377
2010-06-01 17:01:22 +00:00
Matthew Hoops
e13abd77e9 Add md5's for Myst ME and Riven DVD French.
svn-id: r49335
2010-05-30 21:44:26 +00:00
Matthew Hoops
7f678907d7 Add some null checking when pausing/resuming videos.
svn-id: r49254
2010-05-27 02:15:11 +00:00
Matthew Hoops
163847b245 Fix the 'boiling water' videos in the boiler puzzle.
svn-id: r49237
2010-05-26 13:11:04 +00:00
Matthew Hoops
5f3952e578 Fix a Myst regression: not a good idea to use memset on a Common::String :)
svn-id: r49215
2010-05-25 18:11:14 +00:00
Matthew Hoops
4a8841202a Implement *scpbtn and *_domecheck. The domes can now be opened/closed (not using the sliders).
svn-id: r49208
2010-05-25 03:46:28 +00:00
Matthew Hoops
ad0eb0b06e Move the PICT code to graphics/ with some updates; needed for SCI1.1 Mac.
svn-id: r49195
2010-05-24 17:18:09 +00:00
Matthew Hoops
2f31b05651 Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when Mohawk is not enabled) so SCI can use the code.
svn-id: r49165
2010-05-23 18:33:55 +00:00
Matthew Hoops
ad42fa0b2d The QuickTime getPalette() function should output in RGB format, not RGBA.
svn-id: r49121
2010-05-20 18:45:12 +00:00
Matthew Hoops
2e0fdda51f Add a pause level system to VideoDecoder (blatantly ripped off from Engine) and adapt Mohawk to it.
svn-id: r49120
2010-05-20 18:38:06 +00:00
Filippos Karapetis
9675bf2e7a Reverted commit #49088, seems like to be a false positive from MSVC on the QTPlayer::*func pointer of the ParseTable struct (warning 4121, alignment of a member was sensitive to packing)
svn-id: r49106
2010-05-19 17:18:20 +00:00
Filippos Karapetis
9af44c9332 Added packing to the QT structures
svn-id: r49088
2010-05-19 00:25:12 +00:00
Matthew Hoops
759e4923d0 Add a new class 'RewindableVideoDecoder' that allows a video to be rewound and have QTPlayer inherit from that.
svn-id: r49084
2010-05-18 17:36:34 +00:00
Matthew Hoops
bddceced34 Have QTPlayer inherit from VideoDecoder. The video downscaling (QuickTime is insane) has also been moved to the QTPlayer class.
svn-id: r49081
2010-05-18 14:59:20 +00:00
Matthew Hoops
11cbdd0318 Committing the rest of the VideoDecoder Rewrite from patch #2963496.
svn-id: r49079
2010-05-18 14:17:24 +00:00
Max Horn
970745e60c Move DebugChannel related code to new header
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
b3e404109c Move initGraphics and initCommonGFX from to new header.
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.

svn-id: r48934
2010-05-04 11:58:12 +00:00
Max Horn
5568a8473b Get rid of Engine::_gameDataDir.
This greatly reduces indirect dependencies on several header files
from common.

svn-id: r48933
2010-05-04 11:56:52 +00:00
Max Horn
460d69e885 COMMON: Move DebugChannel stuff into a new DebugMan singleton
svn-id: r48821
2010-04-27 21:40:52 +00:00
Matthew Hoops
001bca2d6c Remove use of global constructors in Mohawk.
svn-id: r48731
2010-04-19 20:28:36 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Matthew Hoops
3fe570cd70 Cleanup the Myst resource caching code a bit and add support for caching Myst ME MJMP sound 'jumps'
svn-id: r48579
2010-04-06 23:38:43 +00:00
Matthew Hoops
8e8b6cfa78 More transistions->transitions fixes
svn-id: r48571
2010-04-06 16:33:15 +00:00
Ori Avtalion
48a9e64338 Fix "Transitions" typo
svn-id: r48570
2010-04-06 15:40:13 +00:00
Max Horn
894e2aefe6 GUI: Unify various definitions of kOKCmd and move it to namespace GUI
svn-id: r48564
2010-04-06 09:26:43 +00:00
Matthew Hoops
96ccd4abcc Add support for 32bpp DirectBitsRect in Myst ME PICT's. Fixes various cards, especially in the Myst observatory.
svn-id: r48558
2010-04-05 19:41:30 +00:00
Max Horn
cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00
Max Horn
c934642bdb COMMON: Move typedef StringList from str.h to new header str-array.h
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.

svn-id: r48282
2010-03-18 15:09:24 +00:00
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00
Matthew Hoops
e8c2c2b25c Slightly rework refreshing cards in Riven (and remove the hackish changeToCard(0)).
svn-id: r48134
2010-02-26 08:14:33 +00:00
Matthew Hoops
08d3c24c12 Cleanup the sound code a bit.
svn-id: r48133
2010-02-26 08:11:45 +00:00
David Turner
fd9b52509f Mohawk : Update with work on Myst EXIT opcodes to work out purpose.
svn-id: r48087
2010-02-18 23:31:51 +00:00
Matthew Hoops
3452f5ea2d Implement stopMovie() for Riven. Fixes some dome related videos.
svn-id: r48082
2010-02-17 23:05:51 +00:00
David Turner
2ab3e0fb3c Mohawk : Adding resource cache class and integrating into Myst engine.
The resource caching trades increased memory usage against disk access.

This functionality can be disabled and enabled by the console "cache" command.

svn-id: r48080
2010-02-17 19:59:08 +00:00
Matthew Hoops
2d03db8a20 Cleanup handling of the telescope cover combination; matches the original algorithm much better.
svn-id: r48075
2010-02-17 04:20:19 +00:00
Matthew Hoops
be9a0946b4 Implement xgwatch so you can now find out the combination to free Catherine.
svn-id: r48073
2010-02-16 23:15:57 +00:00
Matthew Hoops
5e24974ad5 Implement xpisland990_elevcombo which allows you to free Catherine.
svn-id: r48072
2010-02-16 17:32:17 +00:00