]> git.lizzy.rs Git - minetest.git/blobdiff - src/main.h
Fix client profiler print interval
[minetest.git] / src / main.h
index b951ab5b04440c6453d9f8f82a66567778c5d9e8..081029dd5c158f377417a743b07749b5ccf0871d 100644 (file)
@@ -21,19 +21,17 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #define MAIN_HEADER
 
 // Settings
-#include "utility.h"
-extern Settings g_settings;
-
-// A thread safe wrapper to irrlicht
-// On a server build, this is always NULL.
-// TODO: Remove this
-#include "irrlichtwrapper.h"
-extern IrrlichtWrapper *g_irrlicht;
+class Settings;
+extern Settings *g_settings;
 
 // This makes and maps textures
-#include "tile.h"
+class ITextureSource;
 extern ITextureSource *g_texturesource;
 
+// Global profiler
+class Profiler;
+extern Profiler *g_profiler;
+
 // Debug streams
 
 #include <fstream>