Filippos Karapetis
5342a5a403
CHEWY: Fix compilation
2022-07-10 20:07:19 +03:00
Filippos Karapetis
79af8bad9d
CHEWY: Remove the overriden music buffer added for bug #13672
...
The MOD player loads the entirety of a song in memory, so we don't need
to add another music buffer
2022-07-10 20:07:19 +03:00
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
Filippos Karapetis
bf4f67da28
CHEWY: Fix playing game SFX - bugs #13520 , #13633
2022-07-06 17:29:46 +03: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
Filippos Karapetis
17d61a9528
CHEWY: Implement extra music check for the harbor scene - bug #13652
2022-07-03 17:33:14 +03: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
861b8c3555
CHEWY: Fix sound settings
...
This fixes the in-game options screen and synchronizes the sound settings there
with the ScummVM options screen settings.
2022-07-02 22:13:41 +02:00
Filippos Karapetis
6712b35d42
CHEWY: Use the ScummVM volume - bug #13595
...
This avoids having the volume reset on game startup. Also, volume is
no longer stored in saved games
2022-06-20 12:45:19 +03: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
Coen Rampen
d81d6e593e
CHEWY: Fix pops at start of SFX and speech
...
SFX and speech data are actually VOC format without the header. This was not
correctly processed and non-audio data was played as audio, causing popping.
This commit adds a VocStream subclass to handle this variant of the VOC format.
2022-06-18 14:13:32 +02:00
Filippos Karapetis
d26674eb91
CHEWY: More fixes for speech only mode
2022-06-13 17:12:56 +03:00
Filippos Karapetis
ff23832042
CHEWY: Refactor room music code
2022-06-13 14:37:21 +03:00
Coen Rampen
cf5b500874
CHEWY: Move TMF loading code to Stream subclass
...
This commit moves the TMF loading code to a dedicated ProtrackerStream
subclass. This replaces the inefficient parse TMF, convert to MOD, parse MOD
process with directly processing the TMF data. It also allows for setting the
correct stereo panning for the TMF channels.
2022-06-09 17:13:56 +02:00
Coen Rampen
cd0a7d779c
CHEWY: Finish TMF to MOD conversion
...
This finishes the conversion code of the TMF music format to standard MOD.
2022-06-06 21:18:13 +02:00
Filippos Karapetis
e2f77bd643
CHEWY: Refactor the speech and text display logic
2022-04-02 12:22:14 +03:00
Strangerke
f96b146a20
CHEWY: Implement getStereoPos()
2022-03-23 00:31:38 +01: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
9f5721124a
CHEWY: Use the ScummVM config for toggling subs, speech, music and SFX
2022-03-20 13:58:24 +02:00
Filippos Karapetis
b4ddf49c18
CHEWY: Rename spieler -> gameState
2022-03-20 13:58:23 +02:00
Filippos Karapetis
e45531608f
CHEWY: Stop currently playing speech when starting a new one
2022-03-18 02:09:40 +02:00
Strangerke
266b30eb55
CHEWY: More renaming
2022-03-03 18:36:49 -08:00
Paul Gilbert
ccbffc0bd4
CHEWY: Mixed speech & subtitle support for item interactions
2022-03-03 18:36:40 -08:00
Strangerke
e3f5e5ae44
CHEWY: Rename Display enum
2022-03-03 18:36:40 -08:00
Filippos Karapetis
70b1e80bd1
CHEWY: Switch more functions to the new sound code
2022-03-03 18:36:35 -08:00
Paul Gilbert
097a485ea7
CHEWY: Change DISPLAY constants to an enum
2022-03-03 18:36:34 -08:00
Paul Gilbert
e7f5c1341f
CHEWY: Handle mixed speech and subtitles
2022-03-03 18:36:33 -08:00
Paul Gilbert
da6eca635e
CHEWY: Set DISPLAY_BOTH mode when subtitles and speech are both on
2022-03-03 18:36:33 -08:00
Paul Gilbert
9c15eefa80
CHEWY: Further Globals cleanup, renamed file to globals.cpp
2022-03-03 18:36:31 -08:00
Filippos Karapetis
d0db1ee26c
CHEWY: Remove more unused code
2022-03-03 18:36:07 -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
81b17afa4d
CHEWY: Update headers to GPL3
2022-03-03 18:35:19 -08:00
Paul Gilbert
ddd0c298f4
CHEWY: Change mallocs to a wrapper that initializes the memory
2022-03-03 18:35:17 -08:00
Paul Gilbert
006ee720de
CHEWY: Added Chewy namespace back in
2022-03-03 18:34:42 -08:00
Eugene Sandulenko
165ea7c29f
CHEWY: Initial commit
2022-03-03 18:34:39 -08:00
Paul Gilbert
1931420cf0
CHEWY: Removal current engine (almost fully)
2022-03-03 18:34:38 -08:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Eugene Sandulenko
43438fbe13
CHEWY: Plug memory leaks
2016-11-13 16:36:43 +01:00
Filippos Karapetis
a292fcdd93
CHEWY: Fix typo
2016-10-10 04:41:31 +03:00
Filippos Karapetis
bda8a9b92b
CHEWY: Initial work on converting TMF music data back to MOD data
...
This way, we can use our regular Protracker MOD player
2016-10-09 23:39:41 +03:00
Filippos Karapetis
0a4c1eeca1
CHEWY: Move all sound functions into sound.*
2016-10-09 23:38:39 +03:00
Filippos Karapetis
c3a4950c98
CHEWY: Properly dispose audio streams after use
2016-10-07 09:31:16 +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
c6ccd8bbe8
CHEWY: Use a specialized resource handler for each resource
2016-10-03 00:33:29 +03:00
Filippos Karapetis
078cbf0b08
CHEWY: Add a sound player class and use the proper game resolution
...
Currently, speech and sound effects are supported, but the current
music playing implementation is wrong, as the game's music is
encoded in custom MOD-like files. With the current music
implementation, the PCM parts of these files are played
2016-10-03 00:33:21 +03:00