Commit Graph

17508 Commits

Author SHA1 Message Date
Martin Kiewitz
f8697e20b5 SCI: now reusing window ids on kNewWindow
sq4cd recreates the inventory window several times, but also reuses old window ids, causing kernelSetActive errors. fixes bug #3044757

svn-id: r52079
2010-08-14 08:03:32 +00:00
Martin Kiewitz
512bf22af6 SCI: adding workaround for camelot during ending
fixes bug #3044734
also fixing heap corruption during the ending

svn-id: r52077
2010-08-14 06:05:54 +00:00
Matthew Hoops
f252c0b67e SCI: Add support for Mac 'crsr' cursors used in SCI2+ games
svn-id: r52076
2010-08-14 04:21:09 +00:00
Matthew Hoops
185da18926 SCI: Add the detection entry for GK1 mac
svn-id: r52072
2010-08-14 00:25:10 +00:00
Martin Kiewitz
c09a968fc0 SCI: adding switch to sci1mid for lsl1/spanish
makes it work, bug #3043270, added FIXME

svn-id: r52071
2010-08-13 21:09:10 +00:00
Martin Kiewitz
da543ce36c SCI: adding workaround for sq4/floppy
bug #3044046

svn-id: r52070
2010-08-13 20:08:57 +00:00
Martin Kiewitz
6181241f57 SCI: extending life of port for sq4 gum wrapper
fixes bug #3044507

svn-id: r52068
2010-08-13 18:25:16 +00:00
Martin Kiewitz
56c4fc7a70 SCI: commenting out sq5 beta detection entry
svn-id: r52067
2010-08-13 13:33:29 +00:00
Martin Kiewitz
c6337c4e6e SCI: adding bugid to pharkas workaround
svn-id: r52066
2010-08-13 12:46:40 +00:00
Martin Kiewitz
ae32b8b3e5 SCI: adding pharkas workaround room 540
bug #3044218

svn-id: r52065
2010-08-13 12:44:20 +00:00
Martin Kiewitz
aab9fcae45 SCI: adding workaround for sq4/floppy room 397
bug #3044044, didn't occur for me, needs testing

svn-id: r52064
2010-08-13 12:32:14 +00:00
Martin Kiewitz
b62d3bdd0a SCI: adding workaround for sci1.1 mother goose
bug #3043955

svn-id: r52063
2010-08-13 12:14:53 +00:00
Martin Kiewitz
df04f81466 SCI: adding bug id to sq4 patch
svn-id: r52047
2010-08-12 22:27:28 +00:00
Martin Kiewitz
4309d8c00c SCI: adding patch for sq4/floppy
fixing endless flight, is actually a script data bug - there is an additional property, which is not included in property count. It's used. We return 0 in that case, because we don't know about that property, resulting in nest::x never get changed and the scripts check that for advancing

svn-id: r52046
2010-08-12 22:25:15 +00:00
Martin Kiewitz
f1ad1f1738 SCI: "version" now shows cantBeHere selector
svn-id: r52045
2010-08-12 21:33:23 +00:00
Martin Kiewitz
49c7ebf72f SCI: adding pq2 workaround
we had this workaround before, this is for a different pq2 version - bug #3043904

