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
Filippos Karapetis
49468fdfff
SCI3: Added another previously unused opcode (0x27 / 0x4e)
...
svn-id: r54341
2010-11-18 19:20:30 +00:00
Filippos Karapetis
c2bdba2ea6
SCI2: Treat SCI2 raw arrays (type 3) as strings in kArray
...
SCI2 strings inherit from arrays, plus kArray and kString are almost the
same, so this is all possible. This is needed, as SCI scripts copy
strings on arrays and then process them as such (e.g. in RAMA and LSL7)
However, we really need to merge SCI2 array types with the SCI2 string
types, and ultimately merge the code with the SCI1 array and string types.
svn-id: r54340
2010-11-18 19:18:11 +00:00
Lars Skovlund
487feb3843
Get rid of a const_cast.
...
svn-id: r54333
2010-11-18 17:38:56 +00:00
Johannes Schickel
b593b15c50
SCI: Slight formatting fix.
...
svn-id: r54330
2010-11-18 17:25:09 +00:00
Lars Skovlund
0001a6b74d
SCI3: implement setInfoSelector() for SCI3, fixes infinite recursion
...
svn-id: r54328
2010-11-18 17:13:01 +00:00
Lars Skovlund
c5252071db
SCI3: Add proper support for the calle instruction
...
svn-id: r54327
2010-11-18 17:04:00 +00:00
Lars Skovlund
1621e7d5c0
Fix operator precedence problem
...
svn-id: r54324
2010-11-18 16:58:25 +00:00
Filippos Karapetis
34c18f20d8
SCI: Added hacks in kClone/kDisposeClone for SCI3
...
svn-id: r54307
2010-11-17 21:49:19 +00:00
Filippos Karapetis
bd844a8c92
SCI: Call lookupArray() after allocateArray() when duplicating arrays
...
This ensures that the pointer to the element that lookupArray() returned
won't be invalidated in case the array is reallocated because of
allocateArray() - same issue as in kClone()
svn-id: r54306
2010-11-17 21:47:05 +00:00