aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2010-01-02SCI/new sound code: disabled some unused code and named a previously unknown ↵Filippos Karapetis
variable of the sound channel data svn-id: r46872
2010-01-02Changed wording from "handle" to "sound", as we're dealing with sound ↵Filippos Karapetis
objects, not handles. Also, made the warnings thrown when a slot couldn't be found more verbose. Finally, changed the logic of when warnings should be thrown in cmdSetSoundLoop svn-id: r46871
2010-01-02SCI/new music code: Fixed some mutex-related issuesFilippos Karapetis
svn-id: r46869
2010-01-01SCI: Adlib: Fix bug in master volume handling.Walter van Niftrik
svn-id: r46865
2010-01-01SCI: Fix segfault in dual-language KQ5.Walter van Niftrik
svn-id: r46864
2010-01-01SCI/newmusic: removed TODOMartin Kiewitz
svn-id: r46858
2010-01-01SCI/newmusic: changed setting volume from fade logic, implemented updating ↵Martin Kiewitz
loop selector for sound fx svn-id: r46856
2010-01-01SCI: fix buildMartin Kiewitz
svn-id: r46854
2010-01-01SCI/newmusic: changed fade volume setting for digital fx to onTimer() again, ↵Martin Kiewitz
because setting it in updateCues() wont work right. We are processing fading effectively in there any way, added TODO for working approach svn-id: r46853
2010-01-01SCI: kDoAudio now also clips volume and adjusts to mixer volumeMartin Kiewitz
svn-id: r46852
2010-01-01SCI/newmusic: now clips volume against MUSIC_VOLUME_MAX (127) instead of the ↵Martin Kiewitz
mixer max volume (which would be wrong of course), adjusts volume when setting sample channel volume svn-id: r46850
2010-01-01SCI: volume for sci0 now set to 127, now using constant instead of valueMartin Kiewitz
svn-id: r46849
2010-01-01SCI: Added TODO within kDoAudioMartin Kiewitz
svn-id: r46847
2010-01-01SCI: fixing bad sorting of saved games due MMDDYYYY date savingMartin Kiewitz
svn-id: r46846
2010-01-01SCI/new music code: The MIDI driver is now reset whenever the game's VM ↵Filippos Karapetis
respawns, like what the old music code does. Fixes the MIDI music in KQ5CD, Lonbgow and perhaps others svn-id: r46843
2010-01-01SCI/newmusic: set speech soundtype for audio resources played by kDoSound, ↵Martin Kiewitz
cmdVolume is supposed to set music and sfx volume only - this whole fixes volume issues in lb2cd and others svn-id: r46842
2010-01-01SCI/newmusic: adding debug output to setVolumeMartin Kiewitz
svn-id: r46841
2010-01-01SCI/new music code: Center pitch wheel when unloading music tracksFilippos Karapetis
svn-id: r46840
2010-01-01Fixed KQ5CD (regression from rev. 46656)Filippos Karapetis
svn-id: r46839
2010-01-01Fixed broken savegames when saving with the new music codeFilippos Karapetis
svn-id: r46837
2010-01-01SCI: syncing loop selector... again... fixes qfg1 ending... again... now ↵Martin Kiewitz
sci0 only svn-id: r46835
2010-01-01SCI/new music code: Moved processing of digital sound effects outside the ↵Filippos Karapetis
MIDI worker thread. Some cleanup svn-id: r46834
2010-01-01Added a comment for the reason updateSci0Cues() is called within kAnimate()Filippos Karapetis
svn-id: r46833
2010-01-01SCI/newmusic: doing version check before looking for audio resourceMartin Kiewitz
svn-id: r46831
2010-01-01SCI/newmusic: better solution for volume - using int16 during fade, volume ↵Martin Kiewitz
is now byte again svn-id: r46829
2010-01-01SCI: changing volume to int16 again, fixes fadeOut of music and samplesMartin Kiewitz
svn-id: r46828
2010-01-01SCI: fixing saved game compatibilityMartin Kiewitz
svn-id: r46827
2010-01-01SCI/newmusic: added fade and loop capability to samples (looping doesnt work ↵Martin Kiewitz
yet), fixes lsl1 doll inflation endless loop svn-id: r46820
2010-01-01SCI: implement kFOpen (OPEN_OR_CREATE), makes it possible to save character ↵Martin Kiewitz
data at the end of qfg1ega svn-id: r46814
2010-01-01SCI: switch to previous gameid, when importing character data in qfg seriesMartin Kiewitz
svn-id: r46813
2010-01-01SCI/new music code:Filippos Karapetis
- Resolved a deadlock with the mixer, and added appropriate mutexes (a result of the fact that SCI mixes MIDI and digital audio in the same list) - Fixed sound playing when loading games, by properly resetting the MIDI driver - Reverted savegame version to 14 - the changes in versions 15 and 16 don't have any effect on the currently enabled old music code, and the new music code is disabled by default, and is still prone to changes - Now saving/loading signal, loop and hold for each sound, as well as reverb - Added stub code for setting reverb and channel hold - The signal, loop and hold values of each song are cached, like in SSCI and like what happens in Greg's SCI implementation. This allows a clear separation of the engine code from the rest of the engine. Reverted commits 46792 and 46797 - Removed duplicate song list accessing code - Song cues are now updated in kAnimate for SCI0, like the old music code does, to compensate for the fact that SCI0 didn't poll for music changes via cmdUpdateCues, like what SCI01 and newer do - Cleanup svn-id: r46812
2009-12-31SCI: kFileIO findFirst/findNext returns only game-specific prefixed filesMartin Kiewitz
svn-id: r46811
2009-12-31Minor additions: added full keypad support to GUI and SCIYotam Barnoy
svn-id: r46808
2009-12-31SCI: fixed typo in unwrapFilenameMartin Kiewitz
svn-id: r46807
2009-12-31SCI: keyboard change cleanup, fixed Ctrl and Alt related keys on foreign ↵Martin Kiewitz
keyboards as well svn-id: r46803
2009-12-31SCI: keyboard events now dont use scancode anymore, fixing compatibility ↵Martin Kiewitz
with foreign keyboard layouts (needs testing, cleanup will follow shortly after) svn-id: r46801
2009-12-31Changed kValidPath() to always return true, regardless of the value of ↵Filippos Karapetis
savePath (so that it works with both SCI11 and SCI32 games) svn-id: r46800
2009-12-31SCI/new music: trigger signal when fade is completed, fixes lsl1 dance with girlMartin Kiewitz
svn-id: r46798
2009-12-31Mention the fact that we derive from SSCI by not caching the loop selectorFilippos Karapetis
svn-id: r46797
2009-12-31SCI/new music code: removed some hacksFilippos Karapetis
svn-id: r46793
2009-12-31SCI/new music code: The loop selector for each music score is no longer ↵Filippos Karapetis
cached, but read directly from the sound object svn-id: r46792
2009-12-31SCI/new music code: Slight cleanupFilippos Karapetis
svn-id: r46791
2009-12-31kLocalToGlobal has a 'Plane' variant in SCI32 like its kGlobalToLocal ↵Matthew Hoops
sibling. The restore menu is now slightly navigatable. svn-id: r46790
2009-12-31Overload the = operator for SciArray which fixes the setType errors in GK1. ↵Matthew Hoops
Some other cleanup too. GK1 can now access the restore menu and get a bit further in the game (until a segfault in the Decompressor code). svn-id: r46789
2009-12-30SCI/newmusic: cmdSendMidi / removed weird midiCmd code - fixes lsl5 des ↵Martin Kiewitz
revers records piano session svn-id: r46783
2009-12-30Rename Common::Stream::readLine_NEW to readLineMax Horn
svn-id: r46779
2009-12-30SCI: palette merging / comment additionMartin Kiewitz
svn-id: r46776
2009-12-30SCI: fix palette merging (fixes lsl1demo right at the beginning and sq5 ↵Martin Kiewitz
wilco on title screen) svn-id: r46775
2009-12-30SCI/newmusic: fix loop logicMartin Kiewitz
svn-id: r46774
2009-12-30SCI/newmusic: update loop selector when track is finished (fixes hq1 ending, ↵Martin Kiewitz
letting one save the character data for qfg2) svn-id: r46769