39382 Commits

Author SHA1 Message Date
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
Max Horn
9977e2db90 GUI: Enhance ThemeEngine to find theme .zip files using SearchMan
This is based on the Android specific patch found under:
backends/platform/android/scummvm-android-themeengine.patch
After some testing we should be able to get rid of that custom patch.

svn-id: r51028
2010-07-19 14:28:46 +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
Torbjörn Andersson
abae29a2dc ALSA: Get ALSA port settings from the new device config settings.
This is also an attempt to make the transition from the old settings to the
new ones a little less rough, by trying to put something sensible into the
first device, which is what's used by default. Currently it prefers 17:x
and 65:x since they're the old defaults, followed by 128:x since that's
probably TiMidity.

The old SCUMMVM_PORT environment variable still overrides any config
settings. I haven't made up my mind whether or not that's a good idea, but
at least it prints a warning message.

TODO: The old 'alsa_port' setting is not handled. It should probably be
used to set sensible defaults for the new settings, but I'm not sure where
this should be done.

TODO: The documentation will need to be updated, once everything is working
the way it should.

svn-id: r51019
2010-07-19 07:47:11 +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
Torbjörn Andersson
75dd75a737 SUBSYSTEM: ALSA music driver
We should probably open the sequencer the exact same way, both when
opening the driver and when asking it for available MIDI devices. Not
that I've been able to figure out the difference between "hw" and
"default" from the fine ALSA manual...

And I'm not sure we really need to try and keep compatibility with
ancient (pre-0.9.0?) ALSA any longer...

svn-id: r51014
2010-07-19 05:30:40 +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
Martin Kiewitz
f249642733 SCI: making int/uint comparsions more verbose
replacing int/uint comparsion opcode with new code that also displays much more information in case of errors and also add possibility to easily add workarounds

svn-id: r50997
2010-07-18 17:18:56 +00:00
Martin Kiewitz
3189fe4a32 SCI: change to r50995 - better stop fading when stop is called
svn-id: r50996
2010-07-18 16:25:23 +00:00
Martin Kiewitz
aa5a1ddb47 SCI: if game starts fading, stops music and later starts music again don't resume fading - fixes lsl6 music when going in from swimming pool
svn-id: r50995
2010-07-18 16:22:16 +00:00
Martin Kiewitz
46b27926b2 SCI: adding obj in kDoSound debug output
svn-id: r50994
2010-07-18 16:02:16 +00:00
Martin Kiewitz
fd27041b35 SCI: disabling saving from scummvm menu
svn-id: r50993
2010-07-18 14:21:38 +00:00
Willem Jan Palenstijn
1e72d48867 SCI: Work on optional expressions in said rules.
This fixes a number of said specs in Iceman, but has a good
chance of introducing regressions since it's fairly invasive.
It also removes the need for the hack in r50958.

svn-id: r50992
2010-07-18 13:31:23 +00:00
Willem Jan Palenstijn
921c9a8e33 SCI: Add basic debugging command for 'said'
svn-id: r50991
2010-07-18 13:31:05 +00:00
Martin Kiewitz
4595b8818a SCI: adding room numbers to all workarounds
svn-id: r50990
2010-07-18 13:08:47 +00:00
Andre Heider
70dfcdfb54 trying to fix psp build for case sensitive filesystems.
svn-id: r50989
2010-07-18 12:53:24 +00:00
Willem Jan Palenstijn
f36eb7e2ed SCI: Fix warning
svn-id: r50988
2010-07-18 12:26:22 +00:00
Martin Kiewitz
98f0b06fe3 SCI: adding workaround for script bug in lsl6 when looking through tile
svn-id: r50987
2010-07-18 12:25:40 +00:00
Yotam Barnoy
30d7517343 PSP: switched to using my memcpy
svn-id: r50982
2010-07-18 07:03:14 +00:00
Yotam Barnoy
844a332f8d PSP: forgot test files
svn-id: r50981
2010-07-18 06:59:25 +00:00
Yotam Barnoy
58a1fbc13c Made memcpy faster but not as fast with uncached mem.
svn-id: r50980
2010-07-18 06:49:56 +00:00
Martin Kiewitz
59bb9f8fe8 SCI: added uninitialized workarounds for hoyle 3
svn-id: r50978
2010-07-18 04:56:16 +00:00
Martin Kiewitz
525794927e SCI: fix regression of r50896, behaviour of kFileIO(readString) is supposed to return the string instead of the size, fixes signature mismatch in hoyle 3
svn-id: r50977
2010-07-18 04:25:57 +00:00
Matthew Hoops
88b2bec072 Cleanup and simplify resource type remapping.
svn-id: r50975
2010-07-18 01:32:48 +00:00
Matthew Hoops
4b66b8dd5f Fix typo.
svn-id: r50974
2010-07-18 00:18:27 +00:00
Matthew Hoops
c128b87c77 In SCI2.1, the type numbers inside resource maps/patches have changed slightly. We no longer use the number Sierra gives us directly, but use a function to convert to our ResourceType enum based on version. This allows us to read the chunk type from SCI2.1 (a form of script). Also, allow debugging of Mac-specific resources from the console.
svn-id: r50973
2010-07-18 00:16:19 +00:00