Commit Graph

12194 Commits

Author SHA1 Message Date
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
Max Horn
f6b495c8bc Assume for now that the premixer is always used for music playback (as opposed to being used for SFX); this affects the volume (see bug #1049375)
svn-id: r15940
2004-11-28 13:57:49 +00:00
Max Horn
3da8e08c0c Fixed various warnings
svn-id: r15939
2004-11-28 13:10:57 +00:00
Max Horn
540ba778e9 fixed an unsigned comparision warning (does this code really do what you intended it to do?)
svn-id: r15938
2004-11-28 13:09:02 +00:00
Max Horn
3225ae0203 const correctness fix
svn-id: r15937
2004-11-28 13:08:23 +00:00
Travis Howell
46008733a1 Sync with HE docs md5s
svn-id: r15936
2004-11-28 12:58:17 +00:00
Travis Howell
075c09bcd8 Duplicates
svn-id: r15935
2004-11-28 12:36:31 +00:00
Jerome Fisher
6d255be202 - More cleanup.
- Another tuning tweak. Sounds better to my ear, but still guesswork.

svn-id: r15934
2004-11-28 07:25:18 +00:00
Jerome Fisher
c5915d19d0 - Now really use g_scummfont everywhere.
svn-id: r15933
2004-11-28 07:08:54 +00:00
Jerome Fisher
2a3b7efc3d - Now uses g_scummfont instead of g_sysfont.
- Added default case to event switch to eliminate compiler warning.

svn-id: r15932
2004-11-28 07:07:15 +00:00
Jerome Fisher
2149e0fc78 - Cleanup. Still waiting for a real MT-32 to check PCM tuning.
svn-id: r15931
2004-11-28 06:03:23 +00:00
Jerome Fisher
39817f91b3 - Tweaked tuning.
svn-id: r15930
2004-11-28 05:42:12 +00:00
Jerome Fisher
077d19f500 - Added graphical representation of initialisation progress. This is quite hacky.
- Initialisation is now interruptible.
- All data is now loaded from MT32_CONTROL.ROM. drumpat.rom, Preset1.syx, Preset2.syx and patchlog.cfg are no longer used.
- Major cleanup. In particular, separated Rhythm part into a new class, instead of dealing with it as a special case everywhere.
- Improved accuracy of pitch key-follow.
- Recaching now happens lazily.
- Changed some right-shifts to divs, due to the former not being arithmetic on some architectures.
- Setting "MT32EMU_ACCURATENOTES" to 1 will generate lookup tables for the exact frequency of every note played. Not recommended.
- Several small bugs fixed.

svn-id: r15929
2004-11-28 05:35:07 +00:00
Gregory Montoir
67b8abac08 correction
svn-id: r15928
2004-11-28 05:33:33 +00:00
Max Horn
41f710c06c Fixing actor regression in The Dig caused by my previous changes
svn-id: r15927
2004-11-28 02:36:01 +00:00
Max Horn
cc11a1249a Fix AKOS clipping issues at the left/right border of the screen (smooth scrolling regression)
svn-id: r15926
2004-11-28 02:05:04 +00:00
Max Horn
232ef35298 Print some camera info
svn-id: r15925
2004-11-28 02:04:14 +00:00
Gregory Montoir
b03c70f460 md5 update
svn-id: r15924
2004-11-27 21:02:28 +00:00
Max Horn
b64f1002c5 Fix for bug #1067982 (DIG: Parallax scrolling in library semi-broken)
svn-id: r15923
2004-11-27 19:06:50 +00:00