]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/guiPauseMenu.h
Add propper client initialization
[dragonfireclient.git] / src / guiPauseMenu.h
index 4b15fc74fc1f6c28577b27c268db516952db14b7..2808c93b158b86af9e9e6eaa45dfc913b81e98e6 100644 (file)
@@ -1,6 +1,6 @@
 /*
-Minetest-c55
-Copyright (C) 2010 celeron55, Perttu Ahola <celeron55@gmail.com>
+Minetest
+Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -29,6 +29,7 @@ class IGameCallback
        virtual void exitToOS() = 0;
        virtual void disconnect() = 0;
        virtual void changePassword() = 0;
+       virtual void changeVolume() = 0;
 };
 
 class GUIPauseMenu : public GUIModalMenu
@@ -50,7 +51,9 @@ class GUIPauseMenu : public GUIModalMenu
        void drawMenu();
 
        bool OnEvent(const SEvent& event);
-       
+
+       bool pausesGame(){ return true; }
+
 private:
        IGameCallback *m_gamecallback;
        bool m_simple_singleplayer_mode;