mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
27 lines
432 B
C++
27 lines
432 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
|