Add module configurations
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Nz
|
||||
* \brief Audio class that represents the module initializer of Audio
|
||||
*/
|
||||
|
||||
Audio::Audio() :
|
||||
Audio::Audio(Config /*config*/) :
|
||||
ModuleBase("Audio", this)
|
||||
{
|
||||
// Initialisation of OpenAL
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Nz
|
||||
* \brief Core class that represents the Core module
|
||||
*/
|
||||
|
||||
Core::Core() :
|
||||
Core::Core(Config /*config*/) :
|
||||
ModuleBase("Core", this, ModuleBase::NoLog{})
|
||||
{
|
||||
Log::Initialize();
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace Nz
|
||||
* \brief Network class that represents the module initializer of Network
|
||||
*/
|
||||
|
||||
Network::Network() :
|
||||
Network::Network(Config /*config*/) :
|
||||
ModuleBase("Network", this)
|
||||
{
|
||||
// Initialize module here
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
Physics2D::Physics2D() :
|
||||
Physics2D::Physics2D(Config /*config*/) :
|
||||
ModuleBase("Physics2D", this)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
Physics3D::Physics3D() :
|
||||
Physics3D::Physics3D(Config /*config*/) :
|
||||
ModuleBase("Physics3D", this)
|
||||
{
|
||||
if (!Collider3D::Initialize())
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Nz
|
||||
* \brief Platform class that represents the module initializer of Platform
|
||||
*/
|
||||
|
||||
Platform::Platform() :
|
||||
Platform::Platform(Config /*config*/) :
|
||||
ModuleBase("Platform", this)
|
||||
{
|
||||
if (!Window::Initialize())
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
Renderer::Renderer() :
|
||||
Renderer::Renderer(Config /*config*/) :
|
||||
ModuleBase("Renderer", this)
|
||||
{
|
||||
struct RendererImplementations
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
Shader::Shader() :
|
||||
Shader::Shader(Config /*config*/) :
|
||||
ModuleBase("Shader", this)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace Nz
|
||||
* \brief Utility class that represents the module initializer of Utility
|
||||
*/
|
||||
|
||||
Utility::Utility() :
|
||||
Utility::Utility(Config /*config*/) :
|
||||
ModuleBase("Utility", this)
|
||||
{
|
||||
if (!Animation::Initialize())
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Ndk
|
||||
* \brief NDK class that represents the software development kit, a set of tools made to ease the conception of application
|
||||
*/
|
||||
|
||||
Sdk::Sdk() :
|
||||
Sdk::Sdk(Config /*config*/) :
|
||||
ModuleBase("SDK", this)
|
||||
{
|
||||
Nz::ErrorFlags errFlags(Nz::ErrorFlag_ThrowException, true);
|
||||
|
||||
Reference in New Issue
Block a user