#ifndef MAIN_HEADER
#define MAIN_HEADER
-#include "irrlichtwrapper.h"
-
// Settings
-extern Settings g_settings;
+class Settings;
+extern Settings *g_settings;
+
+// This makes and maps textures
+class ITextureSource;
+extern ITextureSource *g_texturesource;
-// A thread safe wrapper to irrlicht
-// On a server build, this is always NULL.
-extern IrrlichtWrapper *g_irrlicht;
+// Global profiler
+class Profiler;
+extern Profiler *g_profiler;
// Debug streams