Re-encoding all files with utf-8;

This commit is contained in:
2025-11-04 13:31:21 +09:00
parent 017153aa02
commit 2612e19d35
178 changed files with 178 additions and 178 deletions

View File

@@ -1,4 +1,4 @@
namespace Ghost.Core.Attributes;
namespace Ghost.Core.Attributes;
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class EngineAssemblyAttribute : Attribute

View File

@@ -1,4 +1,4 @@
namespace Ghost.Core.Contracts;
namespace Ghost.Core.Contracts;
internal interface IReleasable
{

View File

@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>

View File

@@ -1,4 +1,4 @@
namespace Ghost.Core.Graphics;
namespace Ghost.Core.Graphics;
public enum ZTestOptions
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Core.Graphics;
namespace Ghost.Core.Graphics;
/// <summary>
/// The layout of the root signature is:

View File

@@ -1,4 +1,4 @@
namespace Ghost.Core.Graphics;
namespace Ghost.Core.Graphics;
public enum KeywordType
{

View File

@@ -1,4 +1,4 @@
using Ghost.Core.Contracts;
using Ghost.Core.Contracts;
namespace Ghost.Core.Utilities;

View File

@@ -1,4 +1,4 @@
using System.ComponentModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;

View File

@@ -1,4 +1,4 @@
using Ghost.Core.Attributes;
using Ghost.Core.Attributes;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Ghost.Editor")]

View File

@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>

View File

@@ -1,4 +1,4 @@
using Ghost.Data.Models;
using Ghost.Data.Models;
using System.Text.Json.Serialization;
namespace Ghost.Data;

View File

@@ -1,4 +1,4 @@
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ghost.Data.Models;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Data.Models;
namespace Ghost.Data.Models;
public class ProjectMetadata
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Data.Models;
namespace Ghost.Data.Models;
public class TemplateInfo
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Data.Repository;
namespace Ghost.Data.Repository;
internal class AssetsRepository
{

View File

@@ -1,4 +1,4 @@
using Ghost.Data.Models;
using Ghost.Data.Models;
using Ghost.Data.Resources;
using System.Data.SQLite;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Data.Resources;
namespace Ghost.Data.Resources;
public static class AssetsPath
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Data.Resources;
namespace Ghost.Data.Resources;
public class DataPath
{

View File

@@ -1,4 +1,4 @@
using Ghost.Core;
using Ghost.Core;
using Ghost.Data.Models;
using Ghost.Data.Repository;
using Ghost.Data.Resources;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.AppState;
namespace Ghost.Editor.Core.AppState;
internal partial class AppStateMachine : IDisposable, IAsyncDisposable
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.AppState;
namespace Ghost.Editor.Core.AppState;
internal interface IAppState
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.AppState;
namespace Ghost.Editor.Core.AppState;
internal enum StateKey
{

View File

@@ -1,4 +1,4 @@
using Ghost.Core.Attributes;
using Ghost.Core.Attributes;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Ghost.UnitTest")]

View File

@@ -1,4 +1,4 @@
using Ghost.Core;
using Ghost.Core;
using Ghost.Editor.Core.Utilities;
using Ghost.Engine.Services;
using System.Reflection;

View File

@@ -1,4 +1,4 @@
using System.Diagnostics;
using System.Diagnostics;
using System.Reflection;
namespace Ghost.Editor.Core.AssetHandle;

View File

@@ -1,4 +1,4 @@
using Ghost.Data.Services;
using Ghost.Data.Services;
namespace Ghost.Editor.Core.AssetHandle;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.AssetHandle;
namespace Ghost.Editor.Core.AssetHandle;
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class AssetImporterAttribute : Attribute

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.AssetHandle;
namespace Ghost.Editor.Core.AssetHandle;
internal class AssetMeta
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.AssetHandle;
namespace Ghost.Editor.Core.AssetHandle;
[AttributeUsage(AttributeTargets.Method)]
public class AssetOpenHandlerAttribute : Attribute

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.AssetHandle;
namespace Ghost.Editor.Core.AssetHandle;
public abstract class ImporterSettings
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.Contracts;
namespace Ghost.Editor.Core.Contracts;
public interface INavigationAware
{

View File

@@ -1,4 +1,4 @@
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls.Primitives;
using Microsoft.UI.Xaml.Data;

View File

@@ -1,4 +1,4 @@
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml;
namespace Ghost.Editor.Core.Controls;

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.Core.Event;
using Ghost.Editor.Core.Event;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.Event;
namespace Ghost.Editor.Core.Event;
public delegate void ValueChangedEventHandler<T>(object? sender, ValueChangedEventArgs<T> args);

View File

@@ -1,4 +1,4 @@
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls;
namespace Ghost.Editor.Core.Inspector;

View File

@@ -1,4 +1,4 @@
using Ghost.Entities;
using Ghost.Entities;
using Ghost.Entities.Components;
using Ghost.Entities.Query;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.Inspector;
namespace Ghost.Editor.Core.Inspector;
[AttributeUsage(AttributeTargets.Class)]
public class CustomEditorAttribute(Type targetType) : Attribute

View File

@@ -1,4 +1,4 @@
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
namespace Ghost.Editor.Core.Inspector;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.Inspector;
namespace Ghost.Editor.Core.Inspector;
internal interface IInspectorService
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.Inspector;
namespace Ghost.Editor.Core.Inspector;
public class InspectorService : IInspectorService
{

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.WinUI.Behaviors;
using CommunityToolkit.WinUI.Behaviors;
namespace Ghost.Editor.Core.Notifications;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.Notifications;
namespace Ghost.Editor.Core.Notifications;
public enum MessageType
{

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.WinUI.Behaviors;
using CommunityToolkit.WinUI.Behaviors;
using Microsoft.UI.Xaml.Controls;
namespace Ghost.Editor.Core.Notifications;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.Progress;
namespace Ghost.Editor.Core.Progress;
public interface IProgressService
{

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.WinUI;
using CommunityToolkit.WinUI;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using System.Runtime.CompilerServices;

View File

@@ -1,4 +1,4 @@
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls;
namespace Ghost.Editor.Core.Resources;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Core.Resources;
namespace Ghost.Editor.Core.Resources;
internal static class FileExtensions
{

View File

@@ -1,4 +1,4 @@
using System.Reflection;
using System.Reflection;
namespace Ghost.Editor.Core.Resources;

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.Core.Progress;
using Ghost.Editor.Core.Progress;
using Ghost.Editor.Core.Resources;
using Ghost.Editor.Core.Utilities;
using System.Text.Json;

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.Core.Controls.Internal;
using Ghost.Editor.Core.Controls.Internal;
using Ghost.Editor.Core.Inspector;
using Ghost.Editor.Core.Resources;
using Ghost.Engine.Editor;

View File

@@ -1,4 +1,4 @@
using Ghost.Engine.Components;
using Ghost.Engine.Components;
using Ghost.Entities;
namespace Ghost.Editor.Core.SceneGraph;

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using System.Collections.ObjectModel;
namespace Ghost.Editor.Core.SceneGraph;

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.Core.AssetHandle;
using Ghost.Editor.Core.AssetHandle;
using Ghost.Editor.Core.Inspector;
using Ghost.Editor.Core.Resources;
using Ghost.Editor.Core.Serializer;

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.Core.SceneGraph;
using Ghost.Editor.Core.SceneGraph;
using Ghost.Engine.Utilities;
using Ghost.Entities;
using Ghost.Entities.Components;

View File

@@ -1,4 +1,4 @@
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml;
namespace Ghost.Editor.Core.Utilities;

View File

@@ -1,4 +1,4 @@
using Ghost.Core.Attributes;
using Ghost.Core.Attributes;
using System.Reflection;
namespace Ghost.Editor.Core.Utilities;

View File

@@ -1,4 +1,4 @@
using Ghost.Data.Resources;
using Ghost.Data.Resources;
using Ghost.Data.Services;
using Ghost.Editor.Core.Utilities;
using Microsoft.UI.Xaml;

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.Core.AppState;
using Ghost.Editor.Core.AppState;
using Ghost.Editor.Core.Inspector;
using Ghost.Editor.Core.Notifications;
using Ghost.Editor.Core.Progress;

View File

@@ -1,4 +1,4 @@
using Ghost.Core.Attributes;
using Ghost.Core.Attributes;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Ghost.UnitTest")]

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.Core.Inspector;
using Ghost.Editor.Core.Inspector;
using Microsoft.UI.Xaml.Controls;
namespace Ghost.Editor.Components;

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.Core.Controls;
using Ghost.Editor.Core.Controls;
using Ghost.Editor.Core.Inspector;
using Ghost.Engine.Components;
using Ghost.Engine.Utilities;

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using Ghost.Editor.Core.Contracts;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Navigation;

View File

@@ -1,4 +1,4 @@
using Ghost.Data.Models;
using Ghost.Data.Models;
using Ghost.Data.Services;
using Ghost.Editor.Core.AssetHandle;
using Ghost.Editor.View.Windows;

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.View.Windows;
using Ghost.Editor.View.Windows;
namespace Ghost.Editor.Core.AppState;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Editor.Models;
namespace Ghost.Editor.Models;
internal struct AssetItem()
{

View File

@@ -1,4 +1,4 @@
using System.Collections.ObjectModel;
using System.Collections.ObjectModel;
namespace Ghost.Editor.Models;

View File

@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000

View File

@@ -1,4 +1,4 @@
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Data;
namespace Ghost.Editor.Utilities.Converters;

View File

@@ -1,4 +1,4 @@
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Data;
namespace Ghost.Editor.Utilities.Converters;

View File

@@ -1,4 +1,4 @@
using Ghost.Engine.Utilities;
using Ghost.Engine.Utilities;
using Microsoft.UI.Xaml.Data;
using System.Numerics;

View File

@@ -1,4 +1,4 @@
using Ghost.Data.Services;
using Ghost.Data.Services;
using Ghost.Editor.View.Pages.EngineEditor;
using Ghost.Editor.View.Pages.Landing;
using Ghost.Editor.View.Windows;

View File

@@ -1,4 +1,4 @@
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using System.Reflection;

View File

@@ -1,4 +1,4 @@
using Windows.Storage;
using Windows.Storage;
using Windows.Storage.Pickers;
using WinRT.Interop;

View File

@@ -1,4 +1,4 @@
using Ghost.Editor.ViewModels.Pages.Landing;
using Ghost.Editor.ViewModels.Pages.Landing;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Navigation;

View File

@@ -1,4 +1,4 @@
using Ghost.Data.Models;
using Ghost.Data.Models;
using Ghost.Editor.ViewModels.Pages.Landing;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;

View File

@@ -1,4 +1,4 @@
using Ghost.Data.Resources;
using Ghost.Data.Resources;
using Ghost.Editor.Core.Notifications;
using Ghost.Editor.Core.Progress;
using Ghost.Editor.ViewModels.Windows;

View File

@@ -1,4 +1,4 @@
using Ghost.Data.Resources;
using Ghost.Data.Resources;
using Ghost.Editor.Core.Notifications;
using Ghost.Editor.View.Pages.Landing;
using Ghost.Engine.Resources;

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using Ghost.Engine.Models;
using Ghost.Engine.Services;

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using Ghost.Editor.Core.Contracts;
using Ghost.Editor.Core.SceneGraph;
using System.Collections.ObjectModel;

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using Ghost.Editor.Core.Contracts;
using Ghost.Editor.Core.Inspector;

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using Ghost.Data.Services;
using Ghost.Editor.Core.AssetHandle;
using Ghost.Editor.Models;

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using Ghost.Data.Models;
using Ghost.Data.Services;

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using Ghost.Data.Models;
using Ghost.Data.Services;
using Ghost.Editor.Core.AppState;

View File

@@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using Ghost.Data.Models;
using Ghost.Data.Services;
using Ghost.Engine.Resources;

View File

@@ -1,4 +1,4 @@
using Ghost.Engine.Models;
using Ghost.Engine.Models;
namespace Ghost.Engine;

View File

@@ -1,4 +1,4 @@
using Ghost.Core.Attributes;
using Ghost.Core.Attributes;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Ghost.Editor")]

View File

@@ -1,4 +1,4 @@
using Ghost.Engine.Editor;
using Ghost.Engine.Editor;
using Ghost.Entities;
using Ghost.Entities.Components;
using System.Runtime.CompilerServices;

View File

@@ -1,4 +1,4 @@
using Ghost.Engine.Utilities;
using Ghost.Engine.Utilities;
using Ghost.Entities.Components;
using System.Numerics;
using System.Runtime.CompilerServices;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Engine.Editor;
namespace Ghost.Engine.Editor;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
public class HideEditorAttribute : Attribute

View File

@@ -1,4 +1,4 @@
using Ghost.Engine.Models;
using Ghost.Engine.Models;
using Ghost.Engine.Services;
namespace Ghost.Engine;

View File

@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>

View File

@@ -1,4 +1,4 @@
namespace Ghost.Engine.Models;
namespace Ghost.Engine.Models;
internal class LaunchArgument
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Engine.Models;
namespace Ghost.Engine.Models;
public enum LogLevel
{

View File

@@ -1,4 +1,4 @@
namespace Ghost.Engine.Resources;
namespace Ghost.Engine.Resources;
internal class EngineData
{

View File

@@ -1,4 +1,4 @@
using System.Text.Json;
using System.Text.Json;
namespace Ghost.Engine.Resources;

View File

@@ -1,4 +1,4 @@
using Ghost.Engine.Models;
using Ghost.Engine.Models;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;

View File

@@ -1,4 +1,4 @@
using Ghost.Entities;
using Ghost.Entities;
namespace Ghost.Engine.Services;

View File

@@ -1,4 +1,4 @@
namespace Ghost.Engine.Services;
namespace Ghost.Engine.Services;
public enum SceneLoadMode
{

View File

@@ -1,4 +1,4 @@
using System.Runtime.CompilerServices;
using System.Runtime.CompilerServices;
namespace Ghost.Engine.Utilities;

Some files were not shown because too many files have changed in this diff Show More