Code cleanup.

This commit is contained in:
2023-05-20 16:31:23 +08:00
parent 25b4f3ccb7
commit cee74b9e31
4 changed files with 2 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ namespace Cryville.Crtr {
public HitOp() : base(MAX_SORTS) { }
protected unsafe override void Execute() {
protected override unsafe void Execute() {
LastHit = false;
for (int i = 0; i < LoadedOperandCount; i++) {
var sort = GetOperand(i).AsNumber();

View File

@@ -3,7 +3,6 @@ using Cryville.Common.Pdt;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Cryville.Crtr {
public abstract class JudgeAction {

View File

@@ -2,7 +2,6 @@ using Cryville.Common;
using Cryville.Common.Pdt;
using System;
using System.Globalization;
using System.Text.RegularExpressions;
using SIdentifier = Cryville.Common.Identifier;
namespace Cryville.Crtr {

View File

@@ -99,7 +99,7 @@ namespace Cryville.Crtr {
public class Vector4 : FixedBuffer {
readonly Func<RVector4> _cb;
public Vector4(Func<RVector4> cb) : base(PdtInternalType.Vector, 4 * sizeof(float) + sizeof(int)) { _cb = cb; }
protected unsafe override void InternalGet() {
protected override unsafe void InternalGet() {
base.InternalGet();
var vec = _cb();
fixed (byte* _ptr = buf) {