Commit graph

54 commits

Author SHA1 Message Date
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Paweł Kołodziejski
13c7acee9d cleanup whitespaces
svn-id: r11220
2003-11-08 22:57:42 +00:00
Max Horn
7eab653832 cleanup
svn-id: r10894
2003-10-18 13:04:59 +00:00
Max Horn
17bf7b95aa removed duplicate g_timer object (one was global, one was static to timer.cpp); set g_system earlier (might prevent a few race conditions)
svn-id: r10471
2003-09-28 21:08:48 +00:00
Max Horn
9470c9f661 changed & documented the premixer semantics
svn-id: r10294
2003-09-18 16:01:33 +00:00
Max Horn
be9d4066e1 moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
925ddb1b86 moved declaration of error/warning/debug from engine.h to util.h
svn-id: r10151
2003-09-10 12:23:42 +00:00
Jochen Hoenicke
d1391b8f2d Changed adlib note priorities for small header games
svn-id: r9746
2003-08-17 19:31:10 +00:00
Jochen Hoenicke
3b75fa8d3c Changed on_timer frequency in adlib so V3 SFX are correctly timed.
Changed V3 conversion code to adapt to the new (correct) speed.

svn-id: r9712
2003-08-15 16:40:17 +00:00
Travis Howell
124650e073 Remove debug code that shouldn't have been commit
svn-id: r9655
2003-08-13 12:16:42 +00:00
Travis Howell
b198fbc3bb Add adlib music for indy3ega/loom and adlib sfx, patch #770862
svn-id: r9649
2003-08-12 16:09:41 +00:00
Jamieson Christian
dbc42e0fb3 Revamped the GM-to-FM emulation tables.
The new tables come directly from the Adlib driver
for the original Sam & Max distro. Sam & Max using
Adlib should now sound essentially identical to
the original distro ("a few more tests"), and other
games without specific Adlib support, such as Simon,
should sound a whole lot closer to the GM tonality.
Percussion support is now comprehensive for Sam & Max
and a lot more thorough for other games.

svn-id: r9605
2003-08-08 12:06:14 +00:00
Jamieson Christian
154e872d5a Added generic send() option to MidiChannel.
This circumvents problems doing generic send()
calls to MidiDrivers that support more than
16 MIDI channels (i.e. Adlib). Because of the
way it interacts with MidiDriver, Simon could
have run into a problem if it tried to
allocate more than 15 Adlib music channels
(though this would only happen in very, VERY
rare circumstances).

Also fixed a problem with the channel
numbering scheme used by MidiDriver_Adlib,
in particular the percussion channel number.

svn-id: r9604
2003-08-08 11:54:24 +00:00
Max Horn
75db41750e getting rid of g_mixer; removing lots of whitespace
svn-id: r9527
2003-08-05 23:58:24 +00:00
Max Horn
c431e229b3 removing whitespace
svn-id: r9526
2003-08-05 23:57:37 +00:00
Travis Howell
318a6dc408 Rvert this non-smallheader adlib change
svn-id: r9491
2003-08-05 12:43:03 +00:00
Travis Howell
8bf012d966 Add adlib music improvements for indy3/monkeyega/monkeyvga and cleanups from patch #770862
svn-id: r9480
2003-08-05 05:21:57 +00:00
Jamieson Christian
f6984add8f Fixed unit'd var in Adlib driver
svn-id: r9195
2003-07-26 19:52:34 +00:00
Max Horn
b05e7de7bb replaced SCUMMVM_VERSION/SCUMMVM_CVS by gScummVMVersion/gScummVMBuildDate/gScummVMFullVersion; made engine.o depend on all other .o files, so that the build date in it is always up-to-date
svn-id: r9032
2003-07-15 02:16:33 +00:00
Jamieson Christian
c4455fc0fd Fix for OOB Adlib frequencies
svn-id: r8907
2003-07-11 10:47:10 +00:00
Jamieson Christian
378856a693 Post FMOPL-reversion cleanup.
svn-id: r8906
2003-07-11 10:23:13 +00:00
Jamieson Christian
8b8b964aad Reverted to "old" YM3812 (FMOPL) emulator code.
Until specific information regarding the benefits
of migrating to the new emulator can be made
available, the "old" code will remain in effect
for the benefit of slower hardware platforms such
as some WinCE-based devices.

svn-id: r8903
2003-07-11 07:14:21 +00:00
Jamieson Christian
39b37df37a Fix for Bug [766984]: FOA: Adlib sound distortion
Added check for OOB note numbers when instantiating
Adlib registers with frequency information. Must check
WHY exactly we're getting OOB note numbers (and *way*
OOB, at that).

svn-id: r8902
2003-07-11 06:25:37 +00:00
Max Horn
85c467c6a0 fixed two leaks
svn-id: r8739
2003-07-04 13:16:48 +00:00
Max Horn
3ed9aae095 const correctness
svn-id: r8727
2003-07-03 22:06:13 +00:00
Max Horn
6598673ac3 cleanup
svn-id: r8718
2003-07-02 23:24:05 +00:00
Jonathan Gray
9ce9ce620f fix typo
svn-id: r8495
2003-06-15 01:05:03 +00:00
Max Horn
21b41a5456 cleanup
svn-id: r8037
2003-05-27 23:18:03 +00:00
Jamieson Christian
c6568530bd Revamped iMuse and Player classes. Player now uses MidiParser to parse its data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver".
Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser).

*** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! ***

This has been tested through the intros and a number of other scenes from MI2, FOA and S&M.

NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned....

svn-id: r7849
2003-05-23 04:19:47 +00:00
Max Horn
c152233f80 get rid of some tables
svn-id: r7834
2003-05-22 21:24:36 +00:00
Max Horn
7d4442fca5 yet more memoy init fixes
svn-id: r7727
2003-05-20 14:17:18 +00:00
Max Horn
fc7806b80d more memoy init fixes
svn-id: r7725
2003-05-20 14:08:33 +00:00
Max Horn
19f77c0381 init member vars
svn-id: r7722
2003-05-20 13:05:14 +00:00
Jamieson Christian
a8627b1da6 Fixed Adlib priorities for non-SCUMM games
svn-id: r7694
2003-05-19 19:04:39 +00:00
Jamieson Christian
c81b58d38e Implemented new Simon MIDI module, switching from MidiStreamer to MidiParser. Restructuring enables XMIDI support and vc_72 implementation. Various cleanup on MidiParser's and MidiDriver's.
svn-id: r7654
2003-05-18 23:55:53 +00:00
Jamieson Christian
c88e0b5301 Fixed Adlib sound problem on old (small header) games. Thanks for eriktorbjorn for the material that led to the solution.
svn-id: r7610
2003-05-17 17:20:27 +00:00
Jamieson Christian
cb5d44bc12 Fixed tambourine percussion patch
svn-id: r7522
2003-05-15 01:17:33 +00:00
Jamieson Christian
979b465415 Added rudimentary Adlib percussion support.
Semantic fixes -- Adlib "MIDI Channels" are now "Voices"
Miscellaneous cleanup/streamlining.

svn-id: r7520
2003-05-15 00:05:32 +00:00
Max Horn
325c9b321c new fmopl (from adplug, which has it from mame; we can use it under the LGPL should we ever have to)
svn-id: r7328
2003-05-04 21:17:42 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
a8c3057875 and more cleanup ....
svn-id: r6719
2003-03-06 18:30:44 +00:00
Travis Howell
ef67537f09 Add missing simon 1/2 adlib control codes, purpose unknown.
svn-id: r6596
2003-02-10 11:51:23 +00:00
Nicolas Bacca
2c755a1f31 Change AdLib emulation quality for slower devices - added PROP_GET_FMOPL_ENV_BITS and PROP_GET_FMOPL_EG_ENT
svn-id: r6573
2003-01-29 21:28:37 +00:00
Jamieson Christian
65ee19610c Instrument definition revamp.
IMuseDriver abstract class removed.
IMuseGM is now IMuseDriver.
Miscellaneous cleanup.

svn-id: r6017
2002-12-18 13:22:40 +00:00
Jamieson Christian
fec55e0b57 Fixed Adlib compilation problem
svn-id: r6014
2002-12-18 07:53:45 +00:00
Jamieson Christian
71e7d1512f message.log
svn-id: r6012
2002-12-18 07:48:02 +00:00
Max Horn
bf62494fd5 ripped out obsolete midi streaming code from backends (this may break Alsa/SEQ/Windows/Morphos compile, I tried my best, but you'll have to clean up after me)
svn-id: r5905
2002-12-11 16:09:58 +00:00
Max Horn
0ac3214fd5 started to split out the midi drivers
svn-id: r5889
2002-12-08 20:19:01 +00:00
Jamieson Christian
cc6c37e1ad Fixed Adlib instrument setup in old (GF_SMALL_HEADER) games.
Restored MT-32 emulation lost during restructuring.

svn-id: r5786
2002-12-01 15:51:29 +00:00
Oliver Kiehl
5215379191 fixed compile problems
svn-id: r5724
2002-11-26 20:14:12 +00:00