diff options
author | Ciaran Gultnieks <ciaran@ciarang.com> | 2011-05-22 21:09:12 +0100 |
---|---|---|
committer | Ciaran Gultnieks <ciaran@ciarang.com> | 2011-05-22 21:09:12 +0100 |
commit | a8a3271470299820c5322523dc439415bc1ff8a0 (patch) | |
tree | a397578ce7032efe25298b4c653a3dcebd180579 /src/main.h | |
parent | e0329a3caee863a2302748f710401bfc0dfa78db (diff) | |
download | minetest-a8a3271470299820c5322523dc439415bc1ff8a0.tar.gz minetest-a8a3271470299820c5322523dc439415bc1ff8a0.tar.bz2 minetest-a8a3271470299820c5322523dc439415bc1ff8a0.zip |
Added the ability to change your password (via pause menu)
--HG--
extra : rebase_source : e8ec407f60711d42d33be4811b2880088f617b5b
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index c8ac7ccf1..fcf150f87 100644 --- a/src/main.h +++ b/src/main.h @@ -119,6 +119,7 @@ class MainGameCallback : public IGameCallback public: MainGameCallback(IrrlichtDevice *a_device): disconnect_requested(false), + changepassword_requested(false), device(a_device) { } @@ -133,7 +134,13 @@ public: disconnect_requested = true; } + virtual void changePassword() + { + changepassword_requested = true; + } + bool disconnect_requested; + bool changepassword_requested; IrrlichtDevice *device; }; |