Code cleanup.
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
using Microsoft.Win32;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
@@ -5,7 +6,6 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Microsoft.Win32;
|
|
||||||
|
|
||||||
namespace Cryville.Common.Network {
|
namespace Cryville.Common.Network {
|
||||||
public class HttpClient {
|
public class HttpClient {
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using static Cryville.Crtr.Cocos2dFrames;
|
|
||||||
|
|
||||||
namespace Cryville.Common.Pdt {
|
namespace Cryville.Common.Pdt {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
namespace Cryville.Common.Plist {
|
namespace Cryville.Common.Plist {
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Reflection;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
namespace Cryville.Common {
|
namespace Cryville.Common {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
using UnityEngine;
|
using System;
|
||||||
using System;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Cryville.Common.Unity {
|
namespace Cryville.Common.Unity {
|
||||||
static class CallHelper {
|
static class CallHelper {
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
using UnityEngine;
|
using System;
|
||||||
using System;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
using Cryville.Common;
|
using Cryville.Common;
|
||||||
using Cryville.Common.Unity;
|
using Cryville.Common.Unity;
|
||||||
using System;
|
|
||||||
using System.IO;
|
|
||||||
using UnityEngine;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Cryville.Crtr.Browsing {
|
namespace Cryville.Crtr.Browsing {
|
||||||
internal class LegacyResourceManager : IResourceManager<ChartDetail> {
|
internal class LegacyResourceManager : IResourceManager<ChartDetail> {
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
using Cryville.Common.Unity.UI;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
using Cryville.Common;
|
using Cryville.Common;
|
||||||
using Cryville.Common.Unity.UI;
|
using Cryville.Common.Unity.UI;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
|
@@ -280,7 +280,7 @@ namespace Cryville.Crtr {
|
|||||||
if (m.Groups[3].Success) {
|
if (m.Groups[3].Success) {
|
||||||
ushort id = ushort.Parse(m.Groups[3].Value);
|
ushort id = ushort.Parse(m.Groups[3].Value);
|
||||||
Vec1 time = m.Groups[5].Success ? new Vec1(m.Groups[5].Value) : null;
|
Vec1 time = m.Groups[5].Success ? new Vec1(m.Groups[5].Value) : null;
|
||||||
byte? trs = m.Groups[7].Success ? byte.Parse(m.Groups[7].Value) : (byte?)null;
|
byte? trs = m.Groups[7].Success ? byte.Parse(m.Groups[7].Value) : null;
|
||||||
Vec1 rate = m.Groups[9].Success ? new Vec1(m.Groups[9].Value) : null;
|
Vec1 rate = m.Groups[9].Success ? new Vec1(m.Groups[9].Value) : null;
|
||||||
Vector value = m.Groups[11].Success ? Vector.Construct(registry.Type, m.Groups[11].Value) : null;
|
Vector value = m.Groups[11].Success ? Vector.Construct(registry.Type, m.Groups[11].Value) : null;
|
||||||
RelativeNode = new MotionNode() {
|
RelativeNode = new MotionNode() {
|
||||||
@@ -333,9 +333,9 @@ namespace Cryville.Crtr {
|
|||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public MotionNode RelativeNode;
|
public MotionNode RelativeNode;
|
||||||
|
|
||||||
[DefaultValue(TransitionType.Ease)]
|
[DefaultValue(TransitionType.Ease)] // TODO [Obsolete]
|
||||||
public TransitionType transition = TransitionType.Ease;
|
public TransitionType transition = TransitionType.Ease;
|
||||||
[DefaultValue(1.0f)]
|
[DefaultValue(1.0f)] // TODO [Obsolete]
|
||||||
public float rate = 1.0f;
|
public float rate = 1.0f;
|
||||||
[DefaultValue(0.0f)]
|
[DefaultValue(0.0f)]
|
||||||
public float sumfix = 0.0f;
|
public float sumfix = 0.0f;
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace Cryville.Crtr.Event {
|
namespace Cryville.Crtr.Event {
|
||||||
public class EventBatch : IComparable<EventBatch>, IEnumerable<StampedEvent> {
|
public class EventBatch : IComparable<EventBatch>, IEnumerable<StampedEvent> {
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
using Cryville.Common.Unity.Input;
|
using Cryville.Common.Unity.Input;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Xml.Linq;
|
|
||||||
|
|
||||||
namespace Cryville.Crtr {
|
namespace Cryville.Crtr {
|
||||||
public class InputProxy {
|
public class InputProxy {
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
using Cryville.Common.Pdt;
|
using Cryville.Common.Pdt;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data.SqlTypes;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Cryville.Crtr {
|
namespace Cryville.Crtr {
|
||||||
|
@@ -6,7 +6,6 @@ using System.Collections.Generic;
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Xml.Linq;
|
|
||||||
|
|
||||||
namespace Cryville.Crtr {
|
namespace Cryville.Crtr {
|
||||||
public class Ruleset {
|
public class Ruleset {
|
||||||
|
@@ -18,7 +18,6 @@ namespace Cryville.Crtr {
|
|||||||
case '@':
|
case '@':
|
||||||
GetChar();
|
GetChar();
|
||||||
a.Add(GetIdentifier());
|
a.Add(GetIdentifier());
|
||||||
key = null;
|
|
||||||
break;
|
break;
|
||||||
case '$':
|
case '$':
|
||||||
GetChar();
|
GetChar();
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
using Cryville.Crtr.Components;
|
using Cryville.Crtr.Components;
|
||||||
using Cryville.Crtr.Event;
|
using Cryville.Crtr.Event;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Logger = Cryville.Common.Logger;
|
|
||||||
|
|
||||||
namespace Cryville.Crtr {
|
namespace Cryville.Crtr {
|
||||||
class TrackHandler : ContainerHandler {
|
class TrackHandler : ContainerHandler {
|
||||||
|
Reference in New Issue
Block a user