WIP: create TiedUpRigConstants, replace EpicFightMod/SharedConstants refs

- Nouveau TiedUpRigConstants.java : centralise MODID/LOGGER/identifier/prefix,
  constantes runtime (IS_DEV_ENV, A_TICK, GENERAL_ANIMATION_TRANSITION_TIME,
  MAX_JOINTS), factory ANIMATOR_PROVIDER (client/server split) + helpers
  stacktraceIfDevSide/logAndStacktraceIfDevSide.

- sed global : EpicFightMod.* → TiedUpRigConstants.*
- sed global : EpicFightSharedConstants.* → TiedUpRigConstants.*
- sed global : EpicFightRenderTypes → TiedUpRenderTypes (class rename upstream)
- Fix package declarations : Armature.java + TiedUpRenderTypes.java

Résidus yesman.epicfight : 115 → 86 (-29)
Reste : gameasset/physics/network/world/config/skill (combat deps à strip) +
combat mode refs dans patch/LocalPlayerPatch + ClientPlayerPatch (Phase 2).
This commit is contained in:
NotEvil
2026-04-22 00:33:39 +02:00
parent e4dd32fe05
commit 0891edffac
70 changed files with 320 additions and 213 deletions

View File

@@ -43,4 +43,4 @@ public class AnimationTransformEntry {
return result;
}
}
}

View File

@@ -596,4 +596,4 @@ public class MathUtils {
}
private MathUtils() {}
}
}

View File

@@ -9,4 +9,4 @@ package com.tiedup.remake.rig.math;
@FunctionalInterface
public interface MatrixOperation {
OpenMatrix4f mul(OpenMatrix4f left, OpenMatrix4f right, OpenMatrix4f dest);
}
}

View File

@@ -950,4 +950,4 @@ public class OpenMatrix4f {
return matrixArray;
}
}
}

View File

@@ -43,4 +43,4 @@ public class QuaternionUtils {
return QuaternionUtils.rotationDegrees(axis, degrees);
}
}
}
}

View File

@@ -136,4 +136,4 @@ public interface ValueModifier {
return result;
}
}
}
}

View File

@@ -30,4 +30,4 @@ public class Vec2f {
public String toString() {
return "Vec2f[" + this.x + ", " + this.y + ", " + "]";
}
}
}

View File

@@ -13,7 +13,7 @@ import org.joml.Quaternionf;
import org.joml.Vector3f;
import net.minecraft.world.phys.Vec3;
import yesman.epicfight.main.EpicFightMod;
import com.tiedup.remake.rig.TiedUpRigConstants;
public class Vec3f extends Vec2f {
public static final Vec3f X_AXIS = new Vec3f(1.0F, 0.0F, 0.0F);
@@ -238,7 +238,7 @@ public class Vec3f extends Vec2f {
float dotDivLength = Vec3f.dot(a, b) / (a.length() * b.length());
if (!Float.isFinite(dotDivLength)) {
EpicFightMod.LOGGER.info("Warning : given vector's length is zero");
TiedUpRigConstants.LOGGER.info("Warning : given vector's length is zero");
(new IllegalArgumentException()).printStackTrace();
dotDivLength = 1.0F;
}
@@ -470,4 +470,4 @@ public class Vec3f extends Vec2f {
OpenMatrix4f.transform3v(DEST, this, this);
return this;
}
}
}

View File

@@ -72,4 +72,4 @@ public class Vec4f extends Vec3f {
public String toString() {
return "Vec4f[" + this.x + ", " + this.y + ", " + this.z + ", " + this.w + "]";
}
}
}