5149 Commits

Author SHA1 Message Date
Filippos Karapetis
26dfb6affa SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"
The left window dimension adjustment (rev #48772) has been moved from
GfxPorts::setOrigin() into GfxPorts::addWindow(), as the updated dimension is
later used when filling the contents of the window (apparent in some fan made
games)

svn-id: r54976
2010-12-20 15:30:31 +00:00
Filippos Karapetis
4b836d611f SCI: Fixed bug #3037945 - "PQ3 : Graphical Glitch with White Mercedes on Freeway"
svn-id: r54975
2010-12-20 12:21:18 +00:00
Filippos Karapetis
d3340b0d0c SCI: Commented out unused signal flags
svn-id: r54974
2010-12-20 12:19:28 +00:00
Filippos Karapetis
91bee3e7b0 SCI: Added another English version of QFG3 (bug #3125559)
svn-id: r54962
2010-12-19 15:48:51 +00:00
Matthew Hoops
1ead0d8436 VIDEO: Make VideoDecoder::getPalette() return a const byte pointer
svn-id: r54928
2010-12-16 01:41:11 +00:00
Matthew Hoops
375f32fbe9 VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
2010-12-16 01:35:13 +00:00
Filippos Karapetis
aa15235858 SCI: Slight cleanup
svn-id: r54925
2010-12-15 23:35:21 +00:00
David Turner
58b7295193 SCI: Fixed View Cel RLE Decoding when RLE Code 0x40 is used (Corrects Bug #3135872 "LSL1VGA: "Pause Game" problem")
In the copy case, the runLength can be up to 127, not 64 i.e. the LSB of the RLE code forms part of the runLength.

svn-id: r54924
2010-12-15 22:36:55 +00:00
David Turner
f2205a5a01 SCI: Close Memory Leaks in SCI Resource Loading, reported by Valgrind.
svn-id: r54916
2010-12-14 23:30:22 +00:00
Max Horn
6edc86a19b DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine
svn-id: r54815
2010-12-07 18:54:21 +00:00
Filippos Karapetis
fdd2d980c6 SCI: Bumped up the save game version for rev #54805
Initially, I thought that older ScummVM versions will work with these saved games.
However, they will probably crash when trying to load saved games after rev #54805,
as the heap is reset when loading, and the system strings segment is no longer
initialized (thanks wjp).

svn-id: r54809
2010-12-07 16:49:53 +00:00
Matthew Hoops
65f218dce0 SCI: Silence warnings
svn-id: r54806
2010-12-07 01:12:48 +00:00
Filippos Karapetis
de2ef2edc0 SCI: Removed the system strings code and replaced it with a much more simplified version, thus greatly simplifying handling of system strings
svn-id: r54805
2010-12-07 00:47:05 +00:00
Matthew Hoops
c2ec6020e3 SCI: Fix uninitialized reads (and therefore, GK1)
svn-id: r54799
2010-12-06 19:37:19 +00:00
Johannes Schickel
c14399c229 SCI: Slight formatting fix.
svn-id: r54737
2010-12-02 17:03:21 +00:00
Filippos Karapetis
4fe03f1b66 SCI: Enabled the GUI option to play speech and show subtitles simultaneously in SQ4CD
svn-id: r54736
2010-12-02 13:37:39 +00:00
Lars Skovlund
0ac28d1fbf Disable error message regarding RESOURCE.AUD/.SFX for now.
svn-id: r54735
2010-12-02 13:29:49 +00:00
Filippos Karapetis
94801fcea3 SCI: Fixed bugs #3041044, #3046543 and #3046513
svn-id: r54690
2010-12-01 00:40:52 +00:00
Filippos Karapetis
b837366871 SCI: Added an uninitialized read script workaround for QFG1VGA
svn-id: r54663
2010-11-30 00:27:36 +00:00
Filippos Karapetis
6c73f8266e SCI: Fixed bug #3053093 - "QFG1VGA and QFG3: Text box glitches"
svn-id: r54662
2010-11-30 00:26:00 +00:00
Filippos Karapetis
0b5f6d4c97 SCI: Fixed bug #3034471 - "SCI, Castlebrain/Amiga: Invisible text in word search"
Fixed some endianness issues in Amiga versions, thanks to wjp. Amiga
versions expect a BE VM, thus we adjust accordingly in the places
where memory is accessed directly (i.e. kStrAt, kMemory and all places
that set/get characters from memory)

svn-id: r54521
2010-11-28 14:57:56 +00:00
Filippos Karapetis
c76422412d SCI: Compensate for buggy KQ5CD saved games (before r54510)
svn-id: r54513
2010-11-27 18:46:12 +00:00
Filippos Karapetis
0312235f67 SCI: Removed bogus warning
svn-id: r54512
2010-11-27 18:27:02 +00:00
Filippos Karapetis
91e42bbcb9 SCI: Reverted changes to savegame.cpp made in r54510, as that still occurs
svn-id: r54511
2010-11-27 18:23:39 +00:00
Filippos Karapetis
3485d433c5 SCI: Fixed bug #3034713 - "ICEMAN Demo: Fails to find base object"
This could happen because objects in scripts can be in the wrong order.
Same thing happens in the French and German version of KQ5 (bug #3035396).
Removed the scriptObjRemove() method, which is in fact a hack.

svn-id: r54510
2010-11-27 18:08:47 +00:00
Filippos Karapetis
49afe9ccff SCI: Fix for bug #3119713 - "PQ2: song-specific reverb changes are ignored" (thanks to waltervn)
svn-id: r54509
2010-11-27 17:29:42 +00:00
Walter van Niftrik
52b89206c0 SCI: Pull reverb default directly from control channel.
svn-id: r54499
2010-11-26 14:35:46 +00:00
Walter van Niftrik
3d38a383bb SCI: Only filter channels for early SCI0, as GM currently uses all channels.
svn-id: r54498
2010-11-26 14:35:28 +00:00
Filippos Karapetis
5562f9e087 SCI: Added a define to turn off channel remapping (for debugging)
svn-id: r54496
2010-11-26 14:25:18 +00:00
Filippos Karapetis
d3b14e1445 SCI: Implemented FR #3101338: "King's Quest 6 Windows Mouse Icons"
Added an option to use the original Windows cursors in the Windows version of KQ6
Also, added an update on how the Mac cursors are handled (perhaps the handling is
the same)

svn-id: r54495
2010-11-26 12:37:24 +00:00
Filippos Karapetis
ce9f7c0df1 SCI: Fixed keyboard input when numlock is on, and cleaned up the way some special keys are translated
svn-id: r54493
2010-11-26 10:03:24 +00:00
Filippos Karapetis
1d4e452c78 SCI: Send the SCI0 reverb init after reading the reverb data
svn-id: r54492
2010-11-26 06:41:45 +00:00
Filippos Karapetis
e793d62c8d Fixed bug with r54485
svn-id: r54488
2010-11-26 00:10:51 +00:00
Filippos Karapetis
069309f88a SCI: set the reverb setting of the current song when a relevant event is fired from the MIDI stream
svn-id: r54485
2010-11-26 00:05:27 +00:00
Filippos Karapetis
af15ac6f6a SCI: Some reverb-related changes in the MIDI driver, based on a patch by waltervn
svn-id: r54484
2010-11-25 22:23:14 +00:00
Filippos Karapetis
3a8648c4db SCI: Initialize reverb in the music driver correctly. Based on a patch by waltervn
svn-id: r54483
2010-11-25 22:17:23 +00:00
Filippos Karapetis
11ac03b7ab SCI: Global reverb can't be 127. Some cleanup
svn-id: r54482
2010-11-25 22:16:22 +00:00
Filippos Karapetis
1cf26f67e0 SCI: Initialize global reverb correctly. Fixes bug #3118700 - "SCI KQ5: Assertion in midi.cpp" (regression from r54478)
svn-id: r54481
2010-11-25 22:14:38 +00:00
Filippos Karapetis
601494cad4 SCI: implemented reverb handling and related functionality
svn-id: r54478
2010-11-25 16:09:45 +00:00
Filippos Karapetis
16006c78f5 SCI: Fixed a bug in the show_instruments console command
svn-id: r54477
2010-11-25 15:59:30 +00:00
Filippos Karapetis
2c2f3a97e6 SCI: Added support for the alternate Windows MIDI soundtracks of the CD versions of EcoQuest, Jones, KQ5 and SQ4
svn-id: r54476
2010-11-25 14:22:09 +00:00
Filippos Karapetis
394daa5704 SCI: Added engine method isCD()
svn-id: r54475
2010-11-25 14:19:02 +00:00
Filippos Karapetis
29395974ca SCI: Remove the Windows versions of Freddy Pharkas. This one has an alternative sound track, but it's handled in a different manner
svn-id: r54474
2010-11-25 14:16:46 +00:00
Filippos Karapetis
d9f429716f SCI: Fixed compilation
svn-id: r54473
2010-11-25 13:01:45 +00:00
Filippos Karapetis
69da6a6dd6 SCI: added Windows entries for all games with alternate GM tracks
These are the CD versions of EcoQuest, Jones, KQ5, Pharkas and SQ4
Also, added AGDF_CD to all CD versions that have corresponding floppy versions

svn-id: r54472
2010-11-25 12:44:17 +00:00
Walter van Niftrik
8c4ebc434d SCI: Fix bug in MT-32 checksum computation. Thanks Sven for finding this.
svn-id: r54471
2010-11-25 11:19:46 +00:00
Filippos Karapetis
52898b6336 SCI: Fixed digital audio at the beginning of KQ5CD and removed a hack for the Windows version
svn-id: r54466
2010-11-25 02:21:07 +00:00
Filippos Karapetis
ff58eea2ce SCI: Set _useMT32Track correctly for KQ5 Windows, thus simplifying the code
svn-id: r54465
2010-11-25 01:31:03 +00:00
Filippos Karapetis
7508260954 SCI: Added support for the alternative GM tracks of the Windows version of KQ5CD (bug #3041239)
Note that the empty GM track for the Sierra logo makes the game hang, so the
MT-32 track is used, which sounds awful

svn-id: r54464
2010-11-25 01:19:45 +00:00
Filippos Karapetis
169c6be32b SCI: Fixed a bug in the script disassembler
svn-id: r54463
2010-11-24 21:32:34 +00:00