Commit Graph
25 Commits
Author SHA1 Message Date
Filippos Karapetis 03bfd881a1 CHEWY: Properly handle video series with embedded music - bug #13672 2022-07-10 15:25:20 +03:00
Coen Rampen 6b9787bcc4 CHEWY: Fix SFX repeats 2022-07-08 16:28:52 +02:00
Coen Rampen b31de33545 CHEWY: Fix cutscene volume and panning
This commit fixes the initial volume and panning for SFX and music in
cutscenes. These were set on the sound handle of the previous SFX or music
track played, which would not affect the new sound.
2022-07-03 21:26:22 +02:00
Coen Rampen 8b174bfed6 CHEWY: Fix sound volume and panning
This commit fixes the initial panning for speech and scripted SFX. These were
set on the sound handle of the previous speech or SFX sample, which would not
affect the new sample.
2022-07-02 22:13:41 +02:00
Coen Rampen e667376511 CHEWY: Fix intro music
playIntroSequence would not set the playVideo stopMusic parameter to false,
so the music would be immediately stopped. Also, the CfoVideoTrack destructor
would stop all mixer channels, including the music. This would cause the music
to stop at the end of each video. This is replaced by a call to stopAllSounds,
and stopMusic is only called when the music is in the video data.
This commit also fixes an issue where playing a sound on a channel where a
sound was already active would not stop the old sound, but replace the sound
handle with a new one. The old sound could then no longer be accessed by the
sound class.
2022-06-18 20:28:12 +02:00
Filippos Karapetis ca5d653810 CHEWY: Don't wait forever for the music to end while playing videos 2022-06-14 01:22:26 +03:00
Filippos Karapetis ff23832042 CHEWY: Refactor room music code 2022-06-13 14:37:21 +03:00
Filippos Karapetis e52de4f25a CHEWY: Remove redundant qualifiers 2022-05-20 21:58:35 +03:00
Filippos Karapetis 56f53b8191 CHEWY: Merge the screen drawing code and cleanup defines 2022-04-11 23:28:31 +03:00
Filippos Karapetis e6326bfcc1 CHEWY: Hook up the new music player code (still WIP)
This is still not finished, but the original music playing code is
broken at the moment, so no music could be heard anyway
2022-03-23 00:28:37 +02:00
Filippos Karapetis 35515585df CHEWY: Switch to the new video code
This simplifies the video code significantly and allows us to
remove the old video code
2022-03-05 17:26:29 +02:00
Filippos Karapetis 666f5318ed CHEWY: Fix palette in new video code and hook it in a console command
Also fix a crash in videos with music
2022-03-03 18:36:06 -08:00
Filippos Karapetis 6aaa8ceaa6 CHEWY: Use the new sound code
This removes a lot of the stubbed voice and sound functions.
The custom music format code hasn't been updated yet
2022-03-03 18:36:06 -08:00
Paul Gilbert 62671f9bf2 CHEWY: Properly translate palettes when setting them 2022-03-03 18:34:58 -08:00
Eugene Sandulenko 165ea7c29f CHEWY: Initial commit 2022-03-03 18:34:39 -08:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis 684cbfa2fd CHEWY: Add support for palette fadeout to videos 2016-10-10 04:42:06 +03:00
Filippos Karapetis 0a4c1eeca1 CHEWY: Move all sound functions into sound.* 2016-10-09 23:38:39 +03:00
Filippos Karapetis cf7c010d47 CHEWY: Use new instead of malloc() in the CFO video decoder
Thanks to wjp for noticing this
2016-10-07 03:12:00 +03:00
Filippos Karapetis 9e5b745a12 CHEWY: Process events while waiting for video music to end 2016-10-03 01:44:46 +03:00
Filippos Karapetis b394b1b687 CHEWY: Fix compilation 2016-10-03 01:10:49 +03:00
Filippos Karapetis 93a83a6b86 CHEWY: Add an event manager, and get rid of g_engine 2016-10-03 00:34:14 +03:00
Filippos Karapetis 1de9019665 CHEWY: Remove some unused CFO video custom sub chunks 2016-10-03 00:34:01 +03:00
Filippos Karapetis 7234574370 CHEWY: Add support for sound effects in videos 2016-10-03 00:33:57 +03:00
Filippos Karapetis 0152b7c47f CHEWY: Add initial video (CFO) player
The game's videos are modified FLICs. There are some changes needed
to our FLIC decoder, which are included in a separate commit
2016-10-03 00:33:45 +03:00