1
0
Fork 0
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:
RealBadAngel 2013-02-23 16:01:35 +01:00
parent f9a8efb992
commit 4d73d99ebc
7 changed files with 268 additions and 1 deletions

View file

@ -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;
};