17355 Commits

Author SHA1 Message Date
Matthew Hoops
4a2ab85019 SCI: Fix size of wave files inside audio volumes (thanks to LordHoto for pointing out)
svn-id: r51745
2010-08-04 22:45:10 +00:00
Matthew Hoops
7988278336 SCI: Add uninit'd workaround for bug #3038757
svn-id: r51744
2010-08-04 18:19:18 +00:00
Matthew Hoops
ed741dc96c SCI: Fix bug #3038913 - SCI Fanmade - The Legend of the Lost Jewel: Crash by bugs
Added workaround for calling mul with an object and kSetAngle with two objects as parameters.

svn-id: r51743
2010-08-04 18:11:11 +00:00
Matthew Hoops
642b03fb44 SCI: Add kDisplay workarounds for the Hero's Quest demo
svn-id: r51742
2010-08-04 17:50:09 +00:00
Florian Kagerer
e5ffc7847c AUDIO: Implement volume and balance control for the AudioCD manager (needed for music fading in Kyra 1 FM-Towns and probably other FM-Towns games). This addition applies to emulated CD audio only for now. I haven't found a way to implement this for real CDs yet. SDL doesn't seem to support this (but it might be just me? If anyone knows more about this, just tell me).
svn-id: r51741
2010-08-04 16:53:09 +00:00
Matthew Hoops
fbd7c84567 SCI: Add Hero's Quest demo detection entry (qfg1 ega)
svn-id: r51740
2010-08-04 16:13:26 +00:00
Matthew Hoops
a5056cde98 SCI: Add 'movie' subdirectory for VMD's
The Torin's intro movie now plays. Minor kPlayVMD cleanup.

svn-id: r51739
2010-08-04 15:17:09 +00:00
Filippos Karapetis
4db52c1ce1 SCI: Turned a warning into a debugC
svn-id: r51738
2010-08-04 13:35:56 +00:00
Filippos Karapetis
2b1f366e19 SCI: Added detection entry for Hoyle 4 (Hoyle Classic Card Games) from bug report #3039291
svn-id: r51735
2010-08-04 12:54:16 +00:00
Filippos Karapetis
624107319e SCI: Fixed an off-by-one error in GfxPorts::getPortById() and moved the error checking code outside the function. Also fixed script bug #3039305 - "HOYLE4: segfault"
svn-id: r51733
2010-08-04 12:41:00 +00:00
Willem Jan Palenstijn
74304fb790 SCI: Fix infinite recursion when saving.
This was a regression from r51727.

svn-id: r51731
2010-08-04 12:11:23 +00:00
Filippos Karapetis
8d3086d301 SCI: Fixed the two script bugs described in bug #3039294 - "SCI: HOYLE4 - Uninitialized Read(s)"
svn-id: r51730
2010-08-04 12:02:50 +00:00
Martin Kiewitz
975e3bf83e SCI: fixing a scrolling issue in sci32
svn-id: r51729
2010-08-04 10:11:06 +00:00
Martin Kiewitz
b45f2fcb97 SCI: fix fadeout on workarounds
svn-id: r51728
2010-08-04 09:15:37 +00:00
Max Horn
fcf3ea61fe SCI: Simplify code (let the compiler interfer types where possible)
svn-id: r51727
2010-08-04 08:26:09 +00:00
Max Horn
5ed9ddaa2c SCI: Remove reference to common/serializer.h from vm_types.h
svn-id: r51726
2010-08-04 08:25:39 +00:00
Max Horn
0e2807dc27 GRAPHICS: Change signature of VideoDecoder::load()
Now takes a pointer to a stream, instead of a reference.
The rational is that in all instances, callers have a pointer
(and dereference it to call load), and all load implementations
turn the reference back into a pointer.

svn-id: r51725
2010-08-04 08:25:05 +00:00
Matthew Hoops
0eaa9bddb6 SCI: Fix restoring SCI32 games (a regression of r51712)
svn-id: r51723
2010-08-04 05:15:01 +00:00
Matthew Hoops
cbe07a07b7 SCI: Fix SCI32 texts that are in Str objects
The text selector of the text bitmap object can contain either a Str object or a raw string. Handling the Str object case fixes the Torin demo. Oooh! Vertical scrolling!

svn-id: r51722
2010-08-04 05:06:41 +00:00
Matthew Hoops
bde4012f46 SCI: Silence valgrind warning (thanks to syke for pointing out)
svn-id: r51717
2010-08-04 00:33:54 +00:00
Martin Kiewitz
7487b51e87 SCI: not error()ing out on no free channels
instead we just ignore such channels. I'm not sure how sierra sci behaved in that case, they ignored channels as well, but maybe they removed them from earlier music

svn-id: r51715
2010-08-03 21:38:26 +00:00
Martin Kiewitz
dc08c733db SCI: adding jones/talkie speed throttler view
fixes bug #3038989, regression of r51544

svn-id: r51714
2010-08-03 20:46:28 +00:00
Martin Kiewitz
2e11c1cf96 SCI: reset ports when restoring
fixes qfg3/fairy tales restoring (bug #3035626)
also fixes ScummVM menu restoring while a window is shown (e.g. sq5)

svn-id: r51712
2010-08-03 19:43:16 +00:00
Martin Kiewitz
fcede4680a SCI: adding bpk debug command
currently removing or listing such breakpoints is not yet supported

svn-id: r51710
2010-08-03 19:06:40 +00:00
Florian Kagerer
3fc3a59139 KYRA/TOWNS: replace some music stops with fadeouts (based on original code)
svn-id: r51708
2010-08-03 18:19:25 +00:00
Robert Špalek
3d228f270f DRACI: recognize German translation
svn-id: r51707
2010-08-03 17:09:27 +00:00
Florian Kagerer
824a5f32a0 LOL: fixed possible crash in environmental sfx code
svn-id: r51706
2010-08-03 16:54:39 +00:00
Johannes Schickel
13824582d1 LOL: Minor adjustment to latest generateOverlay changes.
svn-id: r51705
2010-08-03 16:43:57 +00:00
Johannes Schickel
64585b40eb KYRA: Get rid of Screen_LoL::generateLevelOverlay.
This function is actually exactly the same as Screen_v2::generateOverlay,
after I fixed the implementation of the latter last commit.

svn-id: r51704
2010-08-03 16:22:12 +00:00
Johannes Schickel
14c9522d77 KYRA: Fix Screen_v2::generateOverlay implementation.
svn-id: r51703
2010-08-03 16:21:45 +00:00
Martin Kiewitz
14e7ba5d91 SCI: kMemory issue in pq3 only for multilingual
adjusted comment accordingly

svn-id: r51702
2010-08-03 16:03:22 +00:00
Martin Kiewitz
ee28c2eb54 SCI: adding workaround for pq3
fixes bug #3037565

svn-id: r51701
2010-08-03 15:51:31 +00:00
Matthew Hoops
20002588e6 SCI: Hopefully fix signedness warning with some compilers
svn-id: r51699
2010-08-03 15:33:35 +00:00
Johannes Schickel
b149ca89d5 KYRA3: Fix bug in Screen_v2::generateOverlay.
Uncovered by a valgrind warning.

svn-id: r51698
2010-08-03 15:09:39 +00:00
Martin Kiewitz
65e215628d SCI: dont clip plane during frameout.cpp
disables scrolling capability
(regression of r51615)

svn-id: r51697
2010-08-03 15:04:56 +00:00
Matthew Hoops
44f12117f2 SCI: Add support for SCI2.1 chunk resources
And if no scripts are present, but chunk 0 is present, load resources from there. This fixes the Lighthouse SCI2.1 demo.

svn-id: r51696
2010-08-03 14:58:57 +00:00
Florian Kagerer
5962b0bbe2 KYRA/TOWNS: implement music/sfx volume control via GUI/GMM
svn-id: r51695
2010-08-03 14:58:01 +00:00
Matthew Hoops
221934ea93 SCI: Add detection entries from bug #3037054, bug #3038720, and bug #3038761
svn-id: r51694
2010-08-03 14:10:25 +00:00
Martin Kiewitz
4c7a6ac2d5 SCI: adding workaround for pq3 inside kMemory
fixing plot crimes warnings and bad text on screen

svn-id: r51693
2010-08-03 13:17:30 +00:00
Martin Kiewitz
a1730b4b34 SCI: adding workaround for sq5 on the bridge
fixes bug #3038563

svn-id: r51689
2010-08-03 12:46:18 +00:00
Filippos Karapetis
32807512d9 SCI: Cleanup
svn-id: r51687
2010-08-03 12:41:36 +00:00
Martin Kiewitz
425b90f6d2 SCI: adding kDoSound(fade) workaround table to sci1early
fixes kq5 bug #3037594 thx to [md5] for testing

svn-id: r51686
2010-08-03 12:39:11 +00:00
Eugene Sandulenko
02cca98ed6 SCUMM: Add posibility to disable NES APU which is CPU demanding
svn-id: r51679
2010-08-03 11:25:20 +00:00
Johannes Schickel
a76f5449bc SCI: Yet another slight leak fix.
svn-id: r51670
2010-08-02 23:03:04 +00:00
Johannes Schickel
92b0b384ea SCI: Fix memory leak.
svn-id: r51669
2010-08-02 22:35:29 +00:00
Johannes Schickel
4e33b7a3be GRAPHICS: Renamed skipThumbnailHeader to skipThumbnail.
svn-id: r51668
2010-08-02 22:28:30 +00:00
Johannes Schickel
0dba655085 SCI: Fix memory leak.
This was a quite bad leak in gamestate_restore. It was caused by the code only
deleting the Graphics::Surface object but not its data.

I changed the code to use skipThumbnailHeader now, since the code actually
ignores the thumbnail anyway.

svn-id: r51667
2010-08-02 22:27:50 +00:00
Johannes Schickel
dd38e424e7 SCI: Fix leaks in ResourceManager::listResources caller code.
svn-id: r51666
2010-08-02 22:27:26 +00:00
Martin Kiewitz
a1001731fa SCI: fixing leak kernel subfunctions
svn-id: r51665
2010-08-02 22:12:45 +00:00
Martin Kiewitz
0f339921ed SCI: only display qfg-import information dialog once
per room usage

svn-id: r51664
2010-08-02 21:57:17 +00:00