aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2.cpp
AgeCommit message (Collapse)Author
2004-10-11cleanup / updated some commentsMax Horn
svn-id: r15524
2004-03-05Clear all channel variables in clear_channelJochen Hoenicke
svn-id: r13203
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
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-08unify _vm / _scumm usageMax Horn
svn-id: r12262
2004-01-08add newlines to end of filesOliver Kiehl
svn-id: r12249
2004-01-08No more neededChris Apers
svn-id: r12245
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-18PalmOS sound API cannot access globals or functions out of the first segmentChris Apers
svn-id: r11740
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11217
2003-10-09Moved PalmOS initializations out of namespaces.Chris Apers
svn-id: r10703
2003-10-05cleanupMax Horn
svn-id: r10620
2003-10-03cleanup / doxygenificationMax Horn
svn-id: r10578
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-09-30Generated signed sound samples (cf. feature request #812913).Jochen Hoenicke
svn-id: r10510
2003-09-19cleanup; some more fixed need afnow that the premix proc is expected to ↵Max Horn
generate stereo data; (we probably should add a common base class for Player_V1/V2 instead of deriving V1 from V2) svn-id: r10312
2003-09-18unify legal headers a bit hereMax Horn
svn-id: r10305
2003-09-18just generate the data as stereo, instead of munging the buffer at the endMax Horn
svn-id: r10298
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-13Add a new hull curve entry needed by Indy3. This fixes bug #770698.Jochen Hoenicke
svn-id: r10230
2003-09-08Reduce PalmOS data segementChris Apers
svn-id: r10083
2003-09-07cleanup/refactoringMax Horn
svn-id: r10070
2003-09-07some cleanup; clarified isSoundInUse semantics and the difference between ↵Max Horn
IMuse::get_sound_active and IMuse::getSoundStatus; added lots of const qualifiers to IMuse; rewrote IMuseInternal::getSoundStatus (hopefully not breaking it); added MusicEngine::getSoundStatus svn-id: r10069
2003-09-07added common base class MusicEngine for iMuse/iMuseDigital/Player_V123 ↵Max Horn
(initial stab, more work to follow) svn-id: r10066
2003-09-07added an assertMax Horn
svn-id: r10054
2003-08-15A different fix for Bugs item #788531.Jochen Hoenicke
Allocate a 4th channel and map all accesses to out of bounds channels to this channel. svn-id: r9705
2003-08-15Fix for Bug [788531] Indy3VGA - Access violation with PC Speaker "travel" musicJamieson Christian
Checked for OOB channel clear command. The "travel" music in question seems to try to clear channel 4 when there are only channels 0-3. Now we check and bail if OOB. Perhaps this isn't quite the correct thing to do. Would channel 4 be significant, as in perhaps "clear ALL channels"? Hoenicke should answer this one. svn-id: r9700
2003-08-14Don't create imuse for v1 and v2 games (otherwise getSoundStatus doesn't work).Jochen Hoenicke
PCjr support for V1 games, bug fix in speaker support. set_pcjr is now called by Player_V2 constructor according to midi driver. Renaming of member variables to begin with an underscore. svn-id: r9692
2003-08-13More monkeyvga credits fix for -epcspk/pcjrJamieson Christian
svn-id: r9666
2003-08-13Fix monkeyvga hang when using -epcspk/pcjrJamieson Christian
svn-id: r9665
2003-08-12Fixed the freqency of one note. This bug is also in the original LucasJochen Hoenicke
Arts Games... svn-id: r9648
2003-08-05added support for output sample rates > 32767 (still limited to a max of ↵Max Horn
65535, but all we care about are 44100 and 48000 anyway) svn-id: r9510
2003-06-27cleanupMax Horn
svn-id: r8662
2003-06-15cleanupMax Horn
svn-id: r8494
2003-06-07This should be the right check for header_len.Jochen Hoenicke
I first thought that old games did not have GF_SMALL_HEADER. svn-id: r8379
2003-06-07replaced GF_AFTER with _versionMax Horn
svn-id: r8372
2003-06-06I have no idea if this is right, but at least sound seems to be workingTorbjörn Andersson
again in Maniac Mansion, Zak and EGA Loom. svn-id: r8365
2003-06-06Added a fix for music_timer in V3 games.Jochen Hoenicke
svn-id: r8361
2003-06-05Synchronize channels playing the same frequency. This preventsJochen Hoenicke
interference effects. svn-id: r8318
2003-06-01I forgot one note_length entry.Jochen Hoenicke
svn-id: r8247
2003-06-01Added VAR_MUSIC_TIMER support to playerV2. Now Zak intro is synchronized.Jochen Hoenicke
svn-id: r8245
2003-06-01Added new note-lengths of indy3ega/loom. Fixed internote spacing.Jochen Hoenicke
svn-id: r8242
2003-05-31fixed warningMax Horn
svn-id: r8188
2003-05-31Made thread-safe.Jochen Hoenicke
PCjr support. Rewrote the generator, so I can reuse more code between PCjr and speaker output. Added function to set master volume and to switch between PCjr and speaker. svn-id: r8185
2003-05-31Added missing random freqmod entries (water doesn't beep anymore :)Jochen Hoenicke
Removed extra newlines from debugging output. svn-id: r8166
2003-05-31Cleaned up the sample generator.Jochen Hoenicke
Added support for new opcodes as they are in Loom. I didn't enable Loom sound, as there are some issues (indyega, loomdemo) that need to be resolved first. svn-id: r8165
2003-05-26Fixed shadow variableJamieson Christian
svn-id: r8025
2003-05-26Added Hoenicke's PC-speaker waveform generatorJamieson Christian
and script interpreter for GF_OLD_BUNDLE music resources. We'll try to get the waveform generator into a MidiDriver wrapper for use with the 'SPK' resources of later games, but this is usable for now. Great work, Hoenicke! svn-id: r8023