39837 Commits

Author SHA1 Message Date
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
Fabio Battaglia
e521287063 CONFIGURE: drop hardcoded endianess and hq scalers from n64 section
svn-id: r51659
2010-08-02 20:45:17 +00:00
Johannes Schickel
2b73c50a47 GUI: Fix valgrind warning.
svn-id: r51658
2010-08-02 20:43:42 +00:00
Fabio Battaglia
a46f69570f CONFIGURE: cleanup of N64 port sections
svn-id: r51657
2010-08-02 20:38:06 +00:00
Fabio Battaglia
bde60490ad N64: mention hkz-libn64 download location in port readme
svn-id: r51656
2010-08-02 20:28:14 +00:00
Florian Kagerer
20d6173ee0 TOWNS AUDIO: fix typo
svn-id: r51655
2010-08-02 20:17:05 +00:00
Johannes Schickel
7f1f4c8b07 TOWNS/PC98: Replaced some tabs with spaces.
svn-id: r51654
2010-08-02 19:36:49 +00:00
Johannes Schickel
7f2e880f70 TOWNS/PC98 Driver: Some formatting fixes.
svn-id: r51653
2010-08-02 19:27:44 +00:00
Johannes Schickel
f14940cbb5 FM-TOWNS/PC98 Sound: Strip trailing whitespaces/tabs.
svn-id: r51651
2010-08-02 19:05:12 +00:00
Florian Kagerer
2964e9213d KYRA2: fix warning
svn-id: r51650
2010-08-02 19:00:46 +00:00
Florian Kagerer
7575c2be0b KYRA/TOWNS AUDIO: and another fix
svn-id: r51649
2010-08-02 18:56:51 +00:00
Florian Kagerer
add6d6772a KYRA/TOWNS AUDIO: try to fix last regression
svn-id: r51648
2010-08-02 18:53:23 +00:00
Florian Kagerer
d2019b9b8d KYRA: forgot to update Kyra.dat in last commit
svn-id: r51647
2010-08-02 18:37:37 +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
Max Horn
2f4d2b58de DS: Allow disabling assert via NDEBUG; cleanup
svn-id: r51640
2010-08-02 17:12:52 +00:00
Max Horn
8aae4aaaee BUILD: Unify how we set vars to yes/no
svn-id: r51639
2010-08-02 17:12:34 +00:00
Max Horn
8d1890d931 DS: Disable debug mode in setup-builddirs.sh
svn-id: r51638
2010-08-02 17:12:20 +00:00
Max Horn
8a3a41bc2b DS: More closely immitate CXXFLAGS of custom DS build system
svn-id: r51637
2010-08-02 17:12:03 +00:00
Max Horn
2682721aac DS: Reorder & complete list of OPT_SPEED files; some tweaks
Add -mno-thumb to OPT_SPEED to override the -mthumb from OPT_SIZE.

svn-id: r51636
2010-08-02 17:11:43 +00:00
Max Horn
5fb1bfd5a6 BUILD: Order host names (in particular ds and android) alphabetically
svn-id: r51635
2010-08-02 17:11:25 +00:00
Max Horn
d82e106d81 DS: Disable scalers and SID
svn-id: r51634
2010-08-02 17:11:12 +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