Rename AppComponent classes (AppEntitySystemComponent => EntitySystemAppComponent)
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/AppEntitySystemComponent.hpp>
|
||||
#include <Nazara/Core/EntitySystemAppComponent.hpp>
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
void AppEntitySystemComponent::Update(Time elapsedTime)
|
||||
void EntitySystemAppComponent::Update(Time elapsedTime)
|
||||
{
|
||||
for (auto& worldPtr : m_worlds)
|
||||
worldPtr->Update(elapsedTime);
|
||||
@@ -2,18 +2,18 @@
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/AppFilesystemComponent.hpp>
|
||||
#include <Nazara/Core/FilesystemAppComponent.hpp>
|
||||
#include <Nazara/Core/VirtualDirectoryFilesystemResolver.hpp>
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
const VirtualDirectoryPtr& AppFilesystemComponent::Mount(std::string_view name, std::filesystem::path filepath)
|
||||
const VirtualDirectoryPtr& FilesystemAppComponent::Mount(std::string_view name, std::filesystem::path filepath)
|
||||
{
|
||||
return Mount(name, std::make_shared<VirtualDirectory>(std::make_shared<VirtualDirectoryFilesystemResolver>(std::move(filepath))));
|
||||
}
|
||||
|
||||
const VirtualDirectoryPtr& AppFilesystemComponent::Mount(std::string_view name, VirtualDirectoryPtr directory)
|
||||
const VirtualDirectoryPtr& FilesystemAppComponent::Mount(std::string_view name, VirtualDirectoryPtr directory)
|
||||
{
|
||||
if (name.empty())
|
||||
{
|
||||
@@ -27,7 +27,7 @@ namespace Nz
|
||||
return m_rootDirectory->StoreDirectory(name, std::move(directory)).directory;
|
||||
}
|
||||
|
||||
void AppFilesystemComponent::MountDefaultDirectories()
|
||||
void FilesystemAppComponent::MountDefaultDirectories()
|
||||
{
|
||||
m_rootDirectory = std::make_shared<VirtualDirectory>(std::make_shared<VirtualDirectoryFilesystemResolver>(std::filesystem::current_path()));
|
||||
}
|
||||
@@ -3,9 +3,9 @@
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Graphics/Graphics.hpp>
|
||||
#include <Nazara/Core/AppFilesystemComponent.hpp>
|
||||
#include <Nazara/Core/CommandLineParameters.hpp>
|
||||
#include <Nazara/Core/EnvironmentVariables.hpp>
|
||||
#include <Nazara/Core/FilesystemAppComponent.hpp>
|
||||
#include <Nazara/Graphics/DebugDrawPipelinePass.hpp>
|
||||
#include <Nazara/Graphics/DepthPipelinePass.hpp>
|
||||
#include <Nazara/Graphics/ForwardPipelinePass.hpp>
|
||||
@@ -205,7 +205,7 @@ namespace Nz
|
||||
m_defaultTextures = DefaultTextures{};
|
||||
}
|
||||
|
||||
void Graphics::RegisterComponent(AppFilesystemComponent& component)
|
||||
void Graphics::RegisterComponent(FilesystemAppComponent& component)
|
||||
{
|
||||
TextureParams defaultTexParams;
|
||||
defaultTexParams.renderDevice = m_renderDevice;
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
// This file is part of the "Nazara Engine - Platform module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Platform/AppWindowingComponent.hpp>
|
||||
#include <Nazara/Platform/WindowingAppComponent.hpp>
|
||||
#include <Nazara/Core/ApplicationBase.hpp>
|
||||
#include <Nazara/Platform/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
void AppWindowingComponent::Update(Time /*elapsedTime*/)
|
||||
void WindowingAppComponent::Update(Time /*elapsedTime*/)
|
||||
{
|
||||
Window::ProcessEvents();
|
||||
|
||||
Reference in New Issue
Block a user