svn-id: r52044
2010-08-12 21:20:01 +00:00
Martin Kiewitz
4be0eb985e SCI: queuing signal, if signal not passed to scripts
fixes laura bow 1 when knocking at the door in the attic, scripts wait for 0xb in that case, sound resource sets 0xb and then immediately ends. This resulted in the scripts only getting the termination signal, so they waited endlessly. (bug #3042981)

svn-id: r52043
2010-08-12 15:45:53 +00:00
Martin Kiewitz
bb932595d8 SCI: adjusting laurabow2 patch signature
for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless

svn-id: r52040
2010-08-12 14:01:28 +00:00
Martin Kiewitz
e5a8c8c544 SCI: laurabow2 patch is lb2cd exclusive
svn-id: r52039
2010-08-12 13:52:03 +00:00
Martin Kiewitz
91cfd04438 SCI: adding patch for laurabow2
painting closing immediately
(fixed properly here, the NRS patch just nukes the whole routine)

svn-id: r52038
2010-08-12 13:45:39 +00:00
Martin Kiewitz
91c2c7f401 SCI: fixing text color support
fixes some words not being red in pepper (part of bug #3040039)

svn-id: r52031
2010-08-12 09:52:00 +00:00
Martin Kiewitz
06139e2be7 SCI: properly doing kAnimate loop/cel fixing
really weird, but it works now. Bug #3037578 (kq5 trunk), bug #3043286 (lb1 knight)

svn-id: r52007
2010-08-11 21:47:44 +00:00
Martin Kiewitz
7e3b2bedb6 SCI: revert r51969
broke laura bow 1, need to figure out whats exactly wrong

svn-id: r52004
2010-08-11 21:16:45 +00:00
Martin Kiewitz
60b2750209 SCI: adding patch for kq5 harpy volume
fixes actual game bug #3042277 - sierra switched in that case to highest volume possible

svn-id: r51999
2010-08-11 20:39:13 +00:00
Florian Kagerer
581935dda4 KYRA: add new GUIO_MIDIAMIGA flag to amiga targets
svn-id: r51996
2010-08-11 18:56:50 +00:00
Florian Kagerer
4a159bcb1e GUI: add music devices for c64, amiga and apple II gs
These devices are not able to create appropriate drivers.
The only purpose for now is having proper gui options and flags and music types for the device detector.
The corresponding GUIO flags for the new devices have been added, too.

svn-id: r51995
2010-08-11 18:54:56 +00:00
Martin Kiewitz
0c7932cc7c SCI: fixing kGraphFillBoxAny implementation
working now like in sierra sci, when using priority/control - fixes pepper adventures in time - no failure screen - bug #3040185
cleanup of GfxPaint16::fillRect

svn-id: r51994
2010-08-11 18:19:58 +00:00
Martin Kiewitz
38f34465b7 SCI: workaround change kq5
svn-id: r51991
2010-08-11 16:58:44 +00:00
Torbjörn Andersson
d781c4bbaa SCUMM: Re-enabled PCjr music for some more games
At this point, there's little point in doing them one game at a time.
Re-enable PCjr music for old Monkey Island, and for the Passport to
Adventure demo. Again, I don't have all the relevant versions to test
myself, so keep an eye out for regressions.

At this point, only the Apple II and C64 versions of Maniac Mansion
have the MDT_PCSPK flag, but not the MDT_PCJR flag. I don't know a
thing about these versions, so I'm leaving them well enough alone.

svn-id: r51990
2010-08-11 15:52:49 +00:00
Torbjörn Andersson
5c8e23f772 SCUMM: Re-enable PCjr music for EGA Loom.
svn-id: r51989
2010-08-11 15:41:32 +00:00
Torbjörn Andersson
416b568744 SCUMM: Re-enable PCjr music for Indy 3
Apart from adding the necessary detector flags, in cases where we used
to only check for PC Speaker we now also need to check for PCjr. Note
that I have only tested this with the VGA version. And even with that
one, I've only given it the briefest of tests.

svn-id: r51988
2010-08-11 15:36:29 +00:00
Torbjörn Andersson
10b6a395cf SCUMM: Add missing case in sound initialisation
If the mixer isn't ready, we probably have to check for PCjr as well,
so add that case.

svn-id: r51987
2010-08-11 15:16:55 +00:00
Torbjörn Andersson
1302ccb464 SCUMM: Add missing "break" in music setup
This once again makes it possible to select PC Speaker music in Indy 3.

svn-id: r51986
2010-08-11 15:09:07 +00:00
Martin Kiewitz
324e937347 SCI: not pausing kDoSound samples anymore
but pausing looped samples only
fixes "I'm melting" sample in sq1 death (bug #3038048)
added detailed comment about this change

svn-id: r51985
2010-08-11 15:04:26 +00:00
Martin Kiewitz
8889a6574d SCI: adding workaround for sq1
when restoring on arcada in some rooms (bug #3040908)

svn-id: r51984
2010-08-11 14:35:42 +00:00
Florian Kagerer
2b77ffcc17 SCUMM: possible fix for bug # 3041539
enable PCJR sound for Maniac Mansion v1 and v1 and Zak McKracken v1 and v2.

svn-id: r51983
2010-08-11 14:32:33 +00:00
Martin Kiewitz
f242451da1 SCI: cleanup of slater detection entries
svn-id: r51982
2010-08-11 14:28:23 +00:00
Martin Kiewitz
3d56859fc9 SCI: fixing slater&charlie go camping entry
bug #3042547

svn-id: r51981
2010-08-11 14:16:08 +00:00
Max Horn
b8ee574e40 SCUMM: _resultVarNumber and related methods are specific to v0-v5
svn-id: r51974
2010-08-11 12:49:16 +00:00
Martin Kiewitz
ab35ae03c3 SCI: kAddToPic only wrote nsRect in sci1.1
fixes regression of r51952 and bug #3042957

svn-id: r51971
2010-08-11 12:01:56 +00:00
Martin Kiewitz
c70f16c55d SCI: making camelot fix camelot-only for now
fixes kq6 getting assert as well (bug 3042866)

svn-id: r51970
2010-08-11 06:13:08 +00:00
Martin Kiewitz
42c3cc4c08 SCI: kAnimate invalid loop/cels now correctly fixed
fixes kq5 trunk getting closed again during intro - is actually a script bug that sets cel to some really high number - bug #3037578, may also fix other similar issues

svn-id: r51969
2010-08-11 05:20:29 +00:00
Martin Kiewitz
7a7916421a SCI: adding workaround for hoyl4
bug #3042756, although there is another bug shortly after

svn-id: r51968
2010-08-11 03:39:51 +00:00
Martin Kiewitz
145969c35b SCI: improved random actors workaround lb2
svn-id: r51959
2010-08-10 20:54:02 +00:00
Martin Kiewitz
9e9809276c SCI: adding workaround for qfg3
awari minigame, fixes bug #3040579

svn-id: r51958
2010-08-10 20:49:40 +00:00
Martin Kiewitz
d154361e89 SCI: improving comment about r51955
svn-id: r51956
2010-08-10 18:05:04 +00:00
Martin Kiewitz
9be20d5f0a SCI: adding displaceY adjust for sci1.1 views
sierra sci did this in their getCelRect(), we are doing it while loading, fixes laura bow not appearing in taxi (bug #3041220)

svn-id: r51955
2010-08-10 18:00:27 +00:00
Martin Kiewitz
a201b2e506 SCI: kAddToPic(list) set fixed priority flag
svn-id: r51954
2010-08-10 17:16:38 +00:00
Martin Kiewitz
684afb6236 SCI: add scaling support to kAddToPic
fixes laurabow2 bug #3041226

svn-id: r51952
2010-08-10 15:54:34 +00:00
Martin Kiewitz
3b9ebd6353 SCI: adding patch for eq1cd
fixes ego swimming left/right of room 660 and getting a "message not found" error and a GE? signature mismatch - in sierra sci this also resulted in "message not found" and a hang afterwards - bug #3038387

svn-id: r51951
2010-08-10 15:18:18 +00:00