aboutsummaryrefslogtreecommitdiff
path: root/src/mainmenumanager.h
diff options
context:
space:
mode:
authorkwolekr <mirrorisim@gmail.com>2013-02-23 15:58:00 -0800
committerkwolekr <mirrorisim@gmail.com>2013-02-23 15:58:00 -0800
commit6b9906687b85fcefa28df572d92a3dea3118c0a3 (patch)
tree8fe4dd06fa56c9ea82eb7c442d25354399745364 /src/mainmenumanager.h
parentbc2e9dbaf2fe31a1aa8282c0ac7c87aee490c75c (diff)
parent4d73d99ebc848e2065b38672e882f994a1d561f4 (diff)
downloadminetest-6b9906687b85fcefa28df572d92a3dea3118c0a3.tar.gz
minetest-6b9906687b85fcefa28df572d92a3dea3118c0a3.tar.bz2
minetest-6b9906687b85fcefa28df572d92a3dea3118c0a3.zip
Merge pull request #503 from RealBadAngel/master
Add sound volume controls to ingame menu
Diffstat (limited to 'src/mainmenumanager.h')
-rw-r--r--src/mainmenumanager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainmenumanager.h b/src/mainmenumanager.h
index a37a8300f..dc2b287d4 100644
--- a/src/mainmenumanager.h
+++ b/src/mainmenumanager.h
@@ -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;
};