aboutsummaryrefslogtreecommitdiff
path: root/saga/music.cpp
AgeCommit message (Collapse)Author
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20532
2006-02-09Fix music regression in DOS versions of ITETravis Howell
svn-id: r20436
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-12-07fix bug#1374198 "White Noise instead of Music Playback"Andrew Kurushin
svn-id: r19754
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-12Looks like my pitch wheel change still has the ability to break things. SeeTorbjörn Andersson
bug #1324103. I've changed it - again - so that now it only centers the pitch wheels on unload if a new mpCenterPitchWheelOnUnload property has been set. Currently only the SAGA engine does that, so if it still breaks it only breaks SAGA. I've also fixed what looked like an unintentional fall-through in the MidiParser::property() function. Surently that can't cause any new regressions? Please. svn-id: r19032
2005-09-26Silenced GCC warning.Torbjörn Andersson
svn-id: r18884
2005-09-21This should keep IHNM from triggering an assertion in FLAC. But I'm notTorbjörn Andersson
sure since I don't have FLAC installed on this computer. The looping for standalone tracks looked a little strange, too, so I've changed it. svn-id: r18855
2005-09-20Buggy support for ripped tracks.Eugene Sandulenko
svn-id: r18849
2005-09-02Implement option buttons functionality. This fixes bug #1259518 "ITE: ButtonsEugene Sandulenko
in Options Dialog not fully functional" svn-id: r18738
2005-08-30Implement sfPlayMusic for IHNMEugene Sandulenko
svn-id: r18717
2005-08-04macBinary resource supportAndrew Kurushin
svn-id: r18609
2005-07-29WhitespacesEugene Sandulenko
svn-id: r18595
2005-07-26fixed sound in many variationAndrew Kurushin
some version should be tested svn-id: r18585
2005-07-19Fixed crash when quitting.Torbjörn Andersson
svn-id: r18568
2005-07-19Play the correct digital music. (And removed some unnecessary blank lines.)Torbjörn Andersson
svn-id: r18567
2005-07-19Cleanup.Torbjörn Andersson
svn-id: r18563
2005-07-19fix Music crash on exitAndrew Kurushin
svn-id: r18562
2005-07-19finally Resource manager rewritten:Andrew Kurushin
-adds patch file support -global _vm removed cleanups svn-id: r18560
2005-06-19Implement sfPlayLoopedSound, sfFadeMusic and sfPlayVoice.Eugene Sandulenko
sfPlayVoice is untested. Please, inform me where you encounter it. svn-id: r18412
2005-06-05Hide debug outputEugene Sandulenko
svn-id: r18354
2005-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-04-03Committed patch #1168149 (Shared GM/MT-32 mapping) by eriktorbjorn as-is. ↵Jerome Fisher
This does the following: - Replaces multiple identical MT-32-to-General MIDI mapping tables with a common one in MidiDriver. - Changes Sky's GmChannel class to allow NULL instrument and velocity mapping tables, giving a 1-to-1 mapping without creating a dummy table. svn-id: r17361
2005-04-03- fixed tile doors drawingAndrew Kurushin
- right mouse action fixed svn-id: r17347
2005-03-12PlayingSoundHandle -> SoundHandle; also, turned the handle activity check ↵Max Horn
into a mixer method svn-id: r17106
2005-03-09changing AudioDataType -> SoundType, so now the constant names match the ↵Max Horn
name of the data type / the SoundMixer method names svn-id: r17052
2005-01-17If the game tries to start a piece of music that happens to be playingTorbjörn Andersson
already, let it continue playing rather than restarting it. (I've been meaning to make this change for some time, but now it appeared on the TODO list as well. :-) svn-id: r16583
2005-01-11- remove game.h & image.hAndrew Kurushin
- all display information of current game goes to SagaEngine - remove GameFontIds - hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType() svn-id: r16545
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-27Added 'sound types' to the mixer - for now, only plain (for the premixer), ↵Max Horn
SFX and music; volume is now controlled based on the sound type svn-id: r16330
2004-12-25Get rid of the useless & troublesome master_volumeMax Horn
svn-id: r16328
2004-12-22o Fix regression with Mac versionsEugene Sandulenko
o Normalize GIDs and GTypes o Introduce MD5-based game detection. Now only 2 games should be ordered. Linux demo should go before Win32 newer demo o Fix sound in Mac versions svn-id: r16262
2004-12-22o Moved GAME_* to SagaEngine objectEugene Sandulenko
o Renamed GAME_ITE_* to GID_ITE_* o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM svn-id: r16258
2004-12-17actors rearrangement bugfixAndrew Kurushin
svn-id: r16094
2004-12-15Patch #1081904 ITE: MAC demo supportEugene Sandulenko
o Endianness-aware resource loading o Removed ys_dl_list in favor of our object implementation o Cleanup in actor code o Partial support for ITE Mac rereleased demo svn-id: r16051
2004-11-27AudioStream::read() has been removed quite some time ago, now making sure ↵Max Horn
that change is reflected everywhere svn-id: r15911
2004-11-26After listening to some of the IHNM music from both the FM and GM musicTorbjörn Andersson
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-21But surely we should still call setGM(true) in the GM case, right...?Torbjörn Andersson
svn-id: r15854
2004-11-21o Removed astray debug output.Eugene Sandulenko
o MT-32 music is correct, though Adlib is not. There is apparently custom instrument remapping similiar to mt32->gm but it is different. With that remapping it sounds much closer to original. svn-id: r15850
2004-11-20I'm told that the FM music file sounds terrible with MT-32 and that theTorbjörn Andersson
MT-32 is perfectly capable of playing General MIDI. My new guess is that the FM file is for Adlib instead. It certainly sounds better - but quite different - than playing the GM track through Adlib. svn-id: r15846
2004-11-19Added music to the partial IHNM intro. I think I picked the correct tune,Torbjörn Andersson
but I can't be absolutely sure. I'm also not sure if I'm using the correct music data. I'm fairly sure that the MUSICGM.RES file is the appropriate choice for "General MIDI", but I have no way of verifying that the MUSICFM.RES is really the right choice for MT-32. (Is either of them a good choice for Adlib, or are they both equally bad?) svn-id: r15831
2004-11-15o Make GAME_GetFileContext() more object-likeEugene Sandulenko
o Font::loadFont() now normally survives zero-length fonts as used in demos o Removed unused SndRes::ITEVOC_Resample() o Fixed playing of voice #4 on old DOS targets o Implemented playing voices in VOX (Oki ADPCM) format o Support of Win32 and Linux demos. There was old-style Win32 demo, which is not supported yet, same is with DOS demo. svn-id: r15814
2004-11-03Whitespace fixTorbjörn Andersson
svn-id: r15710
2004-10-27removed R_ prefix with few r_ tooPaweł Kołodziejski
svn-id: r15690
2004-10-22Properly nitialize _passThrough variable.Eugene Sandulenko
svn-id: r15658
2004-10-21Better support of MT-32.Eugene Sandulenko
svn-id: r15636
2004-10-16Oops, forgot to remove these lines. Now all three forms of music (XMIDI,Torbjörn Andersson
MIDI and digitized music) use the same method to decide whether or not to loop. svn-id: r15566