Paul Gilbert
a6f42ad1ab
AGS: Fixing various "unused va/arg" warnings + removed empty funcs
...
From upstream 61771ecd638338806c40d0da2bf1addea06cac90
2022-04-25 21:44:40 -07:00
Paul Gilbert
70d620c07a
AGS: Support freely switching voice-over pack at runtime
...
From upstream 40b6fff14ac404185b822245bc1a3ba4af928a12
2022-03-27 19:14:55 -07:00
Paul Gilbert
8e310c5d98
AGS: Split GameState::want_speech into two variables for easier handling
...
From upstream 2f6e7362f742c59020fc6a70fdf67c5a87ff2e69
2022-03-27 19:14:55 -07:00
Paul Gilbert
9e68fb7852
AGS: Fixed snprintf in PlayMP3File()
...
From upstream c31549be0efabafe7c63e5d51f2b19bd7ccff9d0
2022-03-19 21:25:09 -07:00
Paul Gilbert
16b89bd8ea
AGS: tidy SOUNDCLIP's fields (volume, panning) and methods
...
From upstream 66514167d3463f8191b10ec13898df136e8e33ee
2022-03-19 21:25:08 -07:00
Paul Gilbert
699a72af3b
AGS: Removed redundant sound destroy calls
...
From upstream c8bedc8838635381fc186c9f54e8789a8c276063
2022-03-19 21:25:08 -07:00
Paul Gilbert
a4bf82bd35
AGS: Removed "volume" param out of load clip factory functions
...
From upstream 903c4d7d69bf0400447b099cbd0b2818f3c1f7c7
2022-03-19 21:25:08 -07:00
Paul Gilbert
c25b08448d
AGS: Removed AudioChannelsLock as it's no longer needed
...
From upstream 43f9320f66bb881920e6f812d1c642e793b134b6
2022-03-18 21:29:56 -07:00
Paul Gilbert
ee311d660f
AGS: Make game audiochannels limit defined by a game version
...
From upstream 65f0b843dfd85967135eca1bda46976aa1ddcf26
2022-03-17 21:49:25 -07:00
Paul Gilbert
3167bac67b
AGS: More clear use of the "max channels" constants
...
From upstream 2fd582a2a5fc9d38643277903854a977f8995e07
2022-03-17 21:49:25 -07:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
a386075217
AGS: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Paul Gilbert
7e7ac21f06
AGS: Delay starting sound playback until a channel is set
...
In AGS, setting the channel for music, sfx, or voice
frequently happens after the call to play has already been done.
This poses a problem for ScummVM, since I need the sound type
directly for the playStream call. And it's not feasible to
refactor everywhere that plays a clip to set the channel first.
With this change, any play call sets a flag, and defers calling
playStream until the channel is set. Hopefully there aren't
any places that call play without setting the channel before/after.
2021-08-28 12:18:02 -07:00
Paul Gilbert
e06bec1f15
AGS: Fix commentary speech in Strangeland
2021-08-21 17:08:10 -07:00
Paul Gilbert
adb44e0336
AGS: Replaced few cases of strcmp with String::Compare and equivs
...
From upstream 69288fb93cbc78fc76eb9212e3e23f504b0d50e1
2021-06-13 21:08:58 -07:00
Paul Gilbert
701396361c
AGS: Import of fresh codebase
2021-06-13 21:08:44 -07:00
Paul Gilbert
ce22f46e8a
AGS: Respect ScummVM volume controls
...
I experimented, but couldn't get the AGS in-game volume
controls to map to the ScummVM volume controls. The reason
being that the games frequently set the volume during their
startup, sometimes multiple times. The best I could do was
set up the different sound types in AGS to use the
Audio::Mixer::SoundType enum, so that any ScummVM volume
control will be respected in addition to the AGS volumes.
2021-04-02 21:18:11 -07:00
Paul Gilbert
3a0a70bc43
AGS: Move more game.cpp globals to Globals
2021-03-10 21:01:11 -08:00
Paul Gilbert
dc019af530
AGS: Move character.cpp globals to Globals
2021-03-08 19:04:35 -08:00
Paul Gilbert
3fb4b083ec
AGS: Move audio globals to Globals
2021-03-07 15:54:11 -08:00
Paul Gilbert
fd5c11f382
AGS: Move debug globals to Globals
2021-03-06 15:11:38 -08:00
Paul Gilbert
94423abaa1
AGS: Move usetup to Globals
2021-03-05 21:36:00 -08:00
Paul Gilbert
8b158629c1
GLOBALS: Move audio.cpp globals to Globals
2021-03-02 18:53:52 -08:00
Paul Gilbert
ef245e2104
AGS: Move thisroom to Globals
2021-02-28 13:27:21 -08:00
Paul Gilbert
334b2a9d48
AGS: Move play to Globals
2021-02-27 15:31:34 -08:00
Paul Gilbert
1a8ae27b58
AGS: Move game & spriteset into Globals
2021-02-26 21:28:53 -08:00
Cameron Cawley
ff276f88ff
AGS: Refactor audio code
2021-02-08 18:03:22 -08:00
Paul Gilbert
6f7c777a21
AGS: Sound cleanup and hookup to ScummVM decoders
...
It isn't perfect.. some of the SOUNDCLIP variables don't do
anything yet. But it at least properly implements playback
of sound now
2021-02-06 16:37:31 -08:00
Paul Gilbert
fe46be9223
AGS: Added engine/ac/ folder
2021-02-06 16:37:31 -08:00
Paul Gilbert
9a78e04039
AGS: Beginnings of engine/ inclusion
2021-02-06 16:37:31 -08:00
Paul Gilbert
a7a9ca0543
AGS: Adding AGS3 namespace to cpp files
2021-02-06 16:37:31 -08:00
Paul Gilbert
d8e471b03c
AGS: Changing Common namespace to Shared
2021-02-06 16:37:31 -08:00
dreammaster
8026e4bb30
AGS: Run astyle formatting
2021-02-06 16:37:31 -08:00
Paul Gilbert
bd6a58d1a1
AGS: Adding ScummVM comment headers
2021-02-06 16:37:31 -08:00
Paul Gilbert
a60d290a08
AGS: Initial addition of engine/ and shared/ folders
2021-02-06 16:37:31 -08:00