Commit Graph
61292 Commits
Author SHA1 Message Date
Torbjörn Andersson ee65532a5e SCUMM: Avoid "pops" at the end of the note in Mac MI1/Loom music
At least on my computer, when the note ended abruptly there would
be an annoying "pop" at the end. This was particularly noticeable
at the end of the distaff notes in Loom. To get around this, fade
out the last 100 samples. There's nothing magical about 100 in
particular, but it's a nice even number and it should be short
enough that it's never a noticeable part of the note, even at low
sample rates.
2012-11-17 11:53:54 +01:00
Torbjörn Andersson 4626e21149 SCUMM: Remove commented out code.
It was the remains of an experiment and no longer serves a purpose.
2012-11-17 11:42:41 +01:00
Paul Gilbert 928b1ae0d0 HOPKINS: Bugfix for CHARGE_BANK_SPRITE1 2012-11-17 21:13:10 +11:00
Paul Gilbert 0fdea57c54 HOPKINS: Lots of code implemented for Hopkin's computer 2012-11-17 20:49:07 +11:00
Strangerke 8b0ae07969 HOPKINS: Use common::string instead of hardcoded values in CONSTRUIT_FICHIER 2012-11-17 09:59:50 +01:00
Paul Gilbert f2002f729a HOPKINS: Fix for hearing police report after leaving bank. 2012-11-17 15:45:37 +11:00
Paul Gilbert 848dcbcf09 HOPKINS: Properly implemented CONSTRUIT_FICHIER for animations.
The game has separate folders for selected animations at different resolutions.
2012-11-17 15:13:52 +11:00
Paul Gilbert 60c46fe386 HOPKINS: Bugfix for restoring screen after PLAY_ANM2 animation plays. 2012-11-17 12:36:28 +11:00
Paul Gilbert 63f69f2fa5 HOPKINS: Bugfixes for PLAY_ANM2 animation player 2012-11-17 12:31:51 +11:00
Strangerke 03468b1718 HOPKINS: Add voice to detection, except for the Win95 demo (to be fixed) 2012-11-17 00:43:05 +01:00
Torbjörn Andersson 38b2a8518f SCUMM: Fix the "drafts" debugger command for Mac Loom
Mac Loom's drafts appear to be stored from variable 55 and upwards.
I'm working under the assumption that there's either only one
version of Loom for the Mac, or that they all behave the same. I
could be wrong about that.
2012-11-16 22:13:23 +01:00
Torbjörn Andersson 8658d008d5 SCUMM: Remove obsolete part of the "drafts" debugger command
It was never quite clear exactly what "drafts fix" did. It wasn't
guaranteed to work on all versions of Loom - or at all - and I
haven't heard any reports about the data structure getting
corrupted for years.
2012-11-16 21:30:56 +01:00
Torbjörn Andersson b6a42e9faa SCUMM: Store sample rate in Mac MI1 / Loom savegames
This keeps the music from breaking when loading a savegame that was
made with a different sample rate than the current one. It also
breaks all savegames made in the past eight hours, but I don't think
it's necessary to maintain savegame compatibility within a pull
request, as long as it still works with savegames made before it.
2012-11-16 16:43:13 +01:00
Paul Gilbert 3b878fc4c5 HOPKINS: Fixed some save/loading of TEMP.SCR to use the SaveLoadManager.
These should really be refactored in the future to use a memory buffer. Moderns systems have enough memory that it shouldn't be a problem to store a copy of the currently loaded background.
2012-11-16 21:24:52 +11:00
D G Turner 19eea946ec CONFIGURE: Use correct prefixed binaries for AmigaOS cross-compile. 2012-11-16 10:18:02 +00:00
Strangerke 6d1db99540 HOPKINS: Remove some magic values, add a safety check in Copy_Video_Vbe16 2012-11-16 08:32:40 +01:00
Torbjörn Andersson f0c1d8dcc4 SCUMM: Add hack to preserve savegame compatibility with Mac MI1
For old savegames, we now use a "dummy" iMUSE objet to skip the old
iMUSE save state. I had hoped to be able to do this without making
any changes to the iMUSE code itself, but I was unable to.

