Filippos Karapetis
3184aac398
SCI: Moved all the workaround tables in a separate file, to keep them apart from the actual code
...
svn-id: r51088
2010-07-21 14:18:26 +00:00
Martin Kiewitz
51258a723c
SCI: adding lsl6hires uninit workaround
...
svn-id: r51087
2010-07-21 13:52:41 +00:00
Martin Kiewitz
e1bc084547
SCI: fixing hires background pictures sci2.1
...
svn-id: r51086
2010-07-21 13:13:55 +00:00
Martin Kiewitz
54c516b3bf
SCI: kSetNowSeen sci2.1
...
fixes hotspots
svn-id: r51085
2010-07-21 12:41:17 +00:00
Martin Kiewitz
15fc39589d
SCI: more work on coordadjustment sci32
...
svn-id: r51084
2010-07-21 12:05:10 +00:00
Filippos Karapetis
d53e5fbfb7
SCI: Removed the restoring parameter of the run_vm() function
...
svn-id: r51076
2010-07-20 23:15:07 +00:00
Filippos Karapetis
e7abc6da4f
SCI: Fixed an off-by-one error in the resource manager - it tried to load patches of type kResourceTypeInvalid
...
svn-id: r51075
2010-07-20 21:53:58 +00:00
Martin Kiewitz
2a47f573dd
SCI: some sci32 fixes
...
kOnMe, kLocal2Global, kGlobal2Local now hires capable, hotspots seem to work in lsl6 and sq6, although pressing on start in sq6 doesn't work yet, you need to click on the rightmost/bottom area
svn-id: r51074
2010-07-20 21:22:39 +00:00
Martin Kiewitz
8e24b7930c
SCI: adding lsl6hires uninit workaround
...
svn-id: r51072
2010-07-20 20:17:23 +00:00
Martin Kiewitz
c2577da7e0
SCI: fixed jones/ega/vga port issue
...
getPortById() error was caused by us remembering port when going interactive, restoring it and restoring it all the time afterwards as well
svn-id: r51071
2010-07-20 19:42:48 +00:00
Martin Kiewitz
102b8c9efd
SCI: adding multilingual mixed up mother goose
...
sci32
svn-id: r51070
2010-07-20 18:18:36 +00:00
Martin Kiewitz
70ed9dfc70
SCI: tiny comment change
...
svn-id: r51069
2010-07-20 18:00:45 +00:00
Martin Kiewitz
a0ce89d2e9
SCI: clean up workaround tables/code
...
svn-id: r51068
2010-07-20 17:58:04 +00:00
Martin Kiewitz
f771a2bbc7
SCI: fix regression of r50463
...
also check delta, because _play_tick does not include delta at that point - fixing sq1 ship takeoff
svn-id: r51067
2010-07-20 17:28:10 +00:00
Martin Kiewitz
90d45aaa7d
SCI: adding workaround for sq1 in bar
...
kGraph(drawLine) gets called sometimes with additional parameter
svn-id: r51065
2010-07-20 14:53:55 +00:00
Martin Kiewitz
ef69fb1af5
SCI: adding uninit workarounds for cnick games
...
longbow and king's quest
KQ has the same issues as hoyle 3
svn-id: r51063
2010-07-20 14:27:30 +00:00
Martin Kiewitz
6ebcb53265
SCI: fix regression of r51060
...
svn-id: r51062
2010-07-20 12:50:13 +00:00
Martin Kiewitz
0b3f816c8b
SCI: change the workaround-types
...
0 is now don't call
1 is do call
2 is don't call and fake acc
makes more sense
svn-id: r51060
2010-07-20 11:45:06 +00:00
Martin Kiewitz
3c97772d6e
SCI: added workaround for kq1 kDoSound(fade)
...
gets called with object 0:0 in several scenes, just ignore that call
svn-id: r51059
2010-07-20 11:29:56 +00:00
Martin Kiewitz
a24de29358
SCI: renaming kDoSound(resume) to resumeAfterRestore
...
kDoSound(resumeAfterRestore) is called right after restoring a saved game for sound-sci0 games, we already resume playing music inside restore, so we don't need to implement this at all
svn-id: r51058
2010-07-20 11:17:33 +00:00
Martin Kiewitz
961079ae19
SCI: disabling kDoSound(StopAll)
...
this call can't be right, gets called in kq1 several times and would stop background effects
svn-id: r51039
2010-07-19 22:11:06 +00:00
Martin Kiewitz
cef2e24edc
SCI: fixing comment
...
svn-id: r51037
2010-07-19 20:13:17 +00:00
Martin Kiewitz
5b4ce3831c
SCI: adding 2 uninit workarounds for hoyle1
...
svn-id: r51036
2010-07-19 19:14:37 +00:00
Martin Kiewitz
6240e5353e
SCI: kDoBresen - check xLast/yLast selectors
...
fixed mixed-up fairy tales demo
svn-id: r51035
2010-07-19 17:27:56 +00:00
Martin Kiewitz
f4a32793c0
SCI: dont fix list control in sq4
...
sierra fixed this problem by having an up cursor starting one pixel-line later, adjusting in that case would be wrong
svn-id: r51034
2010-07-19 16:47:31 +00:00
Martin Kiewitz
f4a5714477
SCI: make sci0 foreign vocabulary also work
...
makes pq2 load japanese vocabulary too
svn-id: r51033
2010-07-19 16:01:16 +00:00
Martin Kiewitz
95ae668da0
SCI: don't initialize vocabulary twice
...
svn-id: r51032
2010-07-19 15:32:26 +00:00
Martin Kiewitz
b7b904f981
SCI: fix regression of r51027
...
we have to reset the parser when switching vocabulary
svn-id: r51031
2010-07-19 15:30:27 +00:00
Martin Kiewitz
cda55fe770
SCI: parser now matches extended chars too
...
fixes multilingual games not accepting words that contain extended chars (>= 0x80)
svn-id: r51029
2010-07-19 14:50:37 +00:00
Martin Kiewitz
2a0cff5c6d
SCI: implement foreign vocabulary support
...
not fully working, extended chars do not work currently as input
svn-id: r51027
2010-07-19 13:50:06 +00:00
Martin Kiewitz
8ea7eec267
SCI: lsl6 workaround switched on for all rooms
...
lsl6 workaround also happens later, so we switch it to all rooms
svn-id: r51026
2010-07-19 13:05:41 +00:00
Martin Kiewitz
07009b045e
SCI: fix parser crash on >=0x80 chars
...
svn-id: r51025
2010-07-19 11:41:20 +00:00
Martin Kiewitz
42107e2f5c
SCI: vocab version change for pq2 japanese
...
pq2 japanese only uses sci01 vocabulary and everything else is still like in sci0 - fixes pq2 not accepting any input in parser
svn-id: r51024
2010-07-19 10:38:03 +00:00
Martin Kiewitz
b48045662d
SCI: fix ult to work for pq2 japanese
...
pq2 japanese compares pointers to 2000 to find out if its a resourceid or a pointer
svn-id: r51023
2010-07-19 10:19:13 +00:00
Martin Kiewitz
6bebc0df45
SCI: fixing signature for kDoSound(setReverb)
...
fixes lsl5 signature mismatch, signature was wrong
svn-id: r51020
2010-07-19 08:17:09 +00:00
Martin Kiewitz
9cb23c8a7b
SCI: update sample ticker when paused
...
little adjustment of r51017
svn-id: r51018
2010-07-19 07:37:22 +00:00
Martin Kiewitz
d952e48a57
SCI: change kDoSound(updateCues) for samples
...
only set signal when sample was/is playing, fixes qfg2 genie intro
svn-id: r51017
2010-07-19 07:29:17 +00:00
David Turner
efbac08e6b
SCI : Corrected valgrind error on engine exit
...
svn-id: r51011
2010-07-18 22:11:22 +00:00
Martin Kiewitz
e4271b0bb0
SCI: fix warning
...
svn-id: r51010
2010-07-18 20:36:19 +00:00
Martin Kiewitz
dbc1607603
SCI: add script number to r51008 change
...
svn-id: r51009
2010-07-18 20:19:14 +00:00
Martin Kiewitz
8893d4ef23
SCI: add workaround for script 500 lsl3
...
svn-id: r51008
2010-07-18 20:14:18 +00:00
Martin Kiewitz
fc1e5c8fae
SCI: adding comments about not enabling ScummVM menu saving
...
svn-id: r51007
2010-07-18 19:19:49 +00:00
Matthew Hoops
0e9de72f62
SCI: Rename the Amiga music drivers to AmigaMac to reflect its current purpose.
...
svn-id: r51006
2010-07-18 19:01:35 +00:00
Martin Kiewitz
b23dd848ed
SCI: make the left-over opcodes more verbose
...
...and add ability to easily add workarounds
remove ACC_ARITHMETIC_L and POP()
svn-id: r51005
2010-07-18 18:57:28 +00:00
Matthew Hoops
2127da538d
SCI: Add Mac signature for kTextSize which can have an extra integer parameter.
...
svn-id: r51004
2010-07-18 18:38:49 +00:00
Martin Kiewitz
d06603f151
SCI: make bnot/mod/mul more verbose
...
...and add abitility to easily add workarounds
svn-id: r51003
2010-07-18 18:26:00 +00:00
Matthew Hoops
d14635d6b2
SCI: Oops, silence gcc warning.
...
svn-id: r51002
2010-07-18 18:18:11 +00:00
Matthew Hoops
6eedb73dba
SCI: Add initial support for SCI0 Mac and SCI1 Amiga/Mac sound.
...
SCI1 sound is pretty much done, but envelope support is still not 100% complete. SCI0 Mac sound is not complete, but sounds "ok" for now.
Much thanks to Walter, who did a ton of work on this.
svn-id: r51001
2010-07-18 18:14:56 +00:00
Martin Kiewitz
a2ea3381fe
SCI: ipToa/ipTos/dpTos more verbose
...
...and adding ability to add workarounds easily
svn-id: r50999
2010-07-18 18:01:52 +00:00
Matthew Hoops
5b4fd084b0
SCI: Fix order of characters when using hexDumpReg.
...
svn-id: r50998
2010-07-18 17:48:48 +00:00