mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Add sound volume controls to ingame menu
This commit is contained in:
@@ -94,6 +94,7 @@ public:
|
||||
MainGameCallback(IrrlichtDevice *a_device):
|
||||
disconnect_requested(false),
|
||||
changepassword_requested(false),
|
||||
changevolume_requested(false),
|
||||
device(a_device)
|
||||
{
|
||||
}
|
||||
@@ -113,8 +114,14 @@ public:
|
||||
changepassword_requested = true;
|
||||
}
|
||||
|
||||
virtual void changeVolume()
|
||||
{
|
||||
changevolume_requested = true;
|
||||
}
|
||||
|
||||
bool disconnect_requested;
|
||||
bool changepassword_requested;
|
||||
bool changevolume_requested;
|
||||
IrrlichtDevice *device;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user