Also added note about how the save state for the new music will not
quite work if the mixer output rate changes. Personally, I'm not
too worried about that. It breaks, but it shouldn't break badly.
2012-11-16 07:49:17 +01:00
Torbjörn Andersson f784d683e0 SCUMM: Save/load Mac music engine state for Loom and MI1
Note that while this removes _townsPlayer->saveLoadWithSerializer(s)
it really shouldn't break anything because _musicEngine also points
to the FM Towns player. Famous last words...
2012-11-15 22:23:44 +01:00
Filippos Karapetis 542b99bfe7 GROOVIE: Added documentation for the GameSpeed enum 2012-11-15 18:26:15 +02:00
Johannes Schickel 29efcce7c0 README: Break some lines on 79 characters again. 2012-11-15 17:18:24 +01:00
Johannes Schickel eb9e7210ef README: Describe "walkspeed" for Kyra2+Kyra3. 2012-11-15 17:16:17 +01:00
Filippos Karapetis 298ab8970f README: Change wording of the Kyrandia walkspeed setting to "number"
This is changed from "int" to "number" for uniformity with the rest
of the game options (plus, "number" is better understood by
non-programmers, whereas "int" is more cryptic)
2012-11-15 17:56:34 +02:00
Filippos Karapetis fb0788d12f SCI: Properly reset the palVary signal when loading (bug #3575569) 2012-11-15 14:57:55 +02:00
Filippos Karapetis 2c8cd2d653 MT32: Make all constant tables in the MT32Emu namespace static
Added in munt commit d4f8ebf54be0a8255af08bb24f1962afa8378096
2012-11-15 14:40:04 +02:00
Strangerke e920b06ece HOPKINS: Add some more code specific to the full version (linux) 2012-11-15 13:34:15 +01:00
Filippos Karapetis 42b8f3db4d DREAMWEB: Add an extra line showing the available terminal commands
This is possible, since the game is freeware now. It is very
helpful when playing the game in order to avoid referring to the
manual. The extra help text is shown when the player uses the
'help' command inside the game terminal.

Also, the list of games where copy protection is skipped has been
reordered alphabetically in the README
2012-11-15 14:30:42 +02:00
Filippos Karapetis 3233edf9b8 MT32: Update the MT32 emulator to the latest munt revision
Previous munt revision was 189f607c88e7404ad99abcf4b90f23b103003ed1
(Feb 09, 2012).
Current munt revision is f969d2081d41b669c1bfebd0026b5419c09517ae
(Nov 15, 2012)
2012-11-15 14:30:41 +02:00
Matthew Hoops 97854df1a8 README: Mark only the DOS EGA version of Loom as skipping copy protection 2012-11-14 18:32:42 -05:00
Matthew Hoops 51b2904cc1 VIDEO: Improve a Cinepak heuristic
Brings it inline with the FFmpeg/libav version again
2012-11-14 18:30:54 -05:00
Strangerke db5626adb6 HOPKINS: Fix exit in full game 2012-11-14 22:58:48 +01:00
Strangerke b15e6f0ac5 HOPKINS: Finish work on Credit 2012-11-14 22:37:38 +01:00
Torbjörn Andersson b75349383e SCUMM: Remove Mac version of MI1 from special case.
We no longer use iMuse for MI1 Mac so this never happens. The Mac
player can only play one song at a time, so it should be all right.
2012-11-14 22:12:46 +01:00
D G Turner e6a4bd8055 CONFIGURE: Force static build when crosscompiling for AmigaOS. 2012-11-14 20:43:27 +00:00
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
Matthew Hoops 6a1fa88b56 VIDEO: Clarify some VideoDecoder documentation 2012-11-14 13:35:16 -05:00
D G Turner 459752f20b TONY: Fixed scripted exit to use engine method, rather than error().
This fixes bug #3586252 ("TONY: Game errors out when exiting via the
menu").
2012-11-14 09:37:19 +00:00
Strangerke cc7d7fc2cd HOPKINS: Rework Credits (WIP) 2012-11-14 07:55:15 +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
D G Turner 05d97f33ec BUILD: Remove stripping of executables on "make install".
This is now standard behaviour, and the current situation creates
problems for distribution packagers trying to generate debug packages.

A standard "install-strip" target has been added to enable the previous
behaviour if needed.
2012-11-13 19:52:52 +00:00
Strangerke 467963f8ca HOPKINS: Add some descriptions in detection entries 2012-11-13 19:15:32 +01:00
Strangerke 322e027874 HOPKINS: Re-add detection for Full Linux 2012-11-13 18:57:12 +01:00
Paul Gilbert 5f21d3d00a HOPKINS: Fix gcc warning about shadowed variable 2012-11-13 20:40:24 +11:00
Paul Gilbert db091123ee HOPKINS: Compilation fixes under gcc 2012-11-13 20:25:55 +11:00
D G Turner 43520ce4f3 TONY: Fix image loading on BE systems.
Thanks to wjp and fuzzie for working out the cause.
2012-11-13 09:18:28 +00: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
Paul Gilbert ff9dc4ab24 HOPKINS: Bugfix for freeze when looking at the cat when voices are turned on. 2012-11-12 20:09:29 +11:00