Commit Graph
86814 Commits
Author SHA1 Message Date
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
Gregory Montoir 27d0481597 fixed potiential problem in scumm save/load code
svn-id: r15922
2004-11-27 18:01:44 +00:00
Gregory Montoir 5e351b0c31 moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
2004-11-27 17:50:23 +00:00
Max Horn b92b8e8d6a This is done...
svn-id: r15920
2004-11-27 17:24:22 +00:00
Max Horn c51b1266c0 Removed the (highly SCUMM specific) 'appendable stream' API from SoundMixer; SCUMM now uses the appendable stream directly
svn-id: r15919
2004-11-27 17:09:05 +00:00
Max Horn 573e02bb4c Removed the old setupPremix version, it is not needed anymore. Also fixed some doxygen comments (they were being assigned to the wrong things)
svn-id: r15918
2004-11-27 16:26:54 +00:00
Max Horn d8406e2633 cleanup
svn-id: r15917
2004-11-27 16:18:50 +00:00
Max Horn fbaac2e273 Use modern form of setupPremix
svn-id: r15916
2004-11-27 16:18:25 +00:00
Max Horn 8ff15ae72c Use modern form of setupPremix
svn-id: r15915
2004-11-27 16:12:11 +00:00
Max Horn ba74a8e7f6 Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
svn-id: r15914
2004-11-27 15:58:18 +00:00
Max Horn b78ac6a18b Make use of our String class instead of juggling with char pointers; added File::exists method
svn-id: r15913
2004-11-27 15:09:53 +00:00
Jerome Fisher 8d0ab890f8 To really, truly fix the multi-midi race condition, the adlib driver is now always created before iMuse initialisation. This necessitated removing the multimidi toggle from the debug console.
svn-id: r15912
2004-11-27 14:53:37 +00:00
Max Horn 1a7ca2dc2a AudioStream::read() has been removed quite some time ago, now making sure that change is reflected everywhere
svn-id: r15911
2004-11-27 13:54:09 +00:00
Jerome Fisher 1733863e71 - driver being NULL there is perfectly fine, Fingolfin :)
DCVS: ----------------------------------------------------------------------

svn-id: r15910
2004-11-27 13:27:17 +00:00
Max Horn 90e3fa96a3 Make Array stuff part of the V6 engine class (note: it's a bit confusing to have two different ArrayHeader structs, maybe we should rename them?)
svn-id: r15909
2004-11-27 13:13:41 +00:00
Max Horn dce059eebf Reduce code duplication
svn-id: r15908
2004-11-27 13:10:41 +00:00
Max Horn 6bcb1ce7d9 Fixing some evil behaviour
svn-id: r15907
2004-11-27 13:10:30 +00:00
Travis Howell fe43ebf73b No longer stubs
svn-id: r15906
2004-11-27 03:07:21 +00:00
Travis Howell 6cd046a906 Revert opcode EF merge, HE72 uses different array structure.
svn-id: r15905
2004-11-27 02:47:46 +00:00
Max Horn d172111444 Don't use directory param of File::open unless you have to
svn-id: r15904
2004-11-27 02:26:21 +00:00
Max Horn 096f2b6110 Add slide animation effect to the console
svn-id: r15903
2004-11-27 01:25:25 +00:00
Max Horn 573cac9580 do clipping
svn-id: r15902
2004-11-27 00:55:48 +00:00
Max Horn 876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Max Horn d56cd17183 paranoia
svn-id: r15900
2004-11-26 23:51:56 +00:00
Jerome Fisher 51bafda43a The Adlib MidiDriver is now initialised immediately when it is determined that it may be used. Doing this lazily potentially deadlocked when using MT-32 emulation in mixed MIDI/Adlib mode.
svn-id: r15899
2004-11-26 21:53:12 +00:00
Max Horn 57f8ae73ce Another one...
svn-id: r15898
2004-11-26 21:14:51 +00:00
Max Horn a0c4e81d74 Trying to fix the WinCE/DC port breakage -- blindfolded, though, hence it probably isn't enough to get things compiling again :-/
svn-id: r15897
2004-11-26 21:10:56 +00:00
Gregory Montoir 0d27b23efd renamed some HE opcodes and got rid of o72_unknownEF as it seems it was a duplicate of o70_unknownEF
svn-id: r15896
2004-11-26 20:17:02 +00:00
Torbjörn Andersson 66b8bcd7eb Added looping background noise to the IHNM intro. I don't know if it's the
correct sound or the correct volume, but the small extension to allow the
engine to start looping sounds is worthwhile enough in itself, I think.

svn-id: r15895
2004-11-26 13:28:00 +00:00
Torbjörn Andersson 41d1be2ea8 After listening to some of the IHNM music from both the FM and GM music
files through the MIDI synth on my Soundblaster, I can only conclude that
they are both General MIDI, so I've changed our code to assume that in both
cases. The End Title (which we currently incorrectly play at the end of the
intro) sounds much better in Adlib this way, too.

Perhaps the original used a different GM to FM mapping than the one in our
adlib.cpp, but if so using the MT-32 to GM mapping isn't likely to improve
the situation.

We could add a way of replacing the GM to FM mapping in adlib.cpp, I guess.
Of course, that would only be worth it if the original sounds better than
our mapping.

svn-id: r15894
2004-11-26 10:04:36 +00:00
Eugene Sandulenko de815bac90 Fix break introduced with last commit :).
svn-id: r15893
2004-11-26 00:57:29 +00:00