aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/adlib.cpp
AgeCommit message (Collapse)Author
2004-10-17added MidiDriver_Emulated base class used by the adlib & ym2612 midi 'drivers'Max Horn
svn-id: r15589
2004-10-17CleanupMax Horn
svn-id: r15588
2004-10-11Make use of the new setupPremix variant (i.e. use an AudioStream subclass ↵Max Horn
instead of a premix proc) svn-id: r15523
2004-08-22cleanup of TimerProc messMax Horn
svn-id: r14683
2004-03-19Reverted to the old random_nr() function. This appears to have been theTorbjörn Andersson
cause of bug #916886: Calling getRandomNumber(-1) causes ScummVM to crash, while calling random_nr(-1) doesn't. We may still want to replace it with getRandomNumber() later, of course. svn-id: r13341
2004-03-13Patch #902111: Change remaining random function calls to use RandomSourceMax Horn
svn-id: r13262
2004-02-24the OSystem changes we discussed on the ML (note: renaming of the existing ↵Max Horn
OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11220
2003-10-18cleanupMax Horn
svn-id: r10894
2003-09-28removed duplicate g_timer object (one was global, one was static to ↵Max Horn
timer.cpp); set g_system earlier (might prevent a few race conditions) svn-id: r10471
2003-09-18changed & documented the premixer semanticsMax Horn
svn-id: r10294
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-09-10moved declaration of error/warning/debug from engine.h to util.hMax Horn
svn-id: r10151
2003-08-17Changed adlib note priorities for small header gamesJochen Hoenicke
svn-id: r9746
2003-08-15Changed on_timer frequency in adlib so V3 SFX are correctly timed.Jochen Hoenicke
Changed V3 conversion code to adapt to the new (correct) speed. svn-id: r9712
2003-08-13Remove debug code that shouldn't have been commitTravis Howell
svn-id: r9655
2003-08-12Add adlib music for indy3ega/loom and adlib sfx, patch #770862Travis Howell
svn-id: r9649
2003-08-08Revamped the GM-to-FM emulation tables.Jamieson Christian
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-08Added generic send() option to MidiChannel.Jamieson Christian
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-05getting rid of g_mixer; removing lots of whitespaceMax Horn
svn-id: r9527
2003-08-05removing whitespaceMax Horn
svn-id: r9526
2003-08-05Rvert this non-smallheader adlib changeTravis Howell
svn-id: r9491
2003-08-05Add adlib music improvements for indy3/monkeyega/monkeyvga and cleanups from ↵Travis Howell
patch #770862 svn-id: r9480
2003-07-26Fixed unit'd var in Adlib driverJamieson Christian
svn-id: r9195
2003-07-15replaced SCUMMVM_VERSION/SCUMMVM_CVS by ↵Max Horn
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-11Fix for OOB Adlib frequenciesJamieson Christian
svn-id: r8907
2003-07-11Post FMOPL-reversion cleanup.Jamieson Christian
svn-id: r8906
2003-07-11Reverted to "old" YM3812 (FMOPL) emulator code.Jamieson Christian
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-11Fix for Bug [766984]: FOA: Adlib sound distortionJamieson Christian
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-04fixed two leaksMax Horn
svn-id: r8739
2003-07-03const correctnessMax Horn
svn-id: r8727
2003-07-02cleanupMax Horn
svn-id: r8718
2003-06-15fix typoJonathan Gray
svn-id: r8495
2003-05-27cleanupMax Horn
svn-id: r8037
2003-05-23Revamped iMuse and Player classes. Player now uses MidiParser to parse its ↵Jamieson Christian
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-22get rid of some tablesMax Horn
svn-id: r7834
2003-05-20yet more memoy init fixesMax Horn
svn-id: r7727
2003-05-20more memoy init fixesMax Horn
svn-id: r7725
2003-05-20init member varsMax Horn
svn-id: r7722
2003-05-19Fixed Adlib priorities for non-SCUMM gamesJamieson Christian
svn-id: r7694
2003-05-18Implemented new Simon MIDI module, switching from MidiStreamer to ↵Jamieson Christian
MidiParser. Restructuring enables XMIDI support and vc_72 implementation. Various cleanup on MidiParser's and MidiDriver's. svn-id: r7654
2003-05-17Fixed Adlib sound problem on old (small header) games. Thanks for ↵Jamieson Christian
eriktorbjorn for the material that led to the solution. svn-id: r7610
2003-05-15Fixed tambourine percussion patchJamieson Christian
svn-id: r7522
2003-05-15Added rudimentary Adlib percussion support.Jamieson Christian
Semantic fixes -- Adlib "MIDI Channels" are now "Voices" Miscellaneous cleanup/streamlining. svn-id: r7520
2003-05-04new fmopl (from adplug, which has it from mame; we can use it under the LGPL ↵Max Horn
should we ever have to) svn-id: r7328
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanup ....Paweł Kołodziejski
svn-id: r6719
2003-02-10Add missing simon 1/2 adlib control codes, purpose unknown.Travis Howell
svn-id: r6596
2003-01-29Change AdLib emulation quality for slower devices - added ↵Nicolas Bacca
PROP_GET_FMOPL_ENV_BITS and PROP_GET_FMOPL_EG_ENT svn-id: r6573