diff options
author | kwolekr <mirrorisim@gmail.com> | 2013-02-23 15:58:00 -0800 |
---|---|---|
committer | kwolekr <mirrorisim@gmail.com> | 2013-02-23 15:58:00 -0800 |
commit | 6b9906687b85fcefa28df572d92a3dea3118c0a3 (patch) | |
tree | 8fe4dd06fa56c9ea82eb7c442d25354399745364 /src/mainmenumanager.h | |
parent | bc2e9dbaf2fe31a1aa8282c0ac7c87aee490c75c (diff) | |
parent | 4d73d99ebc848e2065b38672e882f994a1d561f4 (diff) | |
download | minetest-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.h | 7 |
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; }; |