Commit Graph
86814 Commits
Author SHA1 Message Date
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
Matthew Hoops 14c2fb2f08 Implement PlayNote/StopNote and PlayTele/StopTele for The Manhole.
svn-id: r51066
2010-07-20 16:05:25 +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
Willem Jan Palenstijn 35e2c78626 BUILD: Fix fallback readline detection
svn-id: r51057
2010-07-20 10:00:18 +00:00
Torbjörn Andersson 5b3f31feec General: Fixed building the SEQ MIDI driver
An #include was missing, causing the driver to never be built. Also fixed what
looked like a cut-and-paste error in generating the features string.

svn-id: r51056
2010-07-20 08:56:53 +00:00
Max Horn 37aa8a7499 BUILD: Unify adding -DUNIX to DEFINES; complete SEQ MIDI detection
* Added a yes/no variable _unix to configure, which controls when
  -DUNIX is added to DEFINES
* Enable SEQ MIDI via _seq_midi by default on UNIX type systems,
  except for those which override that.
* Switch SEQ MIDI code to check #define USE_SEQ_MIDI
  (alternatively, we could compile it only conditionally...)

svn-id: r51055
2010-07-20 08:25:13 +00:00
Max Horn e527ad162f BUILD: Enhance configure code, add (unfinished) USE_SEQ_MIDI support
* Remove unused add_to_config_mk_if_no()
* Add two new functions: define_in_config_h_if_yes() and
  define_in_config_if_yes(). These make it much more convenient
  to #define something in config.h, or in both config.h and config.mk
  simultaneously.
* Convert configure code to use the two new functions, were appropriate.
* Add preliminary USE_SEQ_MIDI support, as discussed on scummvm-devel.
  This is incomplete as it does not actually detect anything, it just
  allows turning off _seq support.

svn-id: r51054
2010-07-20 08:24:48 +00:00
Max Horn 211fcfe7ba MIDI: Build and use ALSA driver if and only if USE_ALSA is defined
svn-id: r51053
2010-07-20 08:24:34 +00:00
Max Horn 0c2d90f090 Fix warning about float->int conversion
svn-id: r51051
2010-07-20 07:11:17 +00:00
Max Horn 5b626533cd Change CHECK_GL_ERROR to not take a 'call statement' as parameter
Passing a 'call statement' to CHECK_GL_ERROR has various issues.
For once, it confuses code parsers in many editors and other
tools that work with C++ source directly.
Moreover, this can lead to subtle bugs if a mistake is
made with the definition of CHECK_GL_ERROR.
It also causes incorrect warnings if CHECK_GL_ERROR is
used with an "empty" call statement.

svn-id: r51050
2010-07-20 07:10:25 +00:00
Alejandro Marzini 302400a701 OPENGL: Implement fullscreen mode.
svn-id: r51049
2010-07-20 04:32:31 +00:00
Tony Puccinelli 3d3e4e6c39 coded for more relocations, added check for RELA type relocations, added comments
svn-id: r51048
2010-07-20 04:04:13 +00:00
Alejandro Marzini 014d7b791c OPENGL: Fix SDL OpenGL context not resizing well on Linux.
svn-id: r51047
2010-07-20 00:21:17 +00:00
Alejandro Marzini f6e04fe03b OPENGL: Fix adjustment of mouse coordinates when screen is resized and scaled.
svn-id: r51046
2010-07-19 23:58:48 +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
Neeraj Kumar f3defb0de1 added code to display progress of the engine so far
svn-id: r51038
2010-07-19 21:12:17 +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
Neeraj Kumar 7065c87a0d replaced use of snprintf by String::printf
svn-id: r51030
2010-07-19 14:54:25 +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
Alejandro Marzini 6f70a303bc OPENGL: Add basic scaler handle.
svn-id: r51016
2010-07-19 05:36:10 +00:00
Alejandro Marzini 38b4098f67 SDL: Hack to handle special SDL events.
svn-id: r51015
2010-07-19 05:33:58 +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
Alejandro Marzini 6215f2b6d4 OPENGL: Fix issue when GFX changes.
svn-id: r51013
2010-07-19 02:36:43 +00:00
Alejandro Marzini 7ad017bde0 OPENGL: Fix palette issues.
svn-id: r51012
2010-07-19 02:32:36 +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