Upload files to "src/openonyx/render/group_k"
This commit is contained in:
1 parent
5dc7f93aca
commit
0bba811b0f
3 files changed
+193
No files matched your search
@@ -0,0 +1,127 @@
|
||||
package openonyx.render.group_k;
|
||||
|
||||
public final class TargetESPState {
|
||||
private static final float l = 260.0F;
|
||||
private int I;
|
||||
private static final float d = 0.3F;
|
||||
private final float[] i;
|
||||
private final float[] f;
|
||||
private static final int H = 7;
|
||||
private static final float e = 80.0F;
|
||||
|
||||
public void L() {
|
||||
TargetESPState targetESPState1 = this;
|
||||
|
||||
for (int j = ix = 0; j < targetESPState1.i.length; j = ix) {
|
||||
targetESPState1.i[ix] = 0.0F;
|
||||
targetESPState1.f[ix++] = 0.0F;
|
||||
}
|
||||
|
||||
targetESPState1.I = 0;
|
||||
}
|
||||
|
||||
private int L(int i) {
|
||||
TargetESPState targetESPState1 = this;
|
||||
|
||||
int j;
|
||||
for (int lx = j = 0; lx < targetESPState1.i.length; lx = ++j) {
|
||||
int k = (ix + j) % targetESPState1.i.length;
|
||||
if (targetESPState1.f[k] <= 0.0F) {
|
||||
return k;
|
||||
}
|
||||
}
|
||||
|
||||
return ix;
|
||||
}
|
||||
|
||||
public void L(float f) {
|
||||
TargetESPState targetESPState1 = this;
|
||||
|
||||
for (int j = ix = 0; j < targetESPState1.i.length; j = ++ix) {
|
||||
if (!(targetESPState1.f[ix] <= 0.0F)) {
|
||||
targetESPState1.i[ix] = targetESPState1.i[ix] + Math.max(0.0F, fx);
|
||||
if (targetESPState1.i[ix] >= targetESPState1.f[ix]) {
|
||||
targetESPState1.f[ix] = 0.0F;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void L(int i, float f) {
|
||||
TargetESPState targetESPState1 = this;
|
||||
fx = 1.0F / Math.max(fx, 0.1F);
|
||||
ix = Math.clamp(ix, 1, targetESPState1.i.length);
|
||||
int j = Math.max(1, targetESPState1.i.length / ix);
|
||||
|
||||
for (int m = lx = 0; m < ix; m = lx) {
|
||||
int k = targetESPState1.L((targetESPState1.I + lx * j) % targetESPState1.i.length);
|
||||
targetESPState1.i[k] = -lx * 80.0F * fx;
|
||||
float g = 260.0F * fx;
|
||||
lx++;
|
||||
targetESPState1.f[k] = g;
|
||||
}
|
||||
|
||||
targetESPState1.I = (targetESPState1.I + 7) % targetESPState1.i.length;
|
||||
}
|
||||
|
||||
public static String decrypt(String string) {
|
||||
String string1 = string;
|
||||
int m = --4 << 3 ^ 2;
|
||||
int n = 4 << 4 ^ 12;
|
||||
String string2;
|
||||
int p = (string2 = string1).length();
|
||||
char[] dx = new char[p];
|
||||
boolean bl = true;
|
||||
int j;
|
||||
int o = j = p - 1;
|
||||
char[] c = dx;
|
||||
byte b = 81;
|
||||
int k = o;
|
||||
int ix = m;
|
||||
|
||||
while (k >= 0) {
|
||||
n = j;
|
||||
int lx = string2.charAt(j);
|
||||
j--;
|
||||
c[n] = (char)(lx ^ ix);
|
||||
if (j < 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
lx = j--;
|
||||
c[lx] = (char)(string2.charAt(lx) ^ b);
|
||||
k = j;
|
||||
}
|
||||
|
||||
return new String(c);
|
||||
}
|
||||
|
||||
public TargetESPState() {
|
||||
int ix = 50 & 95;
|
||||
super();
|
||||
float[] g = new float[18];
|
||||
boolean bl1 = true;
|
||||
this.i = g;
|
||||
float[] fx = new float[ix];
|
||||
boolean bl = true;
|
||||
this.f = fx;
|
||||
}
|
||||
|
||||
private static float L(float f) {
|
||||
return fx * fx * (3.0F - 2.0F * fx);
|
||||
}
|
||||
|
||||
public float L(int i) {
|
||||
float fx;
|
||||
if ((fx = this.f[ix]) <= 0.0F) {
|
||||
return 0.0F;
|
||||
} else {
|
||||
float g;
|
||||
if ((g = this.i[ix] / fx) <= 0.0F || g >= 1.0F) {
|
||||
return 0.0F;
|
||||
} else {
|
||||
return g < 0.3F ? L(g / 0.3F) : 1.0F - L((g - 0.3F) / 0.7F);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user