mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 00:49:54 +00:00
27 lines
472 B
C++
27 lines
472 B
C++
|
#ifndef GAME_SOUND_VOLUMESETTINGS_H
|
||
|
#define GAME_SOUND_VOLUMESETTINGS_H
|
||
|
|
||
|
#include "type.hpp"
|
||
|
|
||
|
namespace MWSound
|
||
|
{
|
||
|
class VolumeSettings
|
||
|
{
|
||
|
public:
|
||
|
VolumeSettings();
|
||
|
|
||
|
float getVolumeFromType(Type type) const;
|
||
|
|
||
|
void update();
|
||
|
|
||
|
private:
|
||
|
float mMasterVolume;
|
||
|
float mSFXVolume;
|
||
|
float mMusicVolume;
|
||
|
float mVoiceVolume;
|
||
|
float mFootstepsVolume;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|