Make sure all neighbors of changed fluids are activated
[oweals/minetest.git] / src / main.h
index c8ac7ccf18c7cf228c6319d67fda7a277107d2a5..b2dee149469e5bbcc84cd94b7debfad7de347322 100644 (file)
@@ -25,9 +25,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 extern Settings g_settings;
 
 // This makes and maps textures
-#include "tile.h"
+class ITextureSource;
 extern ITextureSource *g_texturesource;
 
+// Global profiler
+#include "profiler.h"
+extern Profiler g_profiler;
+
 // Debug streams
 
 #include <fstream>
@@ -119,6 +123,7 @@ class MainGameCallback : public IGameCallback
 public:
        MainGameCallback(IrrlichtDevice *a_device):
                disconnect_requested(false),
+               changepassword_requested(false),
                device(a_device)
        {
        }
@@ -133,7 +138,13 @@ public:
                disconnect_requested = true;
        }
 
+       virtual void changePassword()
+       {
+               changepassword_requested = true;
+       }
+
        bool disconnect_requested;
+       bool changepassword_requested;
        IrrlichtDevice *device;
 };