12062 Commits

Author SHA1 Message Date
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Max Horn
8d4fcb1689 Turn off 'launcher looping' for now
svn-id: r15989
2004-12-05 17:35:24 +00:00
Jerome Fisher
87b472c9e8 - Added details about which ROMs are required for the MT-32 emulator.
- Small grammatical fixes to MT-32 section.

svn-id: r15988
2004-12-05 16:19:21 +00:00
Gregory Montoir
bd9c01ad8c this is just how watcom handles signed division
svn-id: r15987
2004-12-05 09:41:39 +00:00
Robert Göffringmann
ecf6a579c5 forgot to remove this.
svn-id: r15986
2004-12-05 07:35:27 +00:00
Travis Howell
d91e587d41 Warning fix from LavosSpawn
svn-id: r15985
2004-12-05 03:20:04 +00:00
Travis Howell
7d356170df Remove stray ;
Add new object

svn-id: r15984
2004-12-05 03:11:07 +00:00
Robert Göffringmann
5d32a2c034 added support for an international BS1 cutscene pack (which we didn't release yet)
svn-id: r15983
2004-12-05 02:55:06 +00:00
Max Horn
095549125b getFeatureState should only be allowed when we are *not* in a GFX transaction (and not vice versa)
svn-id: r15982
2004-12-04 14:47:22 +00:00
Robert Göffringmann
634b99037b clear scroll offsets... not sure if this is actually necessary, but it *could* be related to bug #1077394
svn-id: r15981
2004-12-04 04:41:17 +00:00
Gregory Montoir
0f2117cbd0 don't assert if no mouse buffer hasn't been setup
svn-id: r15980
2004-12-03 23:23:06 +00:00
Gregory Montoir
fb5dcffff1 Minor cleanup, one more time.
Fixed a crash when returning to the launcher at the end of the game.
I played FOTAQ (french) from the beginning to the end some hours ago, I haven't encountered any special problems/glitches (except the one mentionned above).

svn-id: r15979
2004-12-03 22:39:55 +00:00
Torbjörn Andersson
76bf11cbdf Oops, I forgot to make this change before making the last commit.
svn-id: r15978
2004-12-03 19:19:56 +00:00
Torbjörn Andersson
7ba24ad1de This is mostly done, except for bugfixing.
svn-id: r15977
2004-12-03 19:16:52 +00:00
Torbjörn Andersson
c64c7eb4d4 First pass at migrating from the old Reinherit console to the ScummVM
console.

Some things are likely to have broken. For instance, I believe the old
console was could be visible during gameplay, while ScummVM's is modal. So
any place where we output something to the console during gameplay should
probably be removed.

Some things I've stubbed out. Basically any code that registers a variable.

Most of the debugging commands are untested.

Syntax may have changed because of different command-line parsing. (I never
actually used the old console, so I don't know for sure. :-)

Actually, I'm not that interested in reproducing the old console commands
faithfully. What we should do now is to make the immediately useful console
stuff work. Anything that remains unimplemented should probably be removed.

svn-id: r15976
2004-12-03 19:15:44 +00:00
Torbjörn Andersson
2cfdcb5a59 Stop sounds at the beginning of a scene. Two reasons: we already stop
voices at the same time, and I didn't want the looping background sound in
the IHNM intro to keep playing if escaping during the "hate speech".

svn-id: r15975
2004-12-03 13:39:00 +00:00
Torbjörn Andersson
75645cbd40 Fixed an Adlib regression with older games (e.g. EGA Loom, Indy 3 and
Monkey VGA) that was introduced by a recent "multi MIDI" change.

The "old Adlib" property was set too late in the iMUSE player, so the Adlib
driver would always think the game was new. I've removed this property from
the iMUSE player, since it's only function appeared to be to pass it on to
the Adlib player, and now set it in the Adlib player directly instead.

Also removed some remaining "multi MIDI" traces from the iMUSE player that
I believe were obsoleted by the aforementioned "multi MIDI" change.

svn-id: r15974
2004-12-03 13:17:57 +00:00
Max Horn
f03ae8addb Paranoia
svn-id: r15973
2004-12-03 10:36:30 +00:00
Jerome Fisher
470a83e024 Synched with upstream (Munt 0.1.1).
Memory timbres are now loaded into the correct location again, and reaching the end of a PCM sample has been improved. The latter change is probably the only one relevant to ScummVM, and even that is unlikely to be audible.

svn-id: r15972
2004-12-02 23:00:15 +00:00
Gregory Montoir
5884c6735d simplified palette handling
svn-id: r15971
2004-12-02 22:59:57 +00:00
Gregory Montoir
891970cd76 enabled autosave
svn-id: r15970
2004-12-02 21:24:27 +00:00
Travis Howell
39de0960ff Fix kyra compile
svn-id: r15969
2004-12-02 08:21:49 +00:00
Max Horn
5d5a13eec7 Moved MidiDriver creation code into the MidiDriver class (as static methods), same for some other MIDI related stuff
svn-id: r15968
2004-12-02 00:33:42 +00:00
Gregory Montoir
cdec823d98 renamed a few things to match our coding guidelines
simplified OSystem_SDL destructor and move all the SDL uninitialization stuff to the quit() method
made saveScreenshot() returning false on fail

svn-id: r15967
2004-12-01 21:16:55 +00:00
Torbjörn Andersson
8bbbbc71fb I've been meaning to look at getting rid of the SAGA console in favour of
the standard ScummVM one.

svn-id: r15966
2004-12-01 13:28:22 +00:00
Gregory Montoir
ebd1c15e1f 'atari, fmtowns, mac, pc, windows' have nothing to do with savepath :)
svn-id: r15965
2004-11-30 21:07:02 +00:00
Gregory Montoir
f2fb63ffd9 enabled savegame loading on startup
svn-id: r15964
2004-11-30 21:01:25 +00:00
Torbjörn Andersson
be58f22feb Allow the file browser to get back to the "pseudo root" under Windows. This
fixes bug #1074919.

svn-id: r15963
2004-11-29 11:14:12 +00:00
Jerome Fisher
e757242937 - Fixed uninitialised reverb level. This bug took embarrassingly long to find...
svn-id: r15962
2004-11-29 02:21:35 +00:00
Jerome Fisher
e61e0f27a0 - Now actually read and write the 4 bytes of tuning frequency info in the header.
svn-id: r15961
2004-11-29 01:05:15 +00:00
Eugene Sandulenko
8f863b5d8f Fix music volume
svn-id: r15960
2004-11-29 00:25:15 +00:00
Eugene Sandulenko
99503e3a32 Fix music volume
svn-id: r15959
2004-11-29 00:17:03 +00:00
Eugene Sandulenko
72cb985ee3 Go on safe side by getting music volume from config manager
svn-id: r15958
2004-11-29 00:13:17 +00:00
Eugene Sandulenko
5a8838ae17 Fix music volume.
svn-id: r15957
2004-11-29 00:09:35 +00:00
Jerome Fisher
9df1a8ea2f Fingolfin, I see what you mean about the volume control mess :)
This fixes Adlib playback, which was previously always mixed at volume 0.

svn-id: r15956
2004-11-28 23:57:33 +00:00
Max Horn
d6d3e5422b cleanup
svn-id: r15955
2004-11-28 23:24:32 +00:00
Jerome Fisher
5a0c72cf88 Last one... No more MT-32 pass-through.
svn-id: r15954
2004-11-28 23:15:46 +00:00
Jerome Fisher
750ce1fe4e No longer sets pass-through for MT-32 emulator.
svn-id: r15953
2004-11-28 23:11:37 +00:00
Jerome Fisher
1b638b829e Who started this trend? :)
MT-32 emulator should be handled just like all other drivers, except that it should always be considered native MT-32.

svn-id: r15952
2004-11-28 23:08:05 +00:00
Jerome Fisher
5c6a1fcb2d - MIDI messages are now pre-processed and go through normal channel allocation, rather than being passed through directly.
svn-id: r15951
2004-11-28 23:03:32 +00:00
Max Horn
10dd548b85 Changed parameter order of SoundMixer::playInputStream to match that of playRaw
svn-id: r15950
2004-11-28 23:02:28 +00:00
Max Horn
61440ca830 Fix range check
svn-id: r15949
2004-11-28 22:26:03 +00:00
Jerome Fisher
1f56326bd5 - Now sets the palette earlier, and only once.
svn-id: r15948
2004-11-28 22:23:13 +00:00
Jerome Fisher
87fc0548f9 - Now sets itself as a "permanent" mixer channel.
svn-id: r15947
2004-11-28 22:17:06 +00:00
Jerome Fisher
45d92a02f4 Added a "permanent" field to Channels, which simply prevents them from being deleted during stopAll().
I hope this doesn't step on anyone's toes; it was quite urgent, since loading a saved game stopped MT-32 emulation audio forever.

svn-id: r15946
2004-11-28 22:15:09 +00:00
Eugene Sandulenko
1947aa48ac Initialize palette for the progress bar
svn-id: r15945
2004-11-28 21:31:46 +00:00
Max Horn
1ae87c0fbb Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly
svn-id: r15944
2004-11-28 21:24:02 +00:00
Jerome Fisher
6c84bbf2bd - Cleanup.
- Signedness fix.
- Changed partial age to 32-bit... They don't exactly run until the heat-death of the universe.

svn-id: r15943
2004-11-28 21:08:37 +00:00
Torbjörn Andersson
0d951de5e9 Using a slightly hacked DOSbox I believe I have verified that the first
music track and the looping background noise over the "hate" speech are
correct. I was already pretty sure of the music, but the sound was just a
lucky guess.

The script LUT, which is what I really wanted to find, remains elusive,
though. I couldn't see it reading any part of the resource file that looked
anything like the script LUT in ITE.

svn-id: r15942
2004-11-28 18:28:40 +00:00
Torbjörn Andersson
988b0ce9c1 Added debug message similar to the one for the scene LUT.
svn-id: r15941
2004-11-28 18:26:09 +00:00