Rename Module to ModuleBase
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Nz
|
||||
*/
|
||||
|
||||
Audio::Audio() :
|
||||
Module("Audio", this)
|
||||
ModuleBase("Audio", this)
|
||||
{
|
||||
// Initialisation of OpenAL
|
||||
if (!OpenAL::Initialize())
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Nz
|
||||
*/
|
||||
|
||||
Core::Core() :
|
||||
Module("Core", this, Module::NoLog{})
|
||||
ModuleBase("Core", this, ModuleBase::NoLog{})
|
||||
{
|
||||
Log::Initialize();
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Nz
|
||||
*/
|
||||
|
||||
Network::Network() :
|
||||
Module("Network", this)
|
||||
ModuleBase("Network", this)
|
||||
{
|
||||
// Initialize module here
|
||||
if (!SocketImpl::Initialize())
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
namespace Nz
|
||||
{
|
||||
Physics2D::Physics2D() :
|
||||
Module("Physics2D", this)
|
||||
ModuleBase("Physics2D", this)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
namespace Nz
|
||||
{
|
||||
Physics3D::Physics3D() :
|
||||
Module("Physics3D", this)
|
||||
ModuleBase("Physics3D", this)
|
||||
{
|
||||
if (!Collider3D::Initialize())
|
||||
throw std::runtime_error("failed to initialize colliders");
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Nz
|
||||
*/
|
||||
|
||||
Platform::Platform() :
|
||||
Module("Platform", this)
|
||||
ModuleBase("Platform", this)
|
||||
{
|
||||
if (!Window::Initialize())
|
||||
throw std::runtime_error("failed to initialize window system");
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
namespace Nz
|
||||
{
|
||||
Renderer::Renderer() :
|
||||
Module("Renderer", this)
|
||||
ModuleBase("Renderer", this)
|
||||
{
|
||||
struct RendererImplementations
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
namespace Nz
|
||||
{
|
||||
Shader::Shader() :
|
||||
Module("Shader", this)
|
||||
ModuleBase("Shader", this)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace Nz
|
||||
*/
|
||||
|
||||
Utility::Utility() :
|
||||
Module("Utility", this)
|
||||
ModuleBase("Utility", this)
|
||||
{
|
||||
if (!Animation::Initialize())
|
||||
throw std::runtime_error("failed to initialize animations");
|
||||
|
||||
Reference in New Issue
Block a user