Commit Graph

17326 Commits

Author SHA1 Message Date
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
Martin Kiewitz
d42d7ad6c5 SCI: allowing kCheckSaveGame with id 0
qfg2 - when trying to restore from an empty saved game list

svn-id: r51663
2010-08-02 21:44:41 +00:00
Martin Kiewitz
7da703f0af SCI: adding workaround for qfg2 (restore game)
svn-id: r51662
2010-08-02 21:37:43 +00:00
Filippos Karapetis
5ca6b33ba7 SCI: Silenced some sound related warnings. Added an empty function for kDoSound(Restore), called when restoring games
svn-id: r51661
2010-08-02 21:20:43 +00:00
Martin Kiewitz
09f4562551 SCI: adding non-scaleable view capability
fixes laura bow 2 (especially floppy but CD is also affected somewhat by this)

svn-id: r51660
2010-08-02 21:04:09 +00:00
Florian Kagerer
2964e9213d KYRA2: fix warning
svn-id: r51650
2010-08-02 19:00:46 +00:00
Matthew Hoops
bed1e3c164 SCI: Fix bug #3037401 - LB2Floppy: No SFX
Laura Bow 2 floppy and Mixed-Up Mother Goose SCI1.1 use an 8-byte entry 0.map format to store their entries.

svn-id: r51646
2010-08-02 18:30:37 +00:00
Florian Kagerer
9c8b465505 KYRA: FM-Towns audio driver rewrite
- FM-Towns euphony driver completely rewritten based on KYRA FM-Towns and LOOM towns disasm.

- Split all the emu and driver code from sound_towns.cpp into different files to make things a bit less confusing.

- Move the driver code to common space since the exact same euphony driver is used by LOOM which means we could get rid of the outdated and incomplete ym2612 driver/emu implementation (which doesn't even do things like instrument loading, pan position, etc). I haven't tried to add this to the Scumm engine yet, since I am not  familiar with it and my priority was to get the driver finished first. But from the look of disasm it shouldn't be difficult to do.

- Introduce a generic FM-Towns audio interface based on FM-Towns system file disasm which was necessary for the euphony driver rewrite. Every FM-Towns game I have seen so far seems to access the audio hardware via these system functions. This interface implementation will also allow reasonably simple creation of new FM-Towns audio drivers (e.g. this could be used for Kings Quest 5 FM-Towns or others).

- Move the PC98 driver to common space, too, since I have a strong feeling that this driver is also used in the PC98 version of Future Wars

- This also improves KYRA FM-Towns music quality, sound effects accuracy and music fading.

svn-id: r51645
2010-08-02 18:30:25 +00:00
Matthew Hoops
180f188b88 SCI: Cleanup SCI0 late version detection
After discussing with Walter, we should be able to detect SCI0 late on the presence of a SCI0 vocab.999 without checking if we're using the old decompressors.

svn-id: r51644
2010-08-02 18:25:48 +00:00
Martin Kiewitz
512fec56c7 SCI: adding offTop = 0 for mother goose sci1.1
fixes graphics in that game

svn-id: r51643
2010-08-02 18:04:23 +00:00
Max Horn
bcfb8a030a SCI: Rewrap overlong lines; improve dialog text slightly
svn-id: r51641
2010-08-02 17:13:09 +00:00
Martin Kiewitz
cad3ea9f78 SCI: extend workaround for qfg2
fixes bug #3038367

svn-id: r51628
2010-08-02 16:38:48 +00:00
Martin Kiewitz
e14033c6c5 SCI: adding kq5 english floppy workaround
solves bug #3037594

svn-id: r51627
2010-08-02 15:42:51 +00:00
Martin Kiewitz
6792193c89 SCI: adding bugid again :P
svn-id: r51626
2010-08-02 15:26:19 +00:00
Martin Kiewitz
84999b2daa SCI: adding workaround for lsl6
when touching fence

svn-id: r51625
2010-08-02 15:23:23 +00:00
Matthew Hoops
8686be738b SCI: Enable the Lighthouse demo SCI2.1 entry even when ENABLE_SCI3_GAMES is not set
svn-id: r51624
2010-08-02 15:17:18 +00:00
Matthew Hoops
c5959bb179 SCI: Add Hoyle 2 Mac md5's
svn-id: r51622
2010-08-02 14:39:46 +00:00
Matthew Hoops
94e8c3a1a8 SCI: Add fallback detection for Mac SCI0 games
svn-id: r51620
2010-08-02 14:38:20 +00:00
Matthew Hoops
c715f18273 SCI: Fix bug #3037055: Jones in the Fast Lane EGA - fails to start
A regression of r51423. Jones EGA has a non-parser related vocab.900 resource, so we can't detect the fan games based on not having an SCI1 vocab.900 resource. Fan games are now detected on whether or not vocab.0 exists (the parser vocab for SCI0).

svn-id: r51619
2010-08-02 14:14:06 +00:00
Martin Kiewitz
8cfce68c08 SCI: adding bug id inside comments
svn-id: r51617
2010-08-02 13:49:08 +00:00
Martin Kiewitz
7ad434c592 SCI: adding workaround for kq5 floppy
should fix bug #3037003, i dont have english floppy, can't test.

svn-id: r51616
2010-08-02 13:45:51 +00:00
Martin Kiewitz
50b8073bab SCI: clipping plane rects for sci32
fixes crash in hires gk1 on cemetary

svn-id: r51615
2010-08-02 13:41:58 +00:00
Martin Kiewitz
b914ad3e84 SCI: fixing typo
svn-id: r51614
2010-08-02 12:48:28 +00:00
Martin Kiewitz
e59db80dec SCI: qfg2/3 import
- change directory button disabled
- showing message where to put characters, if saved from original sci interpreter

svn-id: r51613
2010-08-02 12:39:01 +00:00
Filippos Karapetis
81aeb6a125 SCI: Actually fake a return value for rev #51611, instead of ignoring the call completely
svn-id: r51612
2010-08-02 12:18:22 +00:00
Filippos Karapetis
065d32ec00 SCI: Fixed script bug #3037835 - "ISLANDBRAIN: Crash when breeding second-generation hybrid"
svn-id: r51611
2010-08-02 11:46:03 +00:00
Filippos Karapetis
f0d7808b2a Added another version of Castle of Dr. Brain (bug report #3037942)
svn-id: r51610
2010-08-02 09:10:20 +00:00
Filippos Karapetis
f434f901bd SCI: Fixed script bug #3038077 - "PQ3 : Engine Abort While Plotting Crimes", together with 2 subsequent similar bugs
svn-id: r51609
2010-08-02 09:04:14 +00:00
Martin Kiewitz
52c9c7b445 SCI: fixing getting selected language
for multilingual games

svn-id: r51608
2010-08-02 08:47:06 +00:00
Eugene Sandulenko
55ada2315a AdvancedDetector: Fix ADGF_ADDENGISH implementation
svn-id: r51606
2010-08-02 08:36:33 +00:00