Torbjörn Andersson
0dcd4ba5a7
SCUMM: Move Mac player initialization to its own function
...
Apparently we cannot (portably) call virtual functions from the
constructor, so initialization has been moved to a separate function.
2012-11-14 21:20:40 +01:00
Torbjörn Andersson
b02ecf7a8a
SCUMM: Try harder to open the Loom Macintosh executable.
...
Try the Mac OS Roman form, the UTF-8 form and the filename without
any trademark glyph.
2012-11-14 21:02:58 +01:00
Torbjörn Andersson
0b63ea1d8d
SCUMM: Hopefully fix warning
...
Excplicitly cast to int to avoid a warning that I don't get, but
which clone2727 does. At least, I hope it avoids the warning.
2012-11-14 20:54:25 +01:00
Torbjörn Andersson
493644295d
SCUMM: Remove unnecessary check for Mac Loom
...
As clone2727 pointed out, the default case handles Loom. I guess it
was a special case before to *prevent* it from trying to play the
sound, and to keep some comments about the format.
2012-11-14 06:07:55 +01:00
Torbjörn Andersson
148a6d3347
SCUMM: Move most of the Macintosh player code into its own class
...
The Monkey Island and Loom mac music is really quite similar. The
data layout is a bit different, but most of the code was easy to
separate into its own class. The Loom player doesn't do looped music
but I don't remember off-hand if it ever should.
2012-11-14 01:27:53 +01:00
Torbjörn Andersson
b1d10e6a62
SCUMM: Add support for Mac Loom music and sound
...
It turns out that playing the Mac Loom music isn't particularly
different from playing the Monkey Island 1 music, except the data
layout is a bit different and there's no per-note volume.
2012-11-13 22:49:12 +01:00
Torbjörn Andersson
107a1af125
SCUMM: Initialize the Macintosh MI1 instruments, along with the channels.
...
Otherwise it may crash if you quit before any instruments have been
loaded. Oops.
2012-11-12 22:10:10 +01:00
Torbjörn Andersson
8bb595453b
SCUMM: Added support for Macintosh music in Monkey Island 1
...
This is based on the old Mac0-to-General MIDI conversion that we used
to do (and which this patch removes), as well as the code for playing
the Monkey Island 2 and Fate of Atlantis Macintosh music. I'm not sure
how accurate it is, particularly in tempo and volume, but at this
point it seems to work pretty well. Looping music is perhaps a bit
off, but it was before as well.
There is an annoying drawn out note in the music when you're following
the shopkeeper, but that appears to have been there in the original as
well.
2012-11-11 13:56:06 +01:00
Willem Jan Palenstijn
da0490f9b2
TONY: Fix endianness issue when saving/loading inventory
2012-11-02 21:26:34 +01:00
Paul Gilbert
b403a6f3ac
Merge pull request #290 from rasky/fix_sfx_volumes
...
TONY: fix volumes of sound effects.
2012-11-01 03:38:04 -07:00
Matthew Hoops
fdc80fd952
PEGASUS: Improve on the WSC missing AI videos bug
...
Made the only hint available into the first hint
2012-10-29 11:17:50 -04:00
Matthew Hoops
e4898831a3
PEGASUS: Ease off the CPU in the overview
2012-10-29 11:17:50 -04:00
Johannes Schickel
0052ef2802
GUI: Check for screen changes in the saveload chooser selection code.
2012-10-28 21:44:05 +01:00
Willem Jan Palenstijn
38b8b6eff1
TONY: Fix AmigaOS build (bug #3580541 )
2012-10-27 17:59:21 +02:00
Matthew Hoops
f67bd1f2e7
PEGASUS: Don't error out for two missing WSC AI videos
2012-10-26 23:22:27 -04:00
Giovanni Bajo
79d7d3d708
TONY: fix volumes of sound effects.
...
The game was using a logarithmic scale (through DirectSound)
so we need a log->linear conversion to feed the mixer.
2012-10-26 20:29:04 +02:00
Strangerke
86c23885d3
Merge pull request #289 from rasky/add_italian_version
...
Add detection for original Italian version.
2012-10-26 07:32:18 -07:00
Willem Jan Palenstijn
0bea0a28b1
TONY: Fix translation of Italian comment
...
Thanks to Giovanni Bajo for noticing and correcting this.
2012-10-26 13:58:31 +02:00
Giovanni Bajo
a6eddd2e99
Add detection for original Italian version.
2012-10-26 12:52:15 +02:00
Eugene Sandulenko
a21f742114
CONFIGURE: Enable Tony engine
2012-10-25 15:20:30 -06:00
Einar Johan Trøan Sømåen
880ac5d494
VIDEO: Mark Theora-decoder as used by Wintermute.
2012-10-23 21:48:47 +02:00
Einar Johan Trøan Sømåen
1ef63578bb
GRAPHICS: Mark decoders used by Wintermute as such.
2012-10-23 21:48:27 +02:00
Alyssa Milburn
d85a1a6815
Merge pull request #288 from murgo/master
...
ANDROID: Fixed tapping touchpad not sending left clicks
2012-10-23 00:48:46 -07:00
Einar Johan Trøan Sømåen
228785eda2
WINTERMUTE: Convert ' correctly from CP1252
2012-10-23 03:05:17 +02:00
Einar Johan Trøan Sømåen
4aa1c63eb1
WINTERMUTE: Add a hack to allow videos to loop
2012-10-23 02:34:27 +02:00
Johannes Schickel
b52274d011
CONFIGURE: Use -fPIC instead of -fpic on Linux and FreeBSD.
...
This allows compilation of plugins on PowerPC. This is done similar to what
was proposed in patch #3575572 "Fails to build on Linux PowerPC when using plugins".
I chose to use -fPIC unconditionally, since it will only make a difference on
platforms, which will require -fPIC, like PowerPC. On amd64 for example gcc
produces the same code.
2012-10-22 23:16:07 +02:00
Einar Johan Trøan Sømåen
4ba8819582
WINTERMUTE: Avoid using __DATE__ and __TIME__ in-engine
2012-10-22 23:01:00 +02:00
Filippos Karapetis
e7d4f88a57
SCI: Add a workaround for bug #3568452 - "SCI: QFG1VGA - Path finding bug in the forest"
...
This workaround has been added for now to stop the game from freezing.
A more correct solution would be to match our pathfinding algorithm
to what SSCI is doing, but with this workaround we can stop the more
immediate problem (game freezing) now.
2012-10-22 13:17:57 +03:00
Filippos Karapetis
1286710248
SCI: Fix bug #3578335 - "SCI: Mixed-Up Mother Goose EGA - crash upon choosing kid"
...
In several SCI0 games, the parameter to kDoSoundFade can be null.
We handle that case, instead of adding individual workarounds per game
2012-10-22 12:47:28 +03:00
Filippos Karapetis
bcf41fa7d2
SCI: Add another version of Castle of Dr. Brain (bug #3578286 )
2012-10-22 12:32:11 +03:00
Filippos Karapetis
81c9bcc010
SCI: Fix bug #3578336 - "SCI: Codename: ICEMAN - No 'EGA undithering' option"
2012-10-22 12:25:52 +03:00
Filippos Karapetis
146d00a799
SCI: Add the Inside the Chest / Benind the Developer's Shield demo
2012-10-22 12:19:13 +03:00
David-John Willis
686775138d
CONFIGURE: Clean up OpenPandora flags and add define for USE_ARM_NEON_ASPECT_CORRECTOR
2012-10-21 18:46:58 +01:00
David-John Willis
e7921438cd
GRAPHICS: Rename NEON_ASPECT_CORRECTOR to USE_ARM_NEON_ASPECT_CORRECTOR
...
* This better matches other ARM codepaths.
* Also remove #ifdef OPENPANDORA as moved to configure.
2012-10-21 18:43:07 +01:00
Lauri Härsilä
fc15e1c207
ANDROID: Fixed tapping touchpad not sending left clicks
2012-10-21 06:29:36 +03:00
D G Turner
b25ed0a02f
COMPOSER: Change screen surface variable naming for clarity.
...
This makes it easier to read the code where sprite surfaces are blitted
to the screen.
2012-10-20 23:19:47 +01:00
D G Turner
b32771acaf
COMPOSER: Close two memory leaks.
2012-10-20 20:16:36 +01:00
Lauri Härsilä
2109317564
ANDROID: Mouse and stylus support
...
From pull request #285 .
2012-10-19 22:50:09 +02:00
Eugene Sandulenko
ca256a23b3
I18N: Regenerate translations.dat
2012-10-18 22:09:50 +03:00
Eugene Sandulenko
e2bfa4ad25
I18N: updated Russian and Ukrainian translations
2012-10-18 22:08:48 +03:00
Matthew Hoops
dc3facfc62
PEGASUS: Improve error messages when failing to load PICT images
2012-10-16 22:16:32 -04:00
Matthew Hoops
c645f7dc93
GRAPHICS: Make failing to find the PICT header return false from loadStream
2012-10-16 22:15:09 -04:00
Strangerke
5023a5764f
TONY: Fix music bug - 2 songs played simultaneously eventually
2012-10-15 07:08:24 +02:00
Filippos Karapetis
76ff4c7001
SCI: Hopefully fix bug #3565505 - "SCI : crash when loading a savegame"
...
This bug occurs because in the cases specified in the bug report, the main
loop hasn't run fully yet, and there is a mini loop running instead (e.g.
inside Print())
Hopefully, this catches most cases where the crash occurs, but it needs more
testing to find if there is any other such case.
2012-10-13 21:06:02 +03:00
Filippos Karapetis
b91a132763
SCI: Fix bug #3568431 - "SCI: QFG1VGA - Text glitch at the ghosts death screen"
...
This is a script bug, and is present in the original game as well. Thanks to
lskovlun for assisting with this one
2012-10-13 19:44:33 +03:00
David Turner
8d6a794f7e
Merge pull request #284 from digitall/teenagentRefactor
...
Refactoring Work on Teenagent Engine
2012-10-13 07:56:27 -07:00
Matthew Hoops
64389c0643
VIDEO: Fix edits with scales not divisible by the media scale
...
QuickTime docs aren't completely clear on this, but from samples it's clear that the value needs to be rounded
2012-10-12 13:37:32 -04:00
Matthew Hoops
075d0b4812
VIDEO: Fix choosing of the correct edit when seeking
...
Previously it could be off-by-one
2012-10-12 13:36:23 -04:00
D G Turner
151b7beb47
Merge branch 'master' into teenagentRefactor
...
Conflicts:
engines/teenagent/callbacks.cpp
2012-10-12 17:03:32 +01:00
Johannes Schickel
2b55837650
IPHONE: Add support for "retina" displays.
...
Thanks to peres for testing this.
2012-10-12 17:08:51 +02:00