Fix encoding.

This commit is contained in:
2023-03-26 23:25:20 +08:00
Unverified
parent aafc326f95
commit 824f401b77
203 changed files with 227 additions and 224 deletions

View File

@@ -1,6 +1,9 @@
# Remove the line below if you want to inherit .editorconfig settings from higher directories # Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true root = true
[*]
charset = utf-8
# C# files # C# files
[*.cs] [*.cs]

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common { namespace Cryville.Common {
/// <summary> /// <summary>

View File

@@ -1,4 +1,4 @@
namespace Cryville.Common.Buffers { namespace Cryville.Common.Buffers {
/// <summary> /// <summary>
/// A resource pool that allows reusing instances of arrays of type <typeparamref name="T" />. /// A resource pool that allows reusing instances of arrays of type <typeparamref name="T" />.
/// </summary> /// </summary>

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Cryville.Common.Buffers { namespace Cryville.Common.Buffers {
/// <summary> /// <summary>

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Cryville.Common.Buffers { namespace Cryville.Common.Buffers {
/// <summary> /// <summary>

View File

@@ -1,4 +1,4 @@
namespace Cryville.Common.Buffers { namespace Cryville.Common.Buffers {
/// <summary> /// <summary>
/// A resource pool that allows reusing instances of type <typeparamref name="T" />. /// A resource pool that allows reusing instances of type <typeparamref name="T" />.
/// </summary> /// </summary>

View File

@@ -1,4 +1,4 @@
namespace Cryville.Common.Buffers { namespace Cryville.Common.Buffers {
/// <summary> /// <summary>
/// A resource pool that allows reusing instances of type <typeparamref name="T" />, which has a parameterless constructor. /// A resource pool that allows reusing instances of type <typeparamref name="T" />, which has a parameterless constructor.
/// </summary> /// </summary>

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Cryville.Common.Collections.Generic { namespace Cryville.Common.Collections.Generic {
public interface IPairList<TKey, TValue> : IList<KeyValuePair<TKey, TValue>> { public interface IPairList<TKey, TValue> : IList<KeyValuePair<TKey, TValue>> {

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Diagnostics.Contracts; using System.Diagnostics.Contracts;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution; using System.Runtime.ConstrainedExecution;

View File

@@ -1,4 +1,4 @@
using System.Collections; using System.Collections;
namespace Cryville.Common.Collections { namespace Cryville.Common.Collections {
public interface IPairList : IList { public interface IPairList : IList {

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
namespace Cryville.Common.Collections { namespace Cryville.Common.Collections {

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common.ComponentModel { namespace Cryville.Common.ComponentModel {
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common.ComponentModel { namespace Cryville.Common.ComponentModel {
[AttributeUsage(AttributeTargets.Property, Inherited = false)] [AttributeUsage(AttributeTargets.Property, Inherited = false)]

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common.ComponentModel { namespace Cryville.Common.ComponentModel {
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common.ComponentModel { namespace Cryville.Common.ComponentModel {
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common { namespace Cryville.Common {
public class FileStringAttribute : Attribute { public class FileStringAttribute : Attribute {

View File

@@ -1,4 +1,4 @@
using Cryville.Common.IO; using Cryville.Common.IO;
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;

View File

@@ -1,4 +1,4 @@
using Cryville.Common.Culture; using Cryville.Common.Culture;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Text; using System.Text;

View File

@@ -1,4 +1,4 @@
using System.IO; using System.IO;
using System.Linq; using System.Linq;
namespace Cryville.Common.Font { namespace Cryville.Common.Font {

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.IO; using System.IO;
using System.Text; using System.Text;

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common { namespace Cryville.Common {
public struct Identifier : IEquatable<Identifier> { public struct Identifier : IEquatable<Identifier> {

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Cryville.Common { namespace Cryville.Common {
/// <summary> /// <summary>

View File

@@ -1,4 +1,4 @@
using SMath = System.Math; using SMath = System.Math;
namespace Cryville.Common.Math { namespace Cryville.Common.Math {
// Ported from https://github.com/arian/cubic-bezier/blob/master/index.js // Ported from https://github.com/arian/cubic-bezier/blob/master/index.js

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common.Math { namespace Cryville.Common.Math {
/// <summary> /// <summary>

View File

@@ -1,4 +1,4 @@
using UnsafeIL; using UnsafeIL;
namespace Cryville.Common.Math { namespace Cryville.Common.Math {
/// <summary> /// <summary>

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.IO; using System.IO;

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common.Pdt { namespace Cryville.Common.Pdt {
/// <summary> /// <summary>

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Runtime.Serialization; using System.Runtime.Serialization;

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;

View File

@@ -1,4 +1,4 @@
namespace Cryville.Common.Pdt { namespace Cryville.Common.Pdt {
/// <summary> /// <summary>
/// The identifiers of the internal types of PDT. /// The identifiers of the internal types of PDT.
/// </summary> /// </summary>

View File

@@ -1,4 +1,4 @@
using Cryville.Common.Collections; using Cryville.Common.Collections;
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;

View File

@@ -1,4 +1,4 @@
using System; using System;
namespace Cryville.Common.Pdt { namespace Cryville.Common.Pdt {
/// <summary> /// <summary>

View File

@@ -1,4 +1,4 @@
using System; using System;
using UnsafeIL; using UnsafeIL;
namespace Cryville.Common.Pdt { namespace Cryville.Common.Pdt {

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Text; using System.Text;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;

View File

@@ -1,4 +1,4 @@
using System; using System;
using UnityEngine; using UnityEngine;
namespace Cryville.Common.Unity { namespace Cryville.Common.Unity {

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using UnityEngine; using UnityEngine;

View File

@@ -1,4 +1,4 @@
using System; using System;
using UnityEngine; using UnityEngine;
namespace Cryville.Common.Unity.Input { namespace Cryville.Common.Unity.Input {

View File

@@ -1,4 +1,4 @@
namespace Cryville.Common.Unity.Input { namespace Cryville.Common.Unity.Input {
public enum WindowMessages : uint { public enum WindowMessages : uint {
WM_NULL = 0x0000, WM_NULL = 0x0000,
WM_CREATE = 0x0001, WM_CREATE = 0x0001,

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;

View File

@@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Cryville.Common.Unity.Input { namespace Cryville.Common.Unity.Input {

View File

@@ -1,4 +1,4 @@
using UnityEngine; using UnityEngine;
namespace Cryville.Common.Unity.Input { namespace Cryville.Common.Unity.Input {
public static class UnityCameraUtils { public static class UnityCameraUtils {

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