mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Add sound volume controls to ingame menu
This commit is contained in:
parent
f9a8efb992
commit
4d73d99ebc
7 changed files with 268 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue