Commit graph

29 commits

Author SHA1 Message Date
Martin Kiewitz
3f601f15bf SCI: changing comment slightly about setting signal selector in stopSound for SCI0
svn-id: r48806
2010-04-26 14:13:38 +00:00
Martin Kiewitz
98ae0f8218 SCI: also set signal selector when stopping sounds for SCI0 as well - fixes sq3 freeing 2 guys from andromeda endless loop
svn-id: r48805
2010-04-26 14:11:30 +00:00
Max Horn
975dbef0e5 SCI: Remove sound/audio.h include from engine/state.h
svn-id: r48063
2010-02-15 00:20:53 +00:00
Max Horn
06021f79ac SCI: Fix compiling with USE_OLD_MUSIC_FUNCTIONS enabled
svn-id: r48051
2010-02-13 17:46:05 +00:00
Max Horn
ac4d325e0d SCI: Add global g_sci pointer to the active SciEngine instance
svn-id: r48046
2010-02-13 17:42:49 +00:00
Max Horn
f86618f92b SCI: Add a 'SELECTOR' macro
svn-id: r47918
2010-02-05 22:55:18 +00:00
Willem Jan Palenstijn
06bd17ee71 SCI: Remove extra '\n's in debugC messages
svn-id: r47707
2010-01-30 11:59:05 +00:00
Filippos Karapetis
85517515a7 Reverting incorrect rev. 47675. The actual problem was that SCI0 doesn't clear a song's handle when stopping it, but when disposing it. Hopefully, a lot of the SCI0 sound oddities are fixed now...
svn-id: r47678
2010-01-29 19:02:13 +00:00
Filippos Karapetis
ddda7d12bd Wording
svn-id: r47676
2010-01-29 17:47:17 +00:00
Filippos Karapetis
be293572d2 Don't modify the objects of sound slots that are already stopped, as the associated objects could have been disposed. Fixes odd crashes in SQ3
svn-id: r47675
2010-01-29 17:45:30 +00:00
Max Horn
4ffec28103 SCI: Move selector stuff to new header; reorder k_argc & k_argp param of invoke_selector
svn-id: r47665
2010-01-29 11:03:54 +00:00
Filippos Karapetis
76ff84a62f Fixed the demo version of Longbow - speech was not played at all with the new sound code
svn-id: r47610
2010-01-27 21:11:24 +00:00
Filippos Karapetis
46a05ce332 Fixed loading of old saved games
svn-id: r47576
2010-01-26 22:04:33 +00:00
Walter van Niftrik
9861b04b93 SCI: Add driver for Yamaha FB-01. Cleanup.
svn-id: r47571
2010-01-26 19:25:33 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Filippos Karapetis
d6e0276119 Added song manipulation debug commands: songinfo, startsound, togglesound and stopallsounds. is_sample now works with the new sound code
svn-id: r47475
2010-01-23 14:39:03 +00:00
Filippos Karapetis
93a8b469c0 - Fixed pausing of all sounds in the playlist
- Sounds are now paused correctly when opening/closing the debug console
- Some cleanup

svn-id: r47422
2010-01-21 21:28:32 +00:00
Filippos Karapetis
f0e6c3f142 - Removed the resetDriver() hack. The reason why notes stopped being played sometimes was actually mixer->stopAll(), which stopped the music stream as well (spotted by waltervn)
- Hooked setReverb() to actually set music reverb

svn-id: r47392
2010-01-19 20:02:17 +00:00
Martin Kiewitz
bab35a3991 SCI: dont set dataInc selector inside updateCues when dataInc is not available
svn-id: r47362
2010-01-18 22:39:56 +00:00
Walter van Niftrik
b59eebfea8 SCI: DoSound: when setting volume return previous value, fixes KQ6CD intro.
svn-id: r47292
2010-01-13 17:34:42 +00:00
Johannes Schickel
36444740b3 Fix some memory leaks caused by never deleting the objects inside SoundCommandParser::_soundCommands.
svn-id: r47274
2010-01-12 20:08:17 +00:00
Martin Kiewitz
73bacd5d3a SCI: deleting _music in destructor
svn-id: r47268
2010-01-12 18:40:43 +00:00
Walter van Niftrik
1a570df5dc SCI: Handle master volume inside music drivers
svn-id: r47261
2010-01-12 00:51:37 +00:00
Filippos Karapetis
70694f9858 New music code: Implemented sound stopping after fading, and disabled MIDI sound volume fading, till we figure out what's wrong with fading in the Sierra logo screen in GK1
svn-id: r47252
2010-01-11 14:26:13 +00:00
Martin Kiewitz
8ba776913d SCI: fixing sq3 again (state selector wasnt updated anymore)
svn-id: r47174
2010-01-08 20:25:42 +00:00
Martin Kiewitz
25226cdc23 SCI: updateCues() cleanup
svn-id: r47172
2010-01-08 20:11:27 +00:00
Johannes Schickel
20a43c638c Premiliary adaption of SCI to use LoopingAudioStream. (This could really need some cleanup...)
svn-id: r47136
2010-01-07 17:45:17 +00:00
Filippos Karapetis
3b8512b104 Cleanup, fixed fading of digital sound effects
svn-id: r47023
2010-01-05 10:28:09 +00:00
Filippos Karapetis
84cd8d2dc7 Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purpose
svn-id: r47007
2010-01-05 01:22:16 +00:00
Renamed from engines/sci/sfx/soundcmd.cpp (Browse further)