aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-05-23 00:12:24 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-05-23 00:12:24 +0300
commite1a2b8f600ff9845ecff0f06c85d4d2c29970414 (patch)
tree6b948bf2bb238232f2d6faea84b70bafb8eaae89 /src/main.h
parent4a6b9a6ac1b07239474bce8d3ebf772ce75e862e (diff)
parenta8a3271470299820c5322523dc439415bc1ff8a0 (diff)
downloadminetest-e1a2b8f600ff9845ecff0f06c85d4d2c29970414.tar.gz
minetest-e1a2b8f600ff9845ecff0f06c85d4d2c29970414.tar.bz2
minetest-e1a2b8f600ff9845ecff0f06c85d4d2c29970414.zip
merged password change menu
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h7
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;
};