Commit Graph

36708 Commits

Author SHA1 Message Date
Filippos Karapetis
0f0e123e5a Turned the asserts about the unknown sound field into a warning
svn-id: r47600
2010-01-27 15:06:47 +00:00
Filippos Karapetis
ae7696e5f1 Oops.... actually close the defgroup :)
svn-id: r47599
2010-01-27 14:10:19 +00:00
Filippos Karapetis
ef313aee02 Fixed comment about vocabulary, so that it doesn't refer to the line below it
svn-id: r47598
2010-01-27 14:08:06 +00:00
Walter van Niftrik
ed199f38b4 SCI: Experimental fix for Longbow outlook crash.
When using a pointer in number arithmetic, substitute a large value instead
of 0 (cf. Hoyle hack in kAbs).

svn-id: r47597
2010-01-27 13:14:28 +00:00
Travis Howell
0b4b3da4e4 Fix sound regression in HE games.
svn-id: r47596
2010-01-27 12:20:01 +00:00
Filippos Karapetis
b24be4f526 Added support of the subtraction of two pointers, when they got the same segment. This operation will yield a number, like in C, and it's used by script 385 in Castle of Dr. Brain (the hangman script). Fixes exiting room 360 (the puzzle room) in Castle of Dr. Brain
svn-id: r47595
2010-01-27 12:13:39 +00:00
Martin Kiewitz
f27c8284a5 SCI: scaling for non-regular cels, scaling for reanimate (fixes pharkas demo, fixes lb2 cd credit windows)
svn-id: r47594
2010-01-27 11:18:05 +00:00
Johannes Schickel
7e1051d8ec Fix seeking in FLAC implementation (FLAC's API uses the number of sample pairs, not the number of samples).
svn-id: r47593
2010-01-27 08:41:08 +00:00
Filippos Karapetis
8606982590 Moved the Shorten decoder inside the SAGA engine, as it's the only one using it (and it's still unfinished, too)
svn-id: r47592
2010-01-27 08:40:48 +00:00
Johannes Schickel
812603e29e Fix invalid sample position on Timestamp to sample conversion for Stereo streams.
svn-id: r47591
2010-01-27 08:08:33 +00:00
Matthew Hoops
9f2a619c06 SCI2.1 and onwards uses the 'new' DPCM8 which differs only by order. This fixes sound in the GK2 demo slideshow. Also, fix a logic bug with endianness in the DPCM decoders.
svn-id: r47590
2010-01-27 05:10:38 +00:00
Matthew Hoops
0717491b5b Downgrade the 'attempt to use invalid/unused file handle' error to a warning. This fixes the GK2 demo which now is playable and the slideshow is viewable. The GK2 demo scripts attempt to open the VERSION file which does not exist.
svn-id: r47589
2010-01-27 04:48:50 +00:00
Matthew Hoops
eabbe89971 Improve support for the SCI2.1/SCI3 file naming scheme. Multiple maps can be used and have to be matched up with their volume counterparts. Adding detection for the Phantasmagoria Demo too.
svn-id: r47588
2010-01-27 04:26:28 +00:00
Walter van Niftrik
3f7b6f9472 SCI: Restore pointer checks removed in r47585.
svn-id: r47587
2010-01-27 03:37:56 +00:00
Walter van Niftrik
7c0dcf108c SCI: Add pointer comparison support to signed comparison operators.
svn-id: r47585
2010-01-27 01:47:41 +00:00
Matthew Hoops
d4f08cbe81 Correct our interpretation of the first four bytes of the RSRC section in Mohawk archives.
svn-id: r47583
2010-01-26 23:05:52 +00:00
Max Horn
77fe0215cd Remove outdated comments
svn-id: r47582
2010-01-26 22:52:08 +00:00
Max Horn
ff783e4bb7 AGOS: Turn BaseSound into a subclass of Common::NonCopyable
svn-id: r47581
2010-01-26 22:51:40 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Martin Kiewitz
e0d05a482c SCI: changed flags (uint16) to force (bool) for set/merge palette methods
svn-id: r47578
2010-01-26 22:45:52 +00:00
Martin Kiewitz
935ded3615 SCI: force palette merging for kq6 hires portraits (cause its needed on those)
svn-id: r47577
2010-01-26 22:34:17 +00:00
Filippos Karapetis
46a05ce332 Fixed loading of old saved games
svn-id: r47576
2010-01-26 22:04:33 +00:00
Filippos Karapetis
d5724a2eda Fixed reading of options file (game.opt) for Hoyle 3
svn-id: r47575
2010-01-26 21:27:13 +00:00
Martin Kiewitz
f8a83cd61d SCI: dont do real merging of palettes for sci1.1+, fixes sq5 wilco face, wilco blue thingie in the background of intro, island of dr. brain, sq4 white pixels in background and more
svn-id: r47574
2010-01-26 21:12:13 +00:00
Filippos Karapetis
545e221d41 Added information about all the vocabularies used in SCI
svn-id: r47573
2010-01-26 20:40:25 +00:00
Walter van Niftrik
473d8b7c2f SCI: Add string support for odd-offset pointers into reg_t-based segments.
svn-id: r47572
2010-01-26 19:51:08 +00:00
Walter van Niftrik
9861b04b93 SCI: Add driver for Yamaha FB-01. Cleanup.
svn-id: r47571
2010-01-26 19:25:33 +00:00
Filippos Karapetis
d6bb432a92 Disable all detection entries for SCI3 games - they use a different script format (in .CSC files), and are currently totally unsupported
svn-id: r47570
2010-01-26 15:41:24 +00:00
Filippos Karapetis
0f76902068 Mention that the signature of kUnload has been set like this because of the SQ1 bug
svn-id: r47569
2010-01-26 15:39:23 +00:00
Martin Kiewitz
36c2243c48 SCI: also test for mapVersion == sci32 for setting viewtype to kViewVga11 - fixes kq7
svn-id: r47568
2010-01-26 15:22:04 +00:00
Martin Kiewitz
8c2daeb03d SCI: Added comment about PQ:SWAT original release (has the same MD5s as the pq collection release although version is 1.000)
svn-id: r47567
2010-01-26 13:44:27 +00:00
Filippos Karapetis
31a3c98fa2 Removed the unnecessary fadeVolume variable
svn-id: r47566
2010-01-26 13:06:21 +00:00
Martin Kiewitz
87ff1c7b7e SCI: removing now unneeded table EGAtable from palette class
svn-id: r47565
2010-01-26 11:40:54 +00:00
Filippos Karapetis
d154b9f008 Wording - we ignore calls to kUnload with less than 2 parameters
svn-id: r47564
2010-01-26 11:28:11 +00:00
Filippos Karapetis
e0293562de Ignore kUnload calls which are not made with less than 2 parameters. Apparently, according to the FreeSCI bugs list, SQ1 calls it with 1 parameter when exiting the Ulence flats bar
svn-id: r47563
2010-01-26 11:25:15 +00:00
Travis Howell
326d64d07d Let's Explore the Jungle with Buzzy uses VAR_PLATFORM variabletoo, but with different values.
svn-id: r47562
2010-01-26 08:31:27 +00:00
Martin Kiewitz
fd5e26806e SCI: dont fix line color for amiga 32 color
svn-id: r47561
2010-01-25 20:46:09 +00:00
Martin Kiewitz
ba7eb79074 SCI: removed EGA mapping for amiga games, cause changing K_GRAPH_GET_COLORS_NR to support amiga also fixes it - also fixes other odd issues like the ones in kq5 and castle of dr. brain/sq1 (thx. to waltervn for finding this out)
svn-id: r47560
2010-01-25 20:44:13 +00:00
Filippos Karapetis
3b7af74af4 Fixed window port for Slater and Hoyle 3 (the top coordinate of the main window port is 0 like Jones, not 10 like in other games)
svn-id: r47559
2010-01-25 19:13:25 +00:00
Johannes Schickel
157a1df30d Fix sample buffer calculation. Now it really asks for a buffer of 2048 samples for 22050Hz, like the comment states.
svn-id: r47558
2010-01-25 17:59:05 +00:00
Filippos Karapetis
dfafec6486 Fixed kSetCursor semantics detection for KQ5 Amiga, by making a hack for KQ5 CD specific to that version only
svn-id: r47557
2010-01-25 17:30:59 +00:00
Johannes Schickel
a28ac2881a Hopefully fix highlight background color in PC versions of CinE games.
svn-id: r47556
2010-01-25 17:21:55 +00:00
Martin Kiewitz
6bd6bc4bad SCI: fixing skipping over dummy VGA palettes in amiga games
svn-id: r47555
2010-01-25 17:09:31 +00:00
Martin Kiewitz
5fa0718356 SCI: created isAmiga32color(), using this method instead of comparing against viewType
svn-id: r47554
2010-01-25 12:34:40 +00:00
Martin Kiewitz
e7e0810c9c SCI: changed comment about amiga palette inside picture class (removed TODO as well)
svn-id: r47553
2010-01-25 11:26:32 +00:00
Martin Kiewitz
9f1962d006 SCI: support for amiga pictures that change the palette
svn-id: r47552
2010-01-25 11:15:40 +00:00
Martin Kiewitz
8d12d84609 SCI: support for both amiga "palettes" (one is a left-over VGA palette, the other one is a real palette, no idea whats in there cause its just 32 bytes instead of 64 bytes)
svn-id: r47551
2010-01-25 10:17:55 +00:00
Lars Persson
b0cab96cd0 Change UI name of Scumm Apps. Enable all engine in perl script
svn-id: r47550
2010-01-25 08:59:47 +00:00
Lars Persson
356bebc7b0 Turn off ARM asm for Costume until its fixed
svn-id: r47549
2010-01-25 08:56:50 +00:00
Johannes Schickel
2eb16caade Remove HACK, which is obsolete because of r47336.
svn-id: r47548
2010-01-25 03:05:39 +00:00