Filippos Karapetis
dcd1326970
SCI: Some renaming and added several TODOs concerning reverb
...
svn-id: r54461
2010-11-24 16:01:30 +00:00
Filippos Karapetis
1ebae78ff1
SCI/SOUND: Applied patch #3117577 - "SCI: MT-32 plays "warble" of notes when music resumes", with some slight modifications
...
This is only used by SCI for now, but it is probably correct to apply this for
all engines, thus an appropriate TODO has been added
svn-id: r54460
2010-11-24 15:12:43 +00:00
Filippos Karapetis
9493b9add5
SCI: Moved handling of special reverb value 127 outside of the MIDI driver
...
svn-id: r54459
2010-11-24 14:51:29 +00:00
Filippos Karapetis
c3cb4c92a8
SCI: Placed some selectors added in SCI1.1 in a separate table
...
svn-id: r54458
2010-11-24 14:38:08 +00:00
Filippos Karapetis
364d37b302
SCI: some changes to the way reverb is handled
...
- "Invalid" SCI reverb values (127) are properly handled now
- SCI kDoSound(reverb) sets the global reverb (renamed it accordingly)
- kDoSound(reverb) can also return the current reverb if no parameter is sent
svn-id: r54457
2010-11-24 14:21:31 +00:00
Filippos Karapetis
642d15e43f
SCI: Added a getReverb() accessor to the SciMusic class
...
svn-id: r54456
2010-11-24 14:15:46 +00:00
Filippos Karapetis
7fc171e3bc
SCI: Some slight changes to get the "find_callk" console command working in KQ5
...
- Ignore invalid object in KQ5 script 784
- Script 980 looks to be an unused leftover, as its object contain references to
classes placed in script 988, which is missing
svn-id: r54455
2010-11-24 11:57:11 +00:00
Filippos Karapetis
332a438ccf
SCI: Added a TODO for the default reverb value
...
svn-id: r54454
2010-11-24 11:26:48 +00:00
Filippos Karapetis
fcd8a04c64
SCI: Read MT-32 reverb data correctly (patch #3117434 )
...
svn-id: r54453
2010-11-24 11:19:27 +00:00
Filippos Karapetis
d66c43eb5e
SCI: added a workaround for script bug #3116892 - "SQ4 German: crash when shooting with laser", by applying the one for the English version
...
svn-id: r54447
2010-11-23 22:42:03 +00:00
Filippos Karapetis
d438b739cf
SCI: Also send a sustain off on a notes off event (patch from bug #3116608 )
...
svn-id: r54429
2010-11-23 16:03:30 +00:00
Filippos Karapetis
23bd8a1c26
SCI: Ignore polyphonic/channel aftertouch (0xa0 / 0xd0) in the MIDI driver, like in the Adlib driver. SSCI doesn't handle these, so we shouldn't handle them either
...
svn-id: r54428
2010-11-23 15:47:54 +00:00
Filippos Karapetis
c140e43a35
SCI: Added entries for the GOG versions of Phantasmagoria 1 and 2 (patch #3112884 )
...
svn-id: r54427
2010-11-23 12:07:21 +00:00
Filippos Karapetis
fe17f26af8
SCI: Added support for the keypad +/- keys
...
svn-id: r54420
2010-11-22 18:39:06 +00:00
Filippos Karapetis
eba5c441b2
SCI: Fixed bug #3044050 - "SQ4FLOPPY: Crash while flying in Skate-o-Rama"
...
Fixed Object::locateVarSelector() for SCI0-SCI1 games, as it wasn't checking the
class for object variables
svn-id: r54415
2010-11-22 10:23:53 +00:00
Filippos Karapetis
d8afddac63
SCI: Patched the QFG3 character import screen the same way as with QFG2
...
This prevents random crashes and slow refreshing, same as with QFG2
svn-id: r54414
2010-11-22 00:20:00 +00:00
Filippos Karapetis
0b06a1fe7b
SCI: Proper fix for the QFG2 character import screen crashes (bug #3037996 )
...
Script 944 does constant reallocations whenever the selection changes,
which leads to all sorts of unpredictable crashes. Thanks to waltervn for
his help on this issue
svn-id: r54413
2010-11-21 23:43:14 +00:00
Filippos Karapetis
8045c4f87a
SCI: Fix for bug #3037996 - "QFG2: Crash during import dialog after time (import works)"
...
svn-id: r54407
2010-11-21 11:04:52 +00:00
Filippos Karapetis
788598a689
SCI: Fixed the "version" console command in SCI1.1 and earlier games
...
svn-id: r54406
2010-11-21 10:31:02 +00:00
Filippos Karapetis
f2498b54ce
SCI: Added 3 uninitialized temp fixes for the RAMA demo, which is now working
...
svn-id: r54404
2010-11-21 02:08:35 +00:00
Filippos Karapetis
57d9de00f8
SCI: Removed the correct subops from kString in late SCI2.1/SCI3 games (thanks to waltervn)
...
svn-id: r54403
2010-11-21 02:07:55 +00:00
Filippos Karapetis
ac7c488c7c
SCI: kArray wasn't changed in late SCI2.1/SCI3 games (thanks to waltervn)
...
svn-id: r54402
2010-11-21 02:06:20 +00:00
Filippos Karapetis
97d31c6ac6
SCI: Added the kString/kArray type in the "version" console command
...
svn-id: r54401
2010-11-21 00:58:06 +00:00
Filippos Karapetis
ffcd6783c7
SCI: Removed incorrect pointer arithmetic support for SCI2 strings
...
There was never pointer arithmetic support in SCI2 and newer games
svn-id: r54400
2010-11-21 00:49:54 +00:00
Filippos Karapetis
cd69472be9
SCI: Adapted kArray/kString to use the new heuristic for late SCI2.1/SCI3 games, and updated their subops accordingly
...
svn-id: r54399
2010-11-21 00:47:56 +00:00
Filippos Karapetis
d275461958
SCI: Added a heuristic to detect the modified late SCI2.1/SCI3 kString/kArray kernel functions
...
svn-id: r54398
2010-11-21 00:44:04 +00:00
Filippos Karapetis
d886c037dd
SCI: Fix ScummVM freezing during the credits scene in EcoQuest 1 (bug #3101846 )
...
svn-id: r54395
2010-11-20 19:52:31 +00:00
Filippos Karapetis
b2ba35124c
SCI: Fixed timer bug #3109139 - "SQ4: Crash after exiting Skate-o-Rama during chase"
...
svn-id: r54391
2010-11-20 00:52:05 +00:00
Filippos Karapetis
c8ef70ea1c
SCI: Some minor fixes for Phantasmagoria 2 (which doesn't work at all, since it has some differences in its views)
...
svn-id: r54390
2010-11-20 00:20:05 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Willem Jan Palenstijn
a24d5ba2f4
SCI: Only compile kGetConfig for SCI32
...
svn-id: r54382
2010-11-19 14:19:02 +00:00
Lars Persson
3c7f9aa34a
SCI : data field is only supported if building for SCI32
...
svn-id: r54379
2010-11-19 13:56:11 +00:00
Filippos Karapetis
5d53673e93
SCI: Also send system strings to kString(). This makes LSL7 continue into the actual game! :D
...
svn-id: r54377
2010-11-19 13:23:20 +00:00
Lars Persson
c7cf764890
SCI: Only handle seg_type_string if ENABLE_SCI32 is defined
...
svn-id: r54376
2010-11-19 13:03:31 +00:00
Lars Skovlund
5ecac66c6a
Some subfunctions changed positions in SCI3 kString. WIP.
...
And with this, LSL7 starts up. Yeah, baby!
svn-id: r54374
2010-11-19 12:52:17 +00:00
Lars Skovlund
84d4a4a89f
Implement a couple of NULL checks in kArray
...
svn-id: r54373
2010-11-19 12:49:46 +00:00
Lars Skovlund
1a6597ebc2
SCI3: Implement new opcode 0x4c.
...
svn-id: r54370
2010-11-19 12:47:47 +00:00
Lars Skovlund
fbf5a453c7
SCI: Implement the GetConfig call for LSL7
...
svn-id: r54369
2010-11-19 12:46:36 +00:00
Filippos Karapetis
c19e8377f9
SCI: Added pointer arithmetic support for SCI2 strings
...
svn-id: r54365
2010-11-19 10:28:43 +00:00
Filippos Karapetis
6ec8ec416b
SCI: Added support for script -> string copying (used by late SCI2.1 and SCI3 games)
...
svn-id: r54364
2010-11-19 10:27:22 +00:00
Filippos Karapetis
763ddd2203
SCI: Fixed comment
...
svn-id: r54362
2010-11-19 08:19:14 +00:00
Filippos Karapetis
3b07056a47
SCI: Moved the Object class in a separate file
...
svn-id: r54361
2010-11-19 08:18:24 +00:00
Filippos Karapetis
c87ef6f307
SCI: Added KQ4 Atari ST version from bug report #3110941
...
svn-id: r54360
2010-11-19 07:43:47 +00:00
Max Horn
a0df86955f
ALL: Push down deps on stream.h from .h to .cpp files
...
svn-id: r54358
2010-11-19 01:37:04 +00:00
Filippos Karapetis
34272e2529
SCI: Added a stub for a new subop in kString, and disabled trackOriginAndFindWorkaround() for SCI3 games for now
...
svn-id: r54352
2010-11-18 22:46:29 +00:00
Filippos Karapetis
4609f11137
SCI: Added species selector functionality for SCI3
...
svn-id: r54351
2010-11-18 22:27:56 +00:00
Filippos Karapetis
9e418e6eaf
SCI: Removed SCI3 hacks in kClone/kDisposeClone
...
svn-id: r54350
2010-11-18 22:26:58 +00:00
Johannes Schickel
94d3d82f59
SCI: Slight formatting fix and use \t instead of a tab character in debugN.
...
svn-id: r54349
2010-11-18 21:45:31 +00:00
Lars Skovlund
c325d815d2
SCI: Fix debugger disassembly of property accesses in SCI3
...
svn-id: r54348
2010-11-18 21:41:13 +00:00
Lars Skovlund
f0fea21639
SCI3: Fix new opcode 0x4e
...
svn-id: r54347
2010-11-18 21:38:00 +00:00