-
-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add setSoundLooped and isSoundLooped functions (#657)
* setSoundLooped & isSoundLooped * Remove whitespaces * Fix isSoundLooped return nil instead false if bad argument * Update Client/mods/deathmatch/logic/luadefs/CLuaAudioDefs.cpp Co-Authored-By: FileEX <alkom@t.pl> * Update Client/mods/deathmatch/logic/luadefs/CLuaAudioDefs.cpp Co-Authored-By: FileEX <alkom@t.pl> * Update Client/mods/deathmatch/logic/luadefs/CLuaAudioDefs.cpp Co-Authored-By: FileEX <alkom@t.pl> * Update SetLooped function Added more sound properties e.g volume,playback speed etc. * Refactored setLooped function * Add SetLooped into header * Added SetLooped function * Update Client/mods/deathmatch/logic/CClientSound.cpp Co-Authored-By: FileEX <alkom@t.pl> * Fix * Update CBassAudio.cpp * Update Client/mods/deathmatch/logic/luadefs/CLuaAudioDefs.cpp Co-Authored-By: FileEX <alkom@t.pl> * Update Client/mods/deathmatch/logic/luadefs/CLuaAudioDefs.cpp Co-Authored-By: FileEX <alkom@t.pl> * Update Client/mods/deathmatch/logic/luadefs/CLuaAudioDefs.cpp Co-Authored-By: FileEX <alkom@t.pl> * Update CBassAudio.cpp * Fix typo * Update CClientSound.h * Update CLuaAudioDefs.cpp * Update CLuaAudioDefs.cpp * Update CClientSound.h * Update CClientSound.cpp * Update CBassAudio.cpp * Update CBassAudio.h * Update CStaticFunctionDefinitions.cpp * Update CLuaAudioDefs.cpp * fix compile * Fix return * return lua error * Fix SetPlayPosition return value * Remove Set/IsSoundLooped from CStaticFunctionDefinitions * Update Client/mods/deathmatch/logic/luadefs/CLuaAudioDefs.cpp * Fix CClientSound::SetLooped return value Co-Authored-By: Qais Patankar <qaisjp@gmail.com> * Don't check pSound and return error * Return false in CBassAudio::SetLooped * Use new Lua argument parser * Fix indentation Co-authored-by: Qais Patankar <qaisjp@gmail.com> Co-authored-by: Marek Kulik <mk.botder@gmail.com> Co-authored-by: Patrik Juvonen <patrik@scope.studio> Co-authored-by: Nikita Obrekht <obrekht@gmail.com> Co-authored-by: patrikjuvonen <22572159+patrikjuvonen@users.noreply.github.com>
- Loading branch information
1 parent
6ace45e
commit 9588301
Showing
6 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters