-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into update-steamaudio
- Loading branch information
Showing
17 changed files
with
299 additions
and
159 deletions.
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
Submodule MetaHookSv
updated
4 files
+1 −1 | Plugins/Renderer/exportfuncs.cpp | |
+323 −31 | Plugins/Renderer/gl_hooks.cpp | |
+1 −0 | Plugins/Renderer/ref_int_internal.h | |
+68 −29 | metahook.cpp |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#pragma once | ||
|
||
#include "Enums/XFiWorkaround.hpp" | ||
#include "Enums/OccluderType.hpp" | ||
|
||
namespace MetaAudio | ||
{ | ||
class SettingsManager final | ||
{ | ||
public: | ||
void Init(const cl_enginefunc_t& engFuncs); | ||
|
||
bool NoSound(); | ||
|
||
bool OcclusionEnabled(); | ||
bool OcclusionFade(); | ||
|
||
bool ReverbEnabled(); | ||
size_t ReverbType(); | ||
size_t ReverbUnderwaterType(); | ||
|
||
bool SoundShow(); | ||
|
||
float DopplerFactor(); | ||
|
||
float Volume(); | ||
|
||
OccluderType Occluder(); | ||
|
||
XFiWorkaround XfiWorkaround(); | ||
}; | ||
} | ||
|
||
#ifndef _METAAUDIO_SETTINGS_MANAGER_ | ||
#define _METAAUDIO_SETTINGS_MANAGER_ | ||
extern MetaAudio::SettingsManager settings; | ||
#endif |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#pragma once | ||
|
||
namespace MetaAudio | ||
{ | ||
enum class OccluderType | ||
{ | ||
GoldSrc, | ||
SteamAudio | ||
}; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#pragma once | ||
|
||
namespace MetaAudio | ||
{ | ||
enum class XFiWorkaround | ||
{ | ||
Disabled, | ||
Timer, | ||
Streaming | ||
}; | ||
} |
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
Oops, something went wrong.