Module can now initialize optionnal classes

Former-commit-id: 899007b7879451d15d0808a03b8dfea0cd3413a4
This commit is contained in:
Lynix
2012-12-08 22:21:20 +01:00
parent e8842f1ba8
commit 8376fb38cf
4 changed files with 22 additions and 12 deletions

View File

@@ -16,7 +16,7 @@ class NAZARA_API NzCore
NzCore() = delete;
~NzCore() = delete;
static bool Initialize();
static bool Initialize(bool initializeHardwareInfo = true, bool initializeTaskScheduler = true);
static bool IsInitialized();

View File

@@ -52,7 +52,7 @@ class NAZARA_API NzRenderer
static bool HasCapability(nzRendererCap capability);
static bool Initialize();
static bool Initialize(bool initializeDebugDrawer = false);
static bool IsEnabled(nzRendererParameter parameter);
static bool IsInitialized();