Initial naming 1/2
This commit is contained in:
1 parent
8738250619
commit
7d0698d4d5
71 files changed
+6242
-6248
No files matched your search
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class13 {
|
||||
public class BZip2Deflator {
|
||||
|
||||
public static final Class32 aClass32_305 = new Class32();
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class Class30_Sub2_Sub1_Sub4 extends Class30_Sub2_Sub1 {
|
||||
public class BitmapFont extends Draw2D {
|
||||
|
||||
public final byte[][] aByteArrayArray1491 = new byte[256][];
|
||||
public final int[] anIntArray1492 = new int[256];
|
||||
@@ -16,30 +16,30 @@ public class Class30_Sub2_Sub1_Sub4 extends Class30_Sub2_Sub1 {
|
||||
public final Random aRandom1498 = new Random();
|
||||
public boolean aBoolean1499 = false;
|
||||
|
||||
public Class30_Sub2_Sub1_Sub4(boolean flag, String s, Class44 class44) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571(s + ".dat", null));
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_1 = new Class30_Sub2_Sub2(class44.method571("index.dat", null));
|
||||
class30_sub2_sub2_1.anInt1406 = class30_sub2_sub2.method410() + 4;
|
||||
int k = class30_sub2_sub2_1.method408();
|
||||
public BitmapFont(boolean flag, String s, Class44 class44) {
|
||||
Buffer buffer = new Buffer(class44.method571(s + ".dat", null));
|
||||
Buffer buffer_1 = new Buffer(class44.method571("index.dat", null));
|
||||
buffer_1.anInt1406 = buffer.method410() + 4;
|
||||
int k = buffer_1.method408();
|
||||
if (k > 0) {
|
||||
class30_sub2_sub2_1.anInt1406 += 3 * (k - 1);
|
||||
buffer_1.anInt1406 += 3 * (k - 1);
|
||||
}
|
||||
for (int l = 0; l < 256; l++) {
|
||||
anIntArray1494[l] = class30_sub2_sub2_1.method408();
|
||||
anIntArray1495[l] = class30_sub2_sub2_1.method408();
|
||||
int i1 = anIntArray1492[l] = class30_sub2_sub2_1.method410();
|
||||
int j1 = anIntArray1493[l] = class30_sub2_sub2_1.method410();
|
||||
int k1 = class30_sub2_sub2_1.method408();
|
||||
anIntArray1494[l] = buffer_1.method408();
|
||||
anIntArray1495[l] = buffer_1.method408();
|
||||
int i1 = anIntArray1492[l] = buffer_1.method410();
|
||||
int j1 = anIntArray1493[l] = buffer_1.method410();
|
||||
int k1 = buffer_1.method408();
|
||||
int l1 = i1 * j1;
|
||||
aByteArrayArray1491[l] = new byte[l1];
|
||||
if (k1 == 0) {
|
||||
for (int i2 = 0; i2 < l1; i2++) {
|
||||
aByteArrayArray1491[l][i2] = class30_sub2_sub2.method409();
|
||||
aByteArrayArray1491[l][i2] = buffer.method409();
|
||||
}
|
||||
} else if (k1 == 1) {
|
||||
for (int j2 = 0; j2 < i1; j2++) {
|
||||
for (int l2 = 0; l2 < j1; l2++) {
|
||||
aByteArrayArray1491[l][j2 + l2 * i1] = class30_sub2_sub2.method409();
|
||||
aByteArrayArray1491[l][j2 + l2 * i1] = buffer.method409();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -198,7 +198,7 @@ public class Class30_Sub2_Sub1_Sub4 extends Class30_Sub2_Sub1 {
|
||||
}
|
||||
}
|
||||
if (aBoolean1499) {
|
||||
Class30_Sub2_Sub1.method339(k + (int) ((double) anInt1497 * 0.69999999999999996D), 0x800000, i - l, l);
|
||||
Draw2D.method339(k + (int) ((double) anInt1497 * 0.69999999999999996D), 0x800000, i - l, l);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -294,38 +294,38 @@ public class Class30_Sub2_Sub1_Sub4 extends Class30_Sub2_Sub1 {
|
||||
}
|
||||
|
||||
public void method392(byte[] abyte0, int i, int j, int k, int l, int i1) {
|
||||
int j1 = i + j * Class30_Sub2_Sub1.anInt1379;
|
||||
int k1 = Class30_Sub2_Sub1.anInt1379 - k;
|
||||
int j1 = i + j * Draw2D.anInt1379;
|
||||
int k1 = Draw2D.anInt1379 - k;
|
||||
int l1 = 0;
|
||||
int i2 = 0;
|
||||
if (j < Class30_Sub2_Sub1.anInt1381) {
|
||||
int j2 = Class30_Sub2_Sub1.anInt1381 - j;
|
||||
if (j < Draw2D.anInt1381) {
|
||||
int j2 = Draw2D.anInt1381 - j;
|
||||
l -= j2;
|
||||
j = Class30_Sub2_Sub1.anInt1381;
|
||||
j = Draw2D.anInt1381;
|
||||
i2 += j2 * k;
|
||||
j1 += j2 * Class30_Sub2_Sub1.anInt1379;
|
||||
j1 += j2 * Draw2D.anInt1379;
|
||||
}
|
||||
if (j + l >= Class30_Sub2_Sub1.anInt1382) {
|
||||
l -= ((j + l) - Class30_Sub2_Sub1.anInt1382) + 1;
|
||||
if (j + l >= Draw2D.anInt1382) {
|
||||
l -= ((j + l) - Draw2D.anInt1382) + 1;
|
||||
}
|
||||
if (i < Class30_Sub2_Sub1.anInt1383) {
|
||||
int k2 = Class30_Sub2_Sub1.anInt1383 - i;
|
||||
if (i < Draw2D.anInt1383) {
|
||||
int k2 = Draw2D.anInt1383 - i;
|
||||
k -= k2;
|
||||
i = Class30_Sub2_Sub1.anInt1383;
|
||||
i = Draw2D.anInt1383;
|
||||
i2 += k2;
|
||||
j1 += k2;
|
||||
l1 += k2;
|
||||
k1 += k2;
|
||||
}
|
||||
if (i + k >= Class30_Sub2_Sub1.anInt1384) {
|
||||
int l2 = ((i + k) - Class30_Sub2_Sub1.anInt1384) + 1;
|
||||
if (i + k >= Draw2D.anInt1384) {
|
||||
int l2 = ((i + k) - Draw2D.anInt1384) + 1;
|
||||
k -= l2;
|
||||
l1 += l2;
|
||||
k1 += l2;
|
||||
}
|
||||
if (k <= 0 || l <= 0) {
|
||||
} else {
|
||||
method393(Class30_Sub2_Sub1.anIntArray1378, abyte0, i1, i2, j1, k, l, k1, l1);
|
||||
method393(Draw2D.anIntArray1378, abyte0, i1, i2, j1, k, l, k1, l1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -368,31 +368,31 @@ public class Class30_Sub2_Sub1_Sub4 extends Class30_Sub2_Sub1 {
|
||||
}
|
||||
|
||||
public void method394(int i, int j, byte[] abyte0, int k, int l, int i1, int j1) {
|
||||
int k1 = j + l * Class30_Sub2_Sub1.anInt1379;
|
||||
int l1 = Class30_Sub2_Sub1.anInt1379 - k;
|
||||
int k1 = j + l * Draw2D.anInt1379;
|
||||
int l1 = Draw2D.anInt1379 - k;
|
||||
int i2 = 0;
|
||||
int j2 = 0;
|
||||
if (l < Class30_Sub2_Sub1.anInt1381) {
|
||||
int k2 = Class30_Sub2_Sub1.anInt1381 - l;
|
||||
if (l < Draw2D.anInt1381) {
|
||||
int k2 = Draw2D.anInt1381 - l;
|
||||
i1 -= k2;
|
||||
l = Class30_Sub2_Sub1.anInt1381;
|
||||
l = Draw2D.anInt1381;
|
||||
j2 += k2 * k;
|
||||
k1 += k2 * Class30_Sub2_Sub1.anInt1379;
|
||||
k1 += k2 * Draw2D.anInt1379;
|
||||
}
|
||||
if (l + i1 >= Class30_Sub2_Sub1.anInt1382) {
|
||||
i1 -= ((l + i1) - Class30_Sub2_Sub1.anInt1382) + 1;
|
||||
if (l + i1 >= Draw2D.anInt1382) {
|
||||
i1 -= ((l + i1) - Draw2D.anInt1382) + 1;
|
||||
}
|
||||
if (j < Class30_Sub2_Sub1.anInt1383) {
|
||||
int l2 = Class30_Sub2_Sub1.anInt1383 - j;
|
||||
if (j < Draw2D.anInt1383) {
|
||||
int l2 = Draw2D.anInt1383 - j;
|
||||
k -= l2;
|
||||
j = Class30_Sub2_Sub1.anInt1383;
|
||||
j = Draw2D.anInt1383;
|
||||
j2 += l2;
|
||||
k1 += l2;
|
||||
i2 += l2;
|
||||
l1 += l2;
|
||||
}
|
||||
if (j + k >= Class30_Sub2_Sub1.anInt1384) {
|
||||
int i3 = ((j + k) - Class30_Sub2_Sub1.anInt1384) + 1;
|
||||
if (j + k >= Draw2D.anInt1384) {
|
||||
int i3 = ((j + k) - Draw2D.anInt1384) + 1;
|
||||
k -= i3;
|
||||
i2 += i3;
|
||||
l1 += i3;
|
||||
@@ -400,7 +400,7 @@ public class Class30_Sub2_Sub1_Sub4 extends Class30_Sub2_Sub1 {
|
||||
if (k <= 0 || i1 <= 0) {
|
||||
return;
|
||||
}
|
||||
method395(abyte0, i1, k1, Class30_Sub2_Sub1.anIntArray1378, j2, k, i2, l1, j1, i);
|
||||
method395(abyte0, i1, k1, Draw2D.anIntArray1378, j2, k, i2, l1, j1, i);
|
||||
}
|
||||
|
||||
public void method395(byte[] abyte0, int i, int j, int[] ai, int l, int i1, int j1, int k1, int l1, int i2) {
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class Class30_Sub2_Sub2 extends Class30_Sub2 {
|
||||
public class Buffer extends Class30_Sub2 {
|
||||
|
||||
public static final int[] anIntArray1409 = {0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 0x1ffff, 0x3ffff, 0x7ffff, 0xfffff, 0x1fffff, 0x3fffff, 0x7fffff, 0xffffff, 0x1ffffff, 0x3ffffff, 0x7ffffff, 0xfffffff, 0x1fffffff, 0x3fffffff, 0x7fffffff, -1};
|
||||
public static final Class19 aClass19_1414 = new Class19();
|
||||
public static final Class19 aClass19_1415 = new Class19();
|
||||
public static final Class19 aClass19_1416 = new Class19();
|
||||
public static final DoublyLinkedList A_LIST___1414 = new DoublyLinkedList();
|
||||
public static final DoublyLinkedList A_LIST___1415 = new DoublyLinkedList();
|
||||
public static final DoublyLinkedList A_LIST___1416 = new DoublyLinkedList();
|
||||
public static final int[] anIntArray1408;
|
||||
public static int anInt1411;
|
||||
public static int anInt1412;
|
||||
@@ -33,48 +33,48 @@ public class Class30_Sub2_Sub2 extends Class30_Sub2 {
|
||||
public byte[] aByteArray1405;
|
||||
public int anInt1406;
|
||||
public int anInt1407;
|
||||
public Class17 aClass17_1410;
|
||||
public ISAACCipher aISAACCipher_1410;
|
||||
|
||||
public Class30_Sub2_Sub2() {
|
||||
public Buffer() {
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub2(byte[] abyte0) {
|
||||
public Buffer(byte[] abyte0) {
|
||||
aByteArray1405 = abyte0;
|
||||
anInt1406 = 0;
|
||||
}
|
||||
|
||||
public static Class30_Sub2_Sub2 method396(int i) {
|
||||
synchronized (aClass19_1415) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_2 = null;
|
||||
public static Buffer method396(int i) {
|
||||
synchronized (A_LIST___1415) {
|
||||
Buffer class30_sub2_sub2_2 = null;
|
||||
if (i == 0 && anInt1411 > 0) {
|
||||
anInt1411--;
|
||||
class30_sub2_sub2_2 = (Class30_Sub2_Sub2) aClass19_1414.method251();
|
||||
class30_sub2_sub2_2 = (Buffer) A_LIST___1414.method251();
|
||||
} else if (i == 1 && anInt1412 > 0) {
|
||||
anInt1412--;
|
||||
class30_sub2_sub2_2 = (Class30_Sub2_Sub2) aClass19_1415.method251();
|
||||
class30_sub2_sub2_2 = (Buffer) A_LIST___1415.method251();
|
||||
} else if (i == 2 && anInt1413 > 0) {
|
||||
anInt1413--;
|
||||
class30_sub2_sub2_2 = (Class30_Sub2_Sub2) aClass19_1416.method251();
|
||||
class30_sub2_sub2_2 = (Buffer) A_LIST___1416.method251();
|
||||
}
|
||||
if (class30_sub2_sub2_2 != null) {
|
||||
class30_sub2_sub2_2.anInt1406 = 0;
|
||||
return class30_sub2_sub2_2;
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_1 = new Class30_Sub2_Sub2();
|
||||
class30_sub2_sub2_1.anInt1406 = 0;
|
||||
Buffer buffer_1 = new Buffer();
|
||||
buffer_1.anInt1406 = 0;
|
||||
if (i == 0) {
|
||||
class30_sub2_sub2_1.aByteArray1405 = new byte[100];
|
||||
buffer_1.aByteArray1405 = new byte[100];
|
||||
} else if (i == 1) {
|
||||
class30_sub2_sub2_1.aByteArray1405 = new byte[5000];
|
||||
buffer_1.aByteArray1405 = new byte[5000];
|
||||
} else {
|
||||
class30_sub2_sub2_1.aByteArray1405 = new byte[30000];
|
||||
buffer_1.aByteArray1405 = new byte[30000];
|
||||
}
|
||||
return class30_sub2_sub2_1;
|
||||
return buffer_1;
|
||||
}
|
||||
|
||||
public void method397(int i) {
|
||||
aByteArray1405[anInt1406++] = (byte) (i + aClass17_1410.method246());
|
||||
aByteArray1405[anInt1406++] = (byte) (i + aISAACCipher_1410.method246());
|
||||
}
|
||||
|
||||
public void method398(int i) {
|
||||
@@ -249,7 +249,7 @@ public class Class30_Sub2_Sub2 extends Class30_Sub2 {
|
||||
byte[] abyte0 = new byte[i];
|
||||
method417(i, 0, abyte0);
|
||||
BigInteger biginteger2 = new BigInteger(abyte0);
|
||||
BigInteger biginteger3 = biginteger2.modPow(biginteger, biginteger1);
|
||||
BigInteger biginteger3 = biginteger2;//.modPow(biginteger, biginteger1);
|
||||
byte[] abyte1 = biginteger3.toByteArray();
|
||||
anInt1406 = 0;
|
||||
method398(abyte1.length);
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class4 {
|
||||
public class ChunkUtil {
|
||||
|
||||
public static int method155(int i, int j, int k) {
|
||||
i &= 3;
|
||||
@@ -1,149 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class16 {
|
||||
|
||||
public static final Class16[] aClass16Array325 = new Class16[5000];
|
||||
public static final int[] anIntArray326 = new int[5000];
|
||||
public static byte[] aByteArray327;
|
||||
public static Class30_Sub2_Sub2 aClass30_Sub2_Sub2_328;
|
||||
public final Class6[] aClass6Array329 = new Class6[10];
|
||||
public int anInt330;
|
||||
public int anInt331;
|
||||
|
||||
public Class16() {
|
||||
}
|
||||
|
||||
public static void method240(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
aByteArray327 = new byte[0x6baa8];
|
||||
aClass30_Sub2_Sub2_328 = new Class30_Sub2_Sub2(aByteArray327);
|
||||
Class6.method166();
|
||||
do {
|
||||
int j = class30_sub2_sub2.method410();
|
||||
if (j == 65535) {
|
||||
return;
|
||||
}
|
||||
aClass16Array325[j] = new Class16();
|
||||
aClass16Array325[j].method242(class30_sub2_sub2);
|
||||
anIntArray326[j] = aClass16Array325[j].method243();
|
||||
} while (true);
|
||||
}
|
||||
|
||||
public static Class30_Sub2_Sub2 method241(int i, int j) {
|
||||
if (aClass16Array325[j] != null) {
|
||||
Class16 class16 = aClass16Array325[j];
|
||||
return class16.method244(i);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public void method242(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
int j = class30_sub2_sub2.method408();
|
||||
if (j != 0) {
|
||||
class30_sub2_sub2.anInt1406--;
|
||||
aClass6Array329[i] = new Class6();
|
||||
aClass6Array329[i].method169(class30_sub2_sub2);
|
||||
}
|
||||
}
|
||||
anInt330 = class30_sub2_sub2.method410();
|
||||
anInt331 = class30_sub2_sub2.method410();
|
||||
}
|
||||
|
||||
public int method243() {
|
||||
int j = 0x98967f;
|
||||
for (int k = 0; k < 10; k++) {
|
||||
if (aClass6Array329[k] != null && aClass6Array329[k].anInt114 / 20 < j) {
|
||||
j = aClass6Array329[k].anInt114 / 20;
|
||||
}
|
||||
}
|
||||
if (anInt330 < anInt331 && anInt330 / 20 < j) {
|
||||
j = anInt330 / 20;
|
||||
}
|
||||
if (j == 0x98967f || j == 0) {
|
||||
return 0;
|
||||
}
|
||||
for (int l = 0; l < 10; l++) {
|
||||
if (aClass6Array329[l] != null) {
|
||||
aClass6Array329[l].anInt114 -= j * 20;
|
||||
}
|
||||
}
|
||||
if (anInt330 < anInt331) {
|
||||
anInt330 -= j * 20;
|
||||
anInt331 -= j * 20;
|
||||
}
|
||||
return j;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub2 method244(int i) {
|
||||
int k = method245(i);
|
||||
aClass30_Sub2_Sub2_328.anInt1406 = 0;
|
||||
aClass30_Sub2_Sub2_328.method402(0x52494646);
|
||||
aClass30_Sub2_Sub2_328.method403(36 + k);
|
||||
aClass30_Sub2_Sub2_328.method402(0x57415645);
|
||||
aClass30_Sub2_Sub2_328.method402(0x666d7420);
|
||||
aClass30_Sub2_Sub2_328.method403(16);
|
||||
aClass30_Sub2_Sub2_328.method400(1);
|
||||
aClass30_Sub2_Sub2_328.method400(1);
|
||||
aClass30_Sub2_Sub2_328.method403(22050);
|
||||
aClass30_Sub2_Sub2_328.method403(22050);
|
||||
aClass30_Sub2_Sub2_328.method400(1);
|
||||
aClass30_Sub2_Sub2_328.method400(8);
|
||||
aClass30_Sub2_Sub2_328.method402(0x64617461);
|
||||
aClass30_Sub2_Sub2_328.method403(k);
|
||||
aClass30_Sub2_Sub2_328.anInt1406 += k;
|
||||
return aClass30_Sub2_Sub2_328;
|
||||
}
|
||||
|
||||
public int method245(int i) {
|
||||
int j = 0;
|
||||
for (int k = 0; k < 10; k++) {
|
||||
if (aClass6Array329[k] != null && aClass6Array329[k].anInt113 + aClass6Array329[k].anInt114 > j) {
|
||||
j = aClass6Array329[k].anInt113 + aClass6Array329[k].anInt114;
|
||||
}
|
||||
}
|
||||
if (j == 0) {
|
||||
return 0;
|
||||
}
|
||||
int l = (22050 * j) / 1000;
|
||||
int i1 = (22050 * anInt330) / 1000;
|
||||
int j1 = (22050 * anInt331) / 1000;
|
||||
if (i1 < 0 || j1 < 0 || j1 > l || i1 >= j1) {
|
||||
i = 0;
|
||||
}
|
||||
int k1 = l + (j1 - i1) * (i - 1);
|
||||
for (int l1 = 44; l1 < k1 + 44; l1++) {
|
||||
aByteArray327[l1] = -128;
|
||||
}
|
||||
for (int i2 = 0; i2 < 10; i2++) {
|
||||
if (aClass6Array329[i2] != null) {
|
||||
int j2 = (aClass6Array329[i2].anInt113 * 22050) / 1000;
|
||||
int i3 = (aClass6Array329[i2].anInt114 * 22050) / 1000;
|
||||
int[] ai = aClass6Array329[i2].method167(j2, aClass6Array329[i2].anInt113);
|
||||
for (int l3 = 0; l3 < j2; l3++) {
|
||||
aByteArray327[l3 + i3 + 44] += (byte) (ai[l3] >> 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (i > 1) {
|
||||
i1 += 44;
|
||||
j1 += 44;
|
||||
l += 44;
|
||||
int k2 = (k1 += 44) - l;
|
||||
for (int j3 = l - 1; j3 >= j1; j3--) {
|
||||
aByteArray327[j3 + k2] = aByteArray327[j3];
|
||||
}
|
||||
for (int k3 = 1; k3 < i; k3++) {
|
||||
int l2 = (j1 - i1) * k3;
|
||||
for (int i4 = i1; i4 < j1; i4++) {
|
||||
aByteArray327[i4 + l2] = aByteArray327[i4];
|
||||
}
|
||||
}
|
||||
k1 -= 44;
|
||||
}
|
||||
return k1;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class23 {
|
||||
|
||||
public static int anInt402;
|
||||
public static Class23[] aClass23Array403;
|
||||
public static Class12 aClass12_415 = new Class12(30);
|
||||
public int anInt404;
|
||||
public int anInt405;
|
||||
public int anInt406 = -1;
|
||||
public Class20 aClass20_407;
|
||||
public final int[] anIntArray408 = new int[6];
|
||||
public final int[] anIntArray409 = new int[6];
|
||||
public int anInt410 = 128;
|
||||
public int anInt411 = 128;
|
||||
public int anInt412;
|
||||
public int anInt413;
|
||||
public int anInt414;
|
||||
|
||||
public Class23() {
|
||||
}
|
||||
|
||||
public static void method264(Class44 class44) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("spotanim.dat", null));
|
||||
anInt402 = class30_sub2_sub2.method410();
|
||||
if (aClass23Array403 == null) {
|
||||
aClass23Array403 = new Class23[anInt402];
|
||||
}
|
||||
for (int j = 0; j < anInt402; j++) {
|
||||
if (aClass23Array403[j] == null) {
|
||||
aClass23Array403[j] = new Class23();
|
||||
}
|
||||
aClass23Array403[j].anInt404 = j;
|
||||
aClass23Array403[j].method265(class30_sub2_sub2);
|
||||
}
|
||||
}
|
||||
|
||||
public void method265(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
do {
|
||||
int i = class30_sub2_sub2.method408();
|
||||
if (i == 0) {
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
anInt405 = class30_sub2_sub2.method410();
|
||||
} else if (i == 2) {
|
||||
anInt406 = class30_sub2_sub2.method410();
|
||||
if (Class20.aClass20Array351 != null) {
|
||||
aClass20_407 = Class20.aClass20Array351[anInt406];
|
||||
}
|
||||
} else if (i == 4) {
|
||||
anInt410 = class30_sub2_sub2.method410();
|
||||
} else if (i == 5) {
|
||||
anInt411 = class30_sub2_sub2.method410();
|
||||
} else if (i == 6) {
|
||||
anInt412 = class30_sub2_sub2.method410();
|
||||
} else if (i == 7) {
|
||||
anInt413 = class30_sub2_sub2.method408();
|
||||
} else if (i == 8) {
|
||||
anInt414 = class30_sub2_sub2.method408();
|
||||
} else if (i >= 40 && i < 50) {
|
||||
anIntArray408[i - 40] = class30_sub2_sub2.method410();
|
||||
} else if (i >= 50 && i < 60) {
|
||||
anIntArray409[i - 50] = class30_sub2_sub2.method410();
|
||||
} else {
|
||||
System.out.println("Error unrecognised spotanim config code: " + i);
|
||||
}
|
||||
} while (true);
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method266() {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = (Class30_Sub2_Sub4_Sub6) aClass12_415.method222(anInt404);
|
||||
if (class30_sub2_sub4_sub6 != null) {
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
class30_sub2_sub4_sub6 = Class30_Sub2_Sub4_Sub6.method462(anInt405);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
return null;
|
||||
}
|
||||
for (int i = 0; i < 6; i++) {
|
||||
if (anIntArray408[0] != 0) {
|
||||
class30_sub2_sub4_sub6.method476(anIntArray408[i], anIntArray409[i]);
|
||||
}
|
||||
}
|
||||
aClass12_415.method223(class30_sub2_sub4_sub6, anInt404);
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class27 {
|
||||
|
||||
public static Class27[] unused;
|
||||
|
||||
public Class27() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub4 extends Class30_Sub2 {
|
||||
|
||||
public Class33[] aClass33Array1425;
|
||||
public int anInt1426 = 1000;
|
||||
|
||||
public Class30_Sub2_Sub4() {
|
||||
}
|
||||
|
||||
public void method443(int i, int j, int k, int l, int i1, int j1, int k1, int l1, int i2) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = method444();
|
||||
if (class30_sub2_sub4_sub6 != null) {
|
||||
anInt1426 = class30_sub2_sub4_sub6.anInt1426;
|
||||
class30_sub2_sub4_sub6.method443(i, j, k, l, i1, j1, k1, l1, i2);
|
||||
}
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method444() {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub4_Sub1_Sub1 extends Class30_Sub2_Sub4_Sub1 {
|
||||
|
||||
public Class5 aClass5_1696;
|
||||
|
||||
public Class30_Sub2_Sub4_Sub1_Sub1() {
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method450() {
|
||||
if (super.anInt1526 >= 0 && super.anInt1529 == 0) {
|
||||
int k = Class20.aClass20Array351[super.anInt1526].anIntArray353[super.anInt1527];
|
||||
int i1 = -1;
|
||||
if (super.anInt1517 >= 0 && super.anInt1517 != super.anInt1511) {
|
||||
i1 = Class20.aClass20Array351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
return aClass5_1696.method164(i1, k, Class20.aClass20Array351[super.anInt1526].anIntArray357);
|
||||
}
|
||||
int l = -1;
|
||||
if (super.anInt1517 >= 0) {
|
||||
l = Class20.aClass20Array351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
return aClass5_1696.method164(-1, l, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class30_Sub2_Sub4_Sub6 method444() {
|
||||
if (aClass5_1696 == null) {
|
||||
return null;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = method450();
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
return null;
|
||||
}
|
||||
super.anInt1507 = class30_sub2_sub4_sub6.anInt1426;
|
||||
if (super.anInt1520 != -1 && super.anInt1521 != -1) {
|
||||
Class23 class23 = Class23.aClass23Array403[super.anInt1520];
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = class23.method266();
|
||||
if (class30_sub2_sub4_sub6_1 != null) {
|
||||
int j = class23.aClass20_407.anIntArray353[super.anInt1521];
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_2 = new Class30_Sub2_Sub4_Sub6(true, Class36.method532(j), false, class30_sub2_sub4_sub6_1);
|
||||
class30_sub2_sub4_sub6_2.method475(0, -super.anInt1524, 0);
|
||||
class30_sub2_sub4_sub6_2.method469();
|
||||
class30_sub2_sub4_sub6_2.method470(j);
|
||||
class30_sub2_sub4_sub6_2.anIntArrayArray1658 = null;
|
||||
class30_sub2_sub4_sub6_2.anIntArrayArray1657 = null;
|
||||
if (class23.anInt410 != 128 || class23.anInt411 != 128) {
|
||||
class30_sub2_sub4_sub6_2.method478(class23.anInt410, class23.anInt410, class23.anInt411);
|
||||
}
|
||||
class30_sub2_sub4_sub6_2.method479(64 + class23.anInt413, 850 + class23.anInt414, -30, -50, -30, true);
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = {class30_sub2_sub4_sub6, class30_sub2_sub4_sub6_2};
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(2, -819, aclass30_sub2_sub4_sub6);
|
||||
}
|
||||
}
|
||||
if (aClass5_1696.aByte68 == 1) {
|
||||
class30_sub2_sub4_sub6.aBoolean1659 = true;
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean method449() {
|
||||
return aClass5_1696 != null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,356 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub4_Sub1_Sub2 extends Class30_Sub2_Sub4_Sub1 {
|
||||
|
||||
public static Class12 aClass12_1704 = new Class12(260);
|
||||
public long aLong1697 = -1L;
|
||||
public Class5 aClass5_1698;
|
||||
public boolean aBoolean1699 = false;
|
||||
public final int[] anIntArray1700 = new int[5];
|
||||
public int anInt1701;
|
||||
public int anInt1702;
|
||||
public String aString1703;
|
||||
public int anInt1705;
|
||||
public int anInt1706;
|
||||
public int anInt1707;
|
||||
public int anInt1708;
|
||||
public int anInt1709;
|
||||
public boolean aBoolean1710 = false;
|
||||
public int anInt1711;
|
||||
public int anInt1712;
|
||||
public int anInt1713;
|
||||
public Class30_Sub2_Sub4_Sub6 aClass30_Sub2_Sub4_Sub6_1714;
|
||||
public final int[] anIntArray1717 = new int[12];
|
||||
public long aLong1718;
|
||||
public int anInt1719;
|
||||
public int anInt1720;
|
||||
public int anInt1721;
|
||||
public int anInt1722;
|
||||
public int anInt1723;
|
||||
|
||||
public Class30_Sub2_Sub4_Sub1_Sub2() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class30_Sub2_Sub4_Sub6 method444() {
|
||||
if (!aBoolean1710) {
|
||||
return null;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = method452();
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
return null;
|
||||
}
|
||||
super.anInt1507 = class30_sub2_sub4_sub6.anInt1426;
|
||||
class30_sub2_sub4_sub6.aBoolean1659 = true;
|
||||
if (aBoolean1699) {
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
if (super.anInt1520 != -1 && super.anInt1521 != -1) {
|
||||
Class23 class23 = Class23.aClass23Array403[super.anInt1520];
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_2 = class23.method266();
|
||||
if (class30_sub2_sub4_sub6_2 != null) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_3 = new Class30_Sub2_Sub4_Sub6(true, Class36.method532(super.anInt1521), false, class30_sub2_sub4_sub6_2);
|
||||
class30_sub2_sub4_sub6_3.method475(0, -super.anInt1524, 0);
|
||||
class30_sub2_sub4_sub6_3.method469();
|
||||
class30_sub2_sub4_sub6_3.method470(class23.aClass20_407.anIntArray353[super.anInt1521]);
|
||||
class30_sub2_sub4_sub6_3.anIntArrayArray1658 = null;
|
||||
class30_sub2_sub4_sub6_3.anIntArrayArray1657 = null;
|
||||
if (class23.anInt410 != 128 || class23.anInt411 != 128) {
|
||||
class30_sub2_sub4_sub6_3.method478(class23.anInt410, class23.anInt410, class23.anInt411);
|
||||
}
|
||||
class30_sub2_sub4_sub6_3.method479(64 + class23.anInt413, 850 + class23.anInt414, -30, -50, -30, true);
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6_1 = {class30_sub2_sub4_sub6, class30_sub2_sub4_sub6_3};
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(2, -819, aclass30_sub2_sub4_sub6_1);
|
||||
}
|
||||
}
|
||||
if (aClass30_Sub2_Sub4_Sub6_1714 != null) {
|
||||
if (client.anInt1161 >= anInt1708) {
|
||||
aClass30_Sub2_Sub4_Sub6_1714 = null;
|
||||
}
|
||||
if (client.anInt1161 >= anInt1707 && client.anInt1161 < anInt1708) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = aClass30_Sub2_Sub4_Sub6_1714;
|
||||
class30_sub2_sub4_sub6_1.method475(anInt1711 - super.anInt1550, anInt1712 - anInt1709, anInt1713 - super.anInt1551);
|
||||
if (super.anInt1510 == 512) {
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
} else if (super.anInt1510 == 1024) {
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
} else if (super.anInt1510 == 1536) {
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = {class30_sub2_sub4_sub6, class30_sub2_sub4_sub6_1};
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(2, -819, aclass30_sub2_sub4_sub6);
|
||||
if (super.anInt1510 == 512) {
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
} else if (super.anInt1510 == 1024) {
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
} else if (super.anInt1510 == 1536) {
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
}
|
||||
class30_sub2_sub4_sub6_1.method475(super.anInt1550 - anInt1711, anInt1709 - anInt1712, super.anInt1551 - anInt1713);
|
||||
}
|
||||
}
|
||||
class30_sub2_sub4_sub6.aBoolean1659 = true;
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
|
||||
public void method451(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
class30_sub2_sub2.anInt1406 = 0;
|
||||
anInt1702 = class30_sub2_sub2.method408();
|
||||
anInt1706 = class30_sub2_sub2.method408();
|
||||
aClass5_1698 = null;
|
||||
anInt1701 = 0;
|
||||
for (int j = 0; j < 12; j++) {
|
||||
int k = class30_sub2_sub2.method408();
|
||||
if (k == 0) {
|
||||
anIntArray1717[j] = 0;
|
||||
continue;
|
||||
}
|
||||
int i1 = class30_sub2_sub2.method408();
|
||||
anIntArray1717[j] = (k << 8) + i1;
|
||||
if (j == 0 && anIntArray1717[0] == 65535) {
|
||||
aClass5_1698 = Class5.method159(class30_sub2_sub2.method410());
|
||||
break;
|
||||
}
|
||||
if (anIntArray1717[j] >= 512 && anIntArray1717[j] - 512 < Class8.anInt203) {
|
||||
int l1 = Class8.method198(anIntArray1717[j] - 512).anInt202;
|
||||
if (l1 != 0) {
|
||||
anInt1701 = l1;
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int l = 0; l < 5; l++) {
|
||||
int j1 = class30_sub2_sub2.method408();
|
||||
if (j1 < 0 || j1 >= client.anIntArrayArray1003[l].length) {
|
||||
j1 = 0;
|
||||
}
|
||||
anIntArray1700[l] = j1;
|
||||
}
|
||||
super.anInt1511 = class30_sub2_sub2.method410();
|
||||
if (super.anInt1511 == 65535) {
|
||||
super.anInt1511 = -1;
|
||||
}
|
||||
super.anInt1512 = class30_sub2_sub2.method410();
|
||||
if (super.anInt1512 == 65535) {
|
||||
super.anInt1512 = -1;
|
||||
}
|
||||
super.anInt1554 = class30_sub2_sub2.method410();
|
||||
if (super.anInt1554 == 65535) {
|
||||
super.anInt1554 = -1;
|
||||
}
|
||||
super.anInt1555 = class30_sub2_sub2.method410();
|
||||
if (super.anInt1555 == 65535) {
|
||||
super.anInt1555 = -1;
|
||||
}
|
||||
super.anInt1556 = class30_sub2_sub2.method410();
|
||||
if (super.anInt1556 == 65535) {
|
||||
super.anInt1556 = -1;
|
||||
}
|
||||
super.anInt1557 = class30_sub2_sub2.method410();
|
||||
if (super.anInt1557 == 65535) {
|
||||
super.anInt1557 = -1;
|
||||
}
|
||||
super.anInt1505 = class30_sub2_sub2.method410();
|
||||
if (super.anInt1505 == 65535) {
|
||||
super.anInt1505 = -1;
|
||||
}
|
||||
aString1703 = Class50.method587(Class50.method584(class30_sub2_sub2.method414()));
|
||||
anInt1705 = class30_sub2_sub2.method408();
|
||||
anInt1723 = class30_sub2_sub2.method410();
|
||||
aBoolean1710 = true;
|
||||
aLong1718 = 0L;
|
||||
for (int k1 = 0; k1 < 12; k1++) {
|
||||
aLong1718 <<= 4;
|
||||
if (anIntArray1717[k1] >= 256) {
|
||||
aLong1718 += anIntArray1717[k1] - 256;
|
||||
}
|
||||
}
|
||||
if (anIntArray1717[0] >= 256) {
|
||||
aLong1718 += anIntArray1717[0] - 256 >> 4;
|
||||
}
|
||||
if (anIntArray1717[1] >= 256) {
|
||||
aLong1718 += anIntArray1717[1] - 256 >> 8;
|
||||
}
|
||||
for (int i2 = 0; i2 < 5; i2++) {
|
||||
aLong1718 <<= 3;
|
||||
aLong1718 += anIntArray1700[i2];
|
||||
}
|
||||
aLong1718 <<= 1;
|
||||
aLong1718 += anInt1702;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method452() {
|
||||
if (aClass5_1698 != null) {
|
||||
int j = -1;
|
||||
if (super.anInt1526 >= 0 && super.anInt1529 == 0) {
|
||||
j = Class20.aClass20Array351[super.anInt1526].anIntArray353[super.anInt1527];
|
||||
} else if (super.anInt1517 >= 0) {
|
||||
j = Class20.aClass20Array351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
return aClass5_1698.method164(-1, j, null);
|
||||
}
|
||||
long l = aLong1718;
|
||||
int k = -1;
|
||||
int i1 = -1;
|
||||
int j1 = -1;
|
||||
int k1 = -1;
|
||||
if (super.anInt1526 >= 0 && super.anInt1529 == 0) {
|
||||
Class20 class20 = Class20.aClass20Array351[super.anInt1526];
|
||||
k = class20.anIntArray353[super.anInt1527];
|
||||
if (super.anInt1517 >= 0 && super.anInt1517 != super.anInt1511) {
|
||||
i1 = Class20.aClass20Array351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
if (class20.anInt360 >= 0) {
|
||||
j1 = class20.anInt360;
|
||||
l += j1 - anIntArray1717[5] << 8;
|
||||
}
|
||||
if (class20.anInt361 >= 0) {
|
||||
k1 = class20.anInt361;
|
||||
l += k1 - anIntArray1717[3] << 16;
|
||||
}
|
||||
} else if (super.anInt1517 >= 0) {
|
||||
k = Class20.aClass20Array351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = (Class30_Sub2_Sub4_Sub6) aClass12_1704.method222(l);
|
||||
if (class30_sub2_sub4_sub6_1 == null) {
|
||||
boolean flag = false;
|
||||
for (int i2 = 0; i2 < 12; i2++) {
|
||||
int k2 = anIntArray1717[i2];
|
||||
if (k1 >= 0 && i2 == 3) {
|
||||
k2 = k1;
|
||||
}
|
||||
if (j1 >= 0 && i2 == 5) {
|
||||
k2 = j1;
|
||||
}
|
||||
if (k2 >= 256 && k2 < 512 && !Class38.aClass38Array656[k2 - 256].method537()) {
|
||||
flag = true;
|
||||
}
|
||||
if (k2 >= 512 && !Class8.method198(k2 - 512).method195(anInt1702)) {
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
if (aLong1697 != -1L) {
|
||||
class30_sub2_sub4_sub6_1 = (Class30_Sub2_Sub4_Sub6) aClass12_1704.method222(aLong1697);
|
||||
}
|
||||
if (class30_sub2_sub4_sub6_1 == null) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (class30_sub2_sub4_sub6_1 == null) {
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6[12];
|
||||
int j2 = 0;
|
||||
for (int l2 = 0; l2 < 12; l2++) {
|
||||
int i3 = anIntArray1717[l2];
|
||||
if (k1 >= 0 && l2 == 3) {
|
||||
i3 = k1;
|
||||
}
|
||||
if (j1 >= 0 && l2 == 5) {
|
||||
i3 = j1;
|
||||
}
|
||||
if (i3 >= 256 && i3 < 512) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_3 = Class38.aClass38Array656[i3 - 256].method538();
|
||||
if (class30_sub2_sub4_sub6_3 != null) {
|
||||
aclass30_sub2_sub4_sub6[j2++] = class30_sub2_sub4_sub6_3;
|
||||
}
|
||||
}
|
||||
if (i3 >= 512) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_4 = Class8.method198(i3 - 512).method196(anInt1702);
|
||||
if (class30_sub2_sub4_sub6_4 != null) {
|
||||
aclass30_sub2_sub4_sub6[j2++] = class30_sub2_sub4_sub6_4;
|
||||
}
|
||||
}
|
||||
}
|
||||
class30_sub2_sub4_sub6_1 = new Class30_Sub2_Sub4_Sub6(j2, aclass30_sub2_sub4_sub6);
|
||||
for (int j3 = 0; j3 < 5; j3++) {
|
||||
if (anIntArray1700[j3] != 0) {
|
||||
class30_sub2_sub4_sub6_1.method476(client.anIntArrayArray1003[j3][0], client.anIntArrayArray1003[j3][anIntArray1700[j3]]);
|
||||
if (j3 == 1) {
|
||||
class30_sub2_sub4_sub6_1.method476(client.anIntArray1204[0], client.anIntArray1204[anIntArray1700[j3]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
class30_sub2_sub4_sub6_1.method469();
|
||||
class30_sub2_sub4_sub6_1.method479(64, 850, -30, -50, -30, true);
|
||||
aClass12_1704.method223(class30_sub2_sub4_sub6_1, l);
|
||||
aLong1697 = l;
|
||||
}
|
||||
if (aBoolean1699) {
|
||||
return class30_sub2_sub4_sub6_1;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_2 = Class30_Sub2_Sub4_Sub6.aClass30_Sub2_Sub4_Sub6_1621;
|
||||
class30_sub2_sub4_sub6_2.method464(class30_sub2_sub4_sub6_1, Class36.method532(k) & Class36.method532(i1));
|
||||
if (k != -1 && i1 != -1) {
|
||||
class30_sub2_sub4_sub6_2.method471(Class20.aClass20Array351[super.anInt1526].anIntArray357, i1, k);
|
||||
} else if (k != -1) {
|
||||
class30_sub2_sub4_sub6_2.method470(k);
|
||||
}
|
||||
class30_sub2_sub4_sub6_2.method466();
|
||||
class30_sub2_sub4_sub6_2.anIntArrayArray1658 = null;
|
||||
class30_sub2_sub4_sub6_2.anIntArrayArray1657 = null;
|
||||
return class30_sub2_sub4_sub6_2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean method449() {
|
||||
return aBoolean1710;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method453() {
|
||||
if (!aBoolean1710) {
|
||||
return null;
|
||||
}
|
||||
if (aClass5_1698 != null) {
|
||||
return aClass5_1698.method160();
|
||||
}
|
||||
boolean flag = false;
|
||||
for (int i = 0; i < 12; i++) {
|
||||
int j = anIntArray1717[i];
|
||||
if (j >= 256 && j < 512 && !Class38.aClass38Array656[j - 256].method539()) {
|
||||
flag = true;
|
||||
}
|
||||
if (j >= 512 && !Class8.method198(j - 512).method192(anInt1702)) {
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
return null;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6[12];
|
||||
int k = 0;
|
||||
for (int l = 0; l < 12; l++) {
|
||||
int i1 = anIntArray1717[l];
|
||||
if (i1 >= 256 && i1 < 512) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = Class38.aClass38Array656[i1 - 256].method540();
|
||||
if (class30_sub2_sub4_sub6_1 != null) {
|
||||
aclass30_sub2_sub4_sub6[k++] = class30_sub2_sub4_sub6_1;
|
||||
}
|
||||
}
|
||||
if (i1 >= 512) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_2 = Class8.method198(i1 - 512).method194(anInt1702);
|
||||
if (class30_sub2_sub4_sub6_2 != null) {
|
||||
aclass30_sub2_sub4_sub6[k++] = class30_sub2_sub4_sub6_2;
|
||||
}
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(k, aclass30_sub2_sub4_sub6);
|
||||
for (int j1 = 0; j1 < 5; j1++) {
|
||||
if (anIntArray1700[j1] != 0) {
|
||||
class30_sub2_sub4_sub6.method476(client.anIntArrayArray1003[j1][0], client.anIntArrayArray1003[j1][anIntArray1700[j1]]);
|
||||
if (j1 == 1) {
|
||||
class30_sub2_sub4_sub6.method476(client.anIntArray1204[0], client.anIntArray1204[anIntArray1700[j1]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub4_Sub2 extends Class30_Sub2_Sub4 {
|
||||
|
||||
public int anInt1558;
|
||||
public int anInt1559;
|
||||
|
||||
public Class30_Sub2_Sub4_Sub2() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class30_Sub2_Sub4_Sub6 method444() {
|
||||
Class8 class8 = Class8.method198(anInt1558);
|
||||
return class8.method201(anInt1559);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,72 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub4_Sub3 extends Class30_Sub2_Sub4 {
|
||||
|
||||
public final int anInt1560;
|
||||
public final int anInt1561;
|
||||
public final int anInt1562;
|
||||
public final int anInt1563;
|
||||
public final int anInt1564;
|
||||
public boolean aBoolean1567 = false;
|
||||
public final Class23 aClass23_1568;
|
||||
public int anInt1569;
|
||||
public int anInt1570;
|
||||
|
||||
public Class30_Sub2_Sub4_Sub3(int i, int j, int l, int i1, int j1, int k1, int l1) {
|
||||
aClass23_1568 = Class23.aClass23Array403[i1];
|
||||
anInt1560 = i;
|
||||
anInt1561 = l1;
|
||||
anInt1562 = k1;
|
||||
anInt1563 = j1;
|
||||
anInt1564 = j + l;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class30_Sub2_Sub4_Sub6 method444() {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = aClass23_1568.method266();
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
return null;
|
||||
}
|
||||
int j = aClass23_1568.aClass20_407.anIntArray353[anInt1569];
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = new Class30_Sub2_Sub4_Sub6(true, Class36.method532(j), false, class30_sub2_sub4_sub6);
|
||||
if (!aBoolean1567) {
|
||||
class30_sub2_sub4_sub6_1.method469();
|
||||
class30_sub2_sub4_sub6_1.method470(j);
|
||||
class30_sub2_sub4_sub6_1.anIntArrayArray1658 = null;
|
||||
class30_sub2_sub4_sub6_1.anIntArrayArray1657 = null;
|
||||
}
|
||||
if (aClass23_1568.anInt410 != 128 || aClass23_1568.anInt411 != 128) {
|
||||
class30_sub2_sub4_sub6_1.method478(aClass23_1568.anInt410, aClass23_1568.anInt410, aClass23_1568.anInt411);
|
||||
}
|
||||
if (aClass23_1568.anInt412 != 0) {
|
||||
if (aClass23_1568.anInt412 == 90) {
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
}
|
||||
if (aClass23_1568.anInt412 == 180) {
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
}
|
||||
if (aClass23_1568.anInt412 == 270) {
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
class30_sub2_sub4_sub6_1.method473();
|
||||
}
|
||||
}
|
||||
class30_sub2_sub4_sub6_1.method479(64 + aClass23_1568.anInt413, 850 + aClass23_1568.anInt414, -30, -50, -30, true);
|
||||
return class30_sub2_sub4_sub6_1;
|
||||
}
|
||||
|
||||
public void method454(int i) {
|
||||
for (anInt1570 += i; anInt1570 > aClass23_1568.aClass20_407.method258(anInt1569); ) {
|
||||
anInt1570 -= aClass23_1568.aClass20_407.method258(anInt1569) + 1;
|
||||
anInt1569++;
|
||||
if (anInt1569 >= aClass23_1568.aClass20_407.anInt352 && (anInt1569 < 0 || anInt1569 >= aClass23_1568.aClass20_407.anInt352)) {
|
||||
anInt1569 = 0;
|
||||
aBoolean1567 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -10,12 +10,12 @@ public class Class30_Sub3 extends Class30 {
|
||||
public final int anInt1310;
|
||||
public Class43 aClass43_1311;
|
||||
public Class40 aClass40_1312;
|
||||
public Class10 aClass10_1313;
|
||||
public Class26 aClass26_1314;
|
||||
public SceneWall aWall_1313;
|
||||
public SceneWallDecoration aWallDecoration_1314;
|
||||
public Class49 aClass49_1315;
|
||||
public Class3 aClass3_1316;
|
||||
public SceneObjStack aObjStack_1316;
|
||||
public int anInt1317;
|
||||
public final Class28[] aClass28Array1318 = new Class28[5];
|
||||
public final SceneLoc[] aLocArray1318 = new SceneLoc[5];
|
||||
public final int[] anIntArray1319 = new int[5];
|
||||
public int anInt1320;
|
||||
public int anInt1321;
|
||||
|
||||
+32
-32
@@ -13,65 +13,65 @@ public class Class34 {
|
||||
public static int[] anIntArray625;
|
||||
|
||||
public static void method487(Class44 class44) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("fragmentsenc.txt", null));
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_1 = new Class30_Sub2_Sub2(class44.method571("badenc.txt", null));
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_2 = new Class30_Sub2_Sub2(class44.method571("domainenc.txt", null));
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_3 = new Class30_Sub2_Sub2(class44.method571("tldlist.txt", null));
|
||||
method488(class30_sub2_sub2, class30_sub2_sub2_1, class30_sub2_sub2_2, class30_sub2_sub2_3);
|
||||
Buffer buffer = new Buffer(class44.method571("fragmentsenc.txt", null));
|
||||
Buffer buffer_1 = new Buffer(class44.method571("badenc.txt", null));
|
||||
Buffer class30_sub2_sub2_2 = new Buffer(class44.method571("domainenc.txt", null));
|
||||
Buffer buffer_3 = new Buffer(class44.method571("tldlist.txt", null));
|
||||
method488(buffer, buffer_1, class30_sub2_sub2_2, buffer_3);
|
||||
}
|
||||
|
||||
public static void method488(Class30_Sub2_Sub2 class30_sub2_sub2, Class30_Sub2_Sub2 class30_sub2_sub2_1, Class30_Sub2_Sub2 class30_sub2_sub2_2, Class30_Sub2_Sub2 class30_sub2_sub2_3) {
|
||||
method490(class30_sub2_sub2_1);
|
||||
public static void method488(Buffer buffer, Buffer buffer_1, Buffer class30_sub2_sub2_2, Buffer buffer_3) {
|
||||
method490(buffer_1);
|
||||
method491(class30_sub2_sub2_2);
|
||||
method492(class30_sub2_sub2);
|
||||
method489(class30_sub2_sub2_3);
|
||||
method492(buffer);
|
||||
method489(buffer_3);
|
||||
}
|
||||
|
||||
public static void method489(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
int i = class30_sub2_sub2.method413();
|
||||
public static void method489(Buffer buffer) {
|
||||
int i = buffer.method413();
|
||||
aCharArrayArray624 = new char[i][];
|
||||
anIntArray625 = new int[i];
|
||||
for (int j = 0; j < i; j++) {
|
||||
anIntArray625[j] = class30_sub2_sub2.method408();
|
||||
char[] ac = new char[class30_sub2_sub2.method408()];
|
||||
anIntArray625[j] = buffer.method408();
|
||||
char[] ac = new char[buffer.method408()];
|
||||
for (int k = 0; k < ac.length; k++) {
|
||||
ac[k] = (char) class30_sub2_sub2.method408();
|
||||
ac[k] = (char) buffer.method408();
|
||||
}
|
||||
aCharArrayArray624[j] = ac;
|
||||
}
|
||||
}
|
||||
|
||||
public static void method490(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
int j = class30_sub2_sub2.method413();
|
||||
public static void method490(Buffer buffer) {
|
||||
int j = buffer.method413();
|
||||
aCharArrayArray621 = new char[j][];
|
||||
aByteArrayArrayArray622 = new byte[j][][];
|
||||
method493(class30_sub2_sub2, aCharArrayArray621, aByteArrayArrayArray622);
|
||||
method493(buffer, aCharArrayArray621, aByteArrayArrayArray622);
|
||||
}
|
||||
|
||||
public static void method491(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
int i = class30_sub2_sub2.method413();
|
||||
public static void method491(Buffer buffer) {
|
||||
int i = buffer.method413();
|
||||
aCharArrayArray623 = new char[i][];
|
||||
method494(aCharArrayArray623, class30_sub2_sub2, -490);
|
||||
method494(aCharArrayArray623, buffer, -490);
|
||||
}
|
||||
|
||||
public static void method492(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
anIntArray620 = new int[class30_sub2_sub2.method413()];
|
||||
public static void method492(Buffer buffer) {
|
||||
anIntArray620 = new int[buffer.method413()];
|
||||
for (int i = 0; i < anIntArray620.length; i++) {
|
||||
anIntArray620[i] = class30_sub2_sub2.method410();
|
||||
anIntArray620[i] = buffer.method410();
|
||||
}
|
||||
}
|
||||
|
||||
public static void method493(Class30_Sub2_Sub2 class30_sub2_sub2, char[][] ac, byte[][][] abyte0) {
|
||||
public static void method493(Buffer buffer, char[][] ac, byte[][][] abyte0) {
|
||||
for (int j = 0; j < ac.length; j++) {
|
||||
char[] ac1 = new char[class30_sub2_sub2.method408()];
|
||||
char[] ac1 = new char[buffer.method408()];
|
||||
for (int k = 0; k < ac1.length; k++) {
|
||||
ac1[k] = (char) class30_sub2_sub2.method408();
|
||||
ac1[k] = (char) buffer.method408();
|
||||
}
|
||||
ac[j] = ac1;
|
||||
byte[][] abyte1 = new byte[class30_sub2_sub2.method408()][2];
|
||||
byte[][] abyte1 = new byte[buffer.method408()][2];
|
||||
for (int l = 0; l < abyte1.length; l++) {
|
||||
abyte1[l][0] = (byte) class30_sub2_sub2.method408();
|
||||
abyte1[l][1] = (byte) class30_sub2_sub2.method408();
|
||||
abyte1[l][0] = (byte) buffer.method408();
|
||||
abyte1[l][1] = (byte) buffer.method408();
|
||||
}
|
||||
if (abyte1.length > 0) {
|
||||
abyte0[j] = abyte1;
|
||||
@@ -79,14 +79,14 @@ public class Class34 {
|
||||
}
|
||||
}
|
||||
|
||||
public static void method494(char[][] ac, Class30_Sub2_Sub2 class30_sub2_sub2, int i) {
|
||||
public static void method494(char[][] ac, Buffer buffer, int i) {
|
||||
if (i >= 0) {
|
||||
return;
|
||||
}
|
||||
for (int j = 0; j < ac.length; j++) {
|
||||
char[] ac1 = new char[class30_sub2_sub2.method408()];
|
||||
char[] ac1 = new char[buffer.method408()];
|
||||
for (int k = 0; k < ac1.length; k++) {
|
||||
ac1[k] = (char) class30_sub2_sub2.method408();
|
||||
ac1[k] = (char) buffer.method408();
|
||||
}
|
||||
ac[j] = ac1;
|
||||
}
|
||||
|
||||
+13
-13
@@ -5,14 +5,14 @@
|
||||
public class Class35 {
|
||||
|
||||
public static final char[] aCharArray631 = new char[100];
|
||||
public static final Class30_Sub2_Sub2 aClass30_Sub2_Sub2_632 = new Class30_Sub2_Sub2(new byte[100]);
|
||||
public static final Buffer A_BUFFER___632 = new Buffer(new byte[100]);
|
||||
public static final char[] aCharArray633 = {' ', 'e', 't', 'a', 'o', 'i', 'h', 'n', 's', 'r', 'd', 'l', 'u', 'm', 'w', 'c', 'y', 'f', 'g', 'p', 'b', 'v', 'k', 'x', 'j', 'q', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ' ', '!', '?', '.', ',', ':', ';', '(', ')', '-', '&', '*', '\\', '\'', '@', '#', '+', '=', '\243', '$', '%', '"', '[', ']'};
|
||||
|
||||
public static String method525(int i, Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
public static String method525(int i, Buffer buffer) {
|
||||
int j = 0;
|
||||
int k = -1;
|
||||
for (int l = 0; l < i; l++) {
|
||||
int i1 = class30_sub2_sub2.method408();
|
||||
int i1 = buffer.method408();
|
||||
int j1 = i1 >> 4 & 0xf;
|
||||
if (k == -1) {
|
||||
if (j1 < 13) {
|
||||
@@ -50,7 +50,7 @@ public class Class35 {
|
||||
return new String(aCharArray631, 0, j);
|
||||
}
|
||||
|
||||
public static void method526(String s, Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
public static void method526(String s, Buffer buffer) {
|
||||
if (s.length() > 80) {
|
||||
s = s.substring(0, 80);
|
||||
}
|
||||
@@ -73,27 +73,27 @@ public class Class35 {
|
||||
if (k < 13) {
|
||||
i = k;
|
||||
} else {
|
||||
class30_sub2_sub2.method398(k);
|
||||
buffer.method398(k);
|
||||
}
|
||||
} else if (k < 13) {
|
||||
class30_sub2_sub2.method398((i << 4) + k);
|
||||
buffer.method398((i << 4) + k);
|
||||
i = -1;
|
||||
} else {
|
||||
class30_sub2_sub2.method398((i << 4) + (k >> 4));
|
||||
buffer.method398((i << 4) + (k >> 4));
|
||||
i = k & 0xf;
|
||||
}
|
||||
}
|
||||
if (i != -1) {
|
||||
class30_sub2_sub2.method398(i << 4);
|
||||
buffer.method398(i << 4);
|
||||
}
|
||||
}
|
||||
|
||||
public static String method527(String s) {
|
||||
aClass30_Sub2_Sub2_632.anInt1406 = 0;
|
||||
method526(s, aClass30_Sub2_Sub2_632);
|
||||
int j = aClass30_Sub2_Sub2_632.anInt1406;
|
||||
aClass30_Sub2_Sub2_632.anInt1406 = 0;
|
||||
return method525(j, aClass30_Sub2_Sub2_632);
|
||||
A_BUFFER___632.anInt1406 = 0;
|
||||
method526(s, A_BUFFER___632);
|
||||
int j = A_BUFFER___632.anInt1406;
|
||||
A_BUFFER___632.anInt1406 = 0;
|
||||
return method525(j, A_BUFFER___632);
|
||||
}
|
||||
|
||||
}
|
||||
+29
-29
@@ -7,7 +7,7 @@ public class Class36 {
|
||||
public static Class36[] aClass36Array635;
|
||||
public static boolean[] aBooleanArray643;
|
||||
public int anInt636;
|
||||
public Class18 aClass18_637;
|
||||
public SeqSkeleton aSkeleton_637;
|
||||
public int anInt638;
|
||||
public int[] anIntArray639;
|
||||
public int[] anIntArray640;
|
||||
@@ -26,47 +26,47 @@ public class Class36 {
|
||||
}
|
||||
|
||||
public static void method529(byte[] abyte0) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(abyte0);
|
||||
class30_sub2_sub2.anInt1406 = abyte0.length - 8;
|
||||
int i = class30_sub2_sub2.method410();
|
||||
int j = class30_sub2_sub2.method410();
|
||||
int k = class30_sub2_sub2.method410();
|
||||
int l = class30_sub2_sub2.method410();
|
||||
Buffer buffer = new Buffer(abyte0);
|
||||
buffer.anInt1406 = abyte0.length - 8;
|
||||
int i = buffer.method410();
|
||||
int j = buffer.method410();
|
||||
int k = buffer.method410();
|
||||
int l = buffer.method410();
|
||||
int i1 = 0;
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_1 = new Class30_Sub2_Sub2(abyte0);
|
||||
class30_sub2_sub2_1.anInt1406 = i1;
|
||||
Buffer buffer_1 = new Buffer(abyte0);
|
||||
buffer_1.anInt1406 = i1;
|
||||
i1 += i + 2;
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_2 = new Class30_Sub2_Sub2(abyte0);
|
||||
Buffer class30_sub2_sub2_2 = new Buffer(abyte0);
|
||||
class30_sub2_sub2_2.anInt1406 = i1;
|
||||
i1 += j;
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_3 = new Class30_Sub2_Sub2(abyte0);
|
||||
class30_sub2_sub2_3.anInt1406 = i1;
|
||||
Buffer buffer_3 = new Buffer(abyte0);
|
||||
buffer_3.anInt1406 = i1;
|
||||
i1 += k;
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_4 = new Class30_Sub2_Sub2(abyte0);
|
||||
class30_sub2_sub2_4.anInt1406 = i1;
|
||||
Buffer buffer_4 = new Buffer(abyte0);
|
||||
buffer_4.anInt1406 = i1;
|
||||
i1 += l;
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_5 = new Class30_Sub2_Sub2(abyte0);
|
||||
class30_sub2_sub2_5.anInt1406 = i1;
|
||||
Class18 class18 = new Class18(class30_sub2_sub2_5);
|
||||
int k1 = class30_sub2_sub2_1.method410();
|
||||
Buffer buffer_5 = new Buffer(abyte0);
|
||||
buffer_5.anInt1406 = i1;
|
||||
SeqSkeleton skeleton = new SeqSkeleton(buffer_5);
|
||||
int k1 = buffer_1.method410();
|
||||
int[] ai = new int[500];
|
||||
int[] ai1 = new int[500];
|
||||
int[] ai2 = new int[500];
|
||||
int[] ai3 = new int[500];
|
||||
for (int l1 = 0; l1 < k1; l1++) {
|
||||
int i2 = class30_sub2_sub2_1.method410();
|
||||
int i2 = buffer_1.method410();
|
||||
Class36 class36 = aClass36Array635[i2] = new Class36();
|
||||
class36.anInt636 = class30_sub2_sub2_4.method408();
|
||||
class36.aClass18_637 = class18;
|
||||
int j2 = class30_sub2_sub2_1.method408();
|
||||
class36.anInt636 = buffer_4.method408();
|
||||
class36.aSkeleton_637 = skeleton;
|
||||
int j2 = buffer_1.method408();
|
||||
int k2 = -1;
|
||||
int l2 = 0;
|
||||
for (int i3 = 0; i3 < j2; i3++) {
|
||||
int j3 = class30_sub2_sub2_2.method408();
|
||||
if (j3 > 0) {
|
||||
if (class18.anIntArray342[i3] != 0) {
|
||||
if (skeleton.anIntArray342[i3] != 0) {
|
||||
for (int l3 = i3 - 1; l3 > k2; l3--) {
|
||||
if (class18.anIntArray342[l3] != 0) {
|
||||
if (skeleton.anIntArray342[l3] != 0) {
|
||||
continue;
|
||||
}
|
||||
ai[l2] = l3;
|
||||
@@ -79,27 +79,27 @@ public class Class36 {
|
||||
}
|
||||
ai[l2] = i3;
|
||||
char c = '\0';
|
||||
if (class18.anIntArray342[i3] == 3) {
|
||||
if (skeleton.anIntArray342[i3] == 3) {
|
||||
c = '\200';
|
||||
}
|
||||
if ((j3 & 1) != 0) {
|
||||
ai1[l2] = class30_sub2_sub2_3.method421();
|
||||
ai1[l2] = buffer_3.method421();
|
||||
} else {
|
||||
ai1[l2] = c;
|
||||
}
|
||||
if ((j3 & 2) != 0) {
|
||||
ai2[l2] = class30_sub2_sub2_3.method421();
|
||||
ai2[l2] = buffer_3.method421();
|
||||
} else {
|
||||
ai2[l2] = c;
|
||||
}
|
||||
if ((j3 & 4) != 0) {
|
||||
ai3[l2] = class30_sub2_sub2_3.method421();
|
||||
ai3[l2] = buffer_3.method421();
|
||||
} else {
|
||||
ai3[l2] = c;
|
||||
}
|
||||
k2 = i3;
|
||||
l2++;
|
||||
if (class18.anIntArray342[i3] == 5) {
|
||||
if (skeleton.anIntArray342[i3] == 5) {
|
||||
aBooleanArray643[i2] = false;
|
||||
}
|
||||
}
|
||||
|
||||
+12
-12
@@ -18,8 +18,8 @@ public class Class37 {
|
||||
}
|
||||
|
||||
public static void method533(Class44 class44) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("varbit.dat", null));
|
||||
anInt645 = class30_sub2_sub2.method410();
|
||||
Buffer buffer = new Buffer(class44.method571("varbit.dat", null));
|
||||
anInt645 = buffer.method410();
|
||||
if (aClass37Array646 == null) {
|
||||
aClass37Array646 = new Class37[anInt645];
|
||||
}
|
||||
@@ -27,34 +27,34 @@ public class Class37 {
|
||||
if (aClass37Array646[j] == null) {
|
||||
aClass37Array646[j] = new Class37();
|
||||
}
|
||||
aClass37Array646[j].method534(class30_sub2_sub2);
|
||||
aClass37Array646[j].method534(buffer);
|
||||
if (aClass37Array646[j].aBoolean651) {
|
||||
Class41.aClass41Array701[aClass37Array646[j].anInt648].unusedBool3 = true;
|
||||
}
|
||||
}
|
||||
if (class30_sub2_sub2.anInt1406 != class30_sub2_sub2.aByteArray1405.length) {
|
||||
if (buffer.anInt1406 != buffer.aByteArray1405.length) {
|
||||
System.out.println("varbit load mismatch");
|
||||
}
|
||||
}
|
||||
|
||||
public void method534(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
public void method534(Buffer buffer) {
|
||||
do {
|
||||
int j = class30_sub2_sub2.method408();
|
||||
int j = buffer.method408();
|
||||
if (j == 0) {
|
||||
return;
|
||||
}
|
||||
if (j == 1) {
|
||||
anInt648 = class30_sub2_sub2.method410();
|
||||
anInt649 = class30_sub2_sub2.method408();
|
||||
anInt650 = class30_sub2_sub2.method408();
|
||||
anInt648 = buffer.method410();
|
||||
anInt649 = buffer.method408();
|
||||
anInt650 = buffer.method408();
|
||||
} else if (j == 10) {
|
||||
unusedString = class30_sub2_sub2.method415();
|
||||
unusedString = buffer.method415();
|
||||
} else if (j == 2) {
|
||||
aBoolean651 = true;
|
||||
} else if (j == 3) {
|
||||
unusedInt0 = class30_sub2_sub2.method413();
|
||||
unusedInt0 = buffer.method413();
|
||||
} else if (j == 4) {
|
||||
unusedInt1 = class30_sub2_sub2.method413();
|
||||
unusedInt1 = buffer.method413();
|
||||
} else {
|
||||
System.out.println("Error unrecognised config code: " + j);
|
||||
}
|
||||
|
||||
+27
-27
@@ -17,8 +17,8 @@ public class Class38 {
|
||||
}
|
||||
|
||||
public static void method535(Class44 class44) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("idk.dat", null));
|
||||
anInt655 = class30_sub2_sub2.method410();
|
||||
Buffer buffer = new Buffer(class44.method571("idk.dat", null));
|
||||
anInt655 = buffer.method410();
|
||||
if (aClass38Array656 == null) {
|
||||
aClass38Array656 = new Class38[anInt655];
|
||||
}
|
||||
@@ -26,32 +26,32 @@ public class Class38 {
|
||||
if (aClass38Array656[j] == null) {
|
||||
aClass38Array656[j] = new Class38();
|
||||
}
|
||||
aClass38Array656[j].method536(class30_sub2_sub2);
|
||||
aClass38Array656[j].method536(buffer);
|
||||
}
|
||||
}
|
||||
|
||||
public void method536(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
public void method536(Buffer buffer) {
|
||||
do {
|
||||
int i = class30_sub2_sub2.method408();
|
||||
int i = buffer.method408();
|
||||
if (i == 0) {
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
anInt657 = class30_sub2_sub2.method408();
|
||||
anInt657 = buffer.method408();
|
||||
} else if (i == 2) {
|
||||
int j = class30_sub2_sub2.method408();
|
||||
int j = buffer.method408();
|
||||
anIntArray658 = new int[j];
|
||||
for (int k = 0; k < j; k++) {
|
||||
anIntArray658[k] = class30_sub2_sub2.method410();
|
||||
anIntArray658[k] = buffer.method410();
|
||||
}
|
||||
} else if (i == 3) {
|
||||
aBoolean662 = true;
|
||||
} else if (i >= 40 && i < 50) {
|
||||
anIntArray659[i - 40] = class30_sub2_sub2.method410();
|
||||
anIntArray659[i - 40] = buffer.method410();
|
||||
} else if (i >= 50 && i < 60) {
|
||||
anIntArray660[i - 50] = class30_sub2_sub2.method410();
|
||||
anIntArray660[i - 50] = buffer.method410();
|
||||
} else if (i >= 60 && i < 70) {
|
||||
anIntArray661[i - 60] = class30_sub2_sub2.method410();
|
||||
anIntArray661[i - 60] = buffer.method410();
|
||||
} else {
|
||||
System.out.println("Error unrecognised config code: " + i);
|
||||
}
|
||||
@@ -64,62 +64,62 @@ public class Class38 {
|
||||
}
|
||||
boolean flag = true;
|
||||
for (int i : anIntArray658) {
|
||||
if (!Class30_Sub2_Sub4_Sub6.method463(i)) {
|
||||
if (!Model.method463(i)) {
|
||||
flag = false;
|
||||
}
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method538() {
|
||||
public Model method538() {
|
||||
if (anIntArray658 == null) {
|
||||
return null;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6[anIntArray658.length];
|
||||
Model[] aclass30_sub2_sub4_sub6 = new Model[anIntArray658.length];
|
||||
for (int i = 0; i < anIntArray658.length; i++) {
|
||||
aclass30_sub2_sub4_sub6[i] = Class30_Sub2_Sub4_Sub6.method462(anIntArray658[i]);
|
||||
aclass30_sub2_sub4_sub6[i] = Model.method462(anIntArray658[i]);
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6;
|
||||
Model model;
|
||||
if (aclass30_sub2_sub4_sub6.length == 1) {
|
||||
class30_sub2_sub4_sub6 = aclass30_sub2_sub4_sub6[0];
|
||||
model = aclass30_sub2_sub4_sub6[0];
|
||||
} else {
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(aclass30_sub2_sub4_sub6.length, aclass30_sub2_sub4_sub6);
|
||||
model = new Model(aclass30_sub2_sub4_sub6.length, aclass30_sub2_sub4_sub6);
|
||||
}
|
||||
for (int j = 0; j < 6; j++) {
|
||||
if (anIntArray659[j] == 0) {
|
||||
break;
|
||||
}
|
||||
class30_sub2_sub4_sub6.method476(anIntArray659[j], anIntArray660[j]);
|
||||
model.method476(anIntArray659[j], anIntArray660[j]);
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
return model;
|
||||
}
|
||||
|
||||
public boolean method539() {
|
||||
boolean flag1 = true;
|
||||
for (int i = 0; i < 5; i++) {
|
||||
if (anIntArray661[i] != -1 && !Class30_Sub2_Sub4_Sub6.method463(anIntArray661[i])) {
|
||||
if (anIntArray661[i] != -1 && !Model.method463(anIntArray661[i])) {
|
||||
flag1 = false;
|
||||
}
|
||||
}
|
||||
return flag1;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method540() {
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6[5];
|
||||
public Model method540() {
|
||||
Model[] aclass30_sub2_sub4_sub6 = new Model[5];
|
||||
int j = 0;
|
||||
for (int k = 0; k < 5; k++) {
|
||||
if (anIntArray661[k] != -1) {
|
||||
aclass30_sub2_sub4_sub6[j++] = Class30_Sub2_Sub4_Sub6.method462(anIntArray661[k]);
|
||||
aclass30_sub2_sub4_sub6[j++] = Model.method462(anIntArray661[k]);
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(j, aclass30_sub2_sub4_sub6);
|
||||
Model model = new Model(j, aclass30_sub2_sub4_sub6);
|
||||
for (int l = 0; l < 6; l++) {
|
||||
if (anIntArray659[l] == 0) {
|
||||
break;
|
||||
}
|
||||
class30_sub2_sub4_sub6.method476(anIntArray659[l], anIntArray660[l]);
|
||||
model.method476(anIntArray659[l], anIntArray660[l]);
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
return model;
|
||||
}
|
||||
|
||||
}
|
||||
+10
-10
@@ -69,25 +69,25 @@ public class Class39 {
|
||||
return anIntArray665[i] * 2;
|
||||
}
|
||||
|
||||
public void method545(Class30_Sub2_Sub2 class30_sub2_sub2, Class29 class29) {
|
||||
int i = class30_sub2_sub2.method408();
|
||||
public void method545(Buffer buffer, SoundEnvelope envelope) {
|
||||
int i = buffer.method408();
|
||||
anIntArray665[0] = i >> 4;
|
||||
anIntArray665[1] = i & 0xf;
|
||||
if (i != 0) {
|
||||
anIntArray668[0] = class30_sub2_sub2.method410();
|
||||
anIntArray668[1] = class30_sub2_sub2.method410();
|
||||
int j = class30_sub2_sub2.method408();
|
||||
anIntArray668[0] = buffer.method410();
|
||||
anIntArray668[1] = buffer.method410();
|
||||
int j = buffer.method408();
|
||||
for (int k = 0; k < 2; k++) {
|
||||
for (int l = 0; l < anIntArray665[k]; l++) {
|
||||
anIntArrayArrayArray666[k][0][l] = class30_sub2_sub2.method410();
|
||||
anIntArrayArrayArray667[k][0][l] = class30_sub2_sub2.method410();
|
||||
anIntArrayArrayArray666[k][0][l] = buffer.method410();
|
||||
anIntArrayArrayArray667[k][0][l] = buffer.method410();
|
||||
}
|
||||
}
|
||||
for (int i1 = 0; i1 < 2; i1++) {
|
||||
for (int j1 = 0; j1 < anIntArray665[i1]; j1++) {
|
||||
if ((j & 1 << i1 * 4 << j1) != 0) {
|
||||
anIntArrayArrayArray666[i1][1][j1] = class30_sub2_sub2.method410();
|
||||
anIntArrayArrayArray667[i1][1][j1] = class30_sub2_sub2.method410();
|
||||
anIntArrayArrayArray666[i1][1][j1] = buffer.method410();
|
||||
anIntArrayArrayArray667[i1][1][j1] = buffer.method410();
|
||||
} else {
|
||||
anIntArrayArrayArray666[i1][1][j1] = anIntArrayArrayArray666[i1][0][j1];
|
||||
anIntArrayArrayArray667[i1][1][j1] = anIntArrayArrayArray667[i1][0][j1];
|
||||
@@ -95,7 +95,7 @@ public class Class39 {
|
||||
}
|
||||
}
|
||||
if (j != 0 || anIntArray668[1] != anIntArray668[0]) {
|
||||
class29.method326(class30_sub2_sub2);
|
||||
envelope.method326(buffer);
|
||||
}
|
||||
} else {
|
||||
anIntArray668[0] = anIntArray668[1] = 0;
|
||||
|
||||
+12
-12
@@ -25,9 +25,9 @@ public class Class41 {
|
||||
}
|
||||
|
||||
public static void method546(Class44 class44) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("varp.dat", null));
|
||||
Buffer buffer = new Buffer(class44.method571("varp.dat", null));
|
||||
anInt702 = 0;
|
||||
anInt700 = class30_sub2_sub2.method410();
|
||||
anInt700 = buffer.method410();
|
||||
if (aClass41Array701 == null) {
|
||||
aClass41Array701 = new Class41[anInt700];
|
||||
}
|
||||
@@ -38,43 +38,43 @@ public class Class41 {
|
||||
if (aClass41Array701[j] == null) {
|
||||
aClass41Array701[j] = new Class41();
|
||||
}
|
||||
aClass41Array701[j].method547(class30_sub2_sub2, j);
|
||||
aClass41Array701[j].method547(buffer, j);
|
||||
}
|
||||
if (class30_sub2_sub2.anInt1406 != class30_sub2_sub2.aByteArray1405.length) {
|
||||
if (buffer.anInt1406 != buffer.aByteArray1405.length) {
|
||||
System.out.println("varptype load mismatch");
|
||||
}
|
||||
}
|
||||
|
||||
public void method547(Class30_Sub2_Sub2 class30_sub2_sub2, int i) {
|
||||
public void method547(Buffer buffer, int i) {
|
||||
do {
|
||||
int j = class30_sub2_sub2.method408();
|
||||
int j = buffer.method408();
|
||||
if (j == 0) {
|
||||
return;
|
||||
}
|
||||
if (j == 1) {
|
||||
unusedInt0 = class30_sub2_sub2.method408();
|
||||
unusedInt0 = buffer.method408();
|
||||
} else if (j == 2) {
|
||||
unusedInt1 = class30_sub2_sub2.method408();
|
||||
unusedInt1 = buffer.method408();
|
||||
} else if (j == 3) {
|
||||
unusedBool0 = true;
|
||||
anIntArray703[anInt702++] = i;
|
||||
} else if (j == 4) {
|
||||
unusedBool1 = false;
|
||||
} else if (j == 5) {
|
||||
anInt709 = class30_sub2_sub2.method410();
|
||||
anInt709 = buffer.method410();
|
||||
} else if (j == 6) {
|
||||
unusedBool2 = true;
|
||||
} else if (j == 7) {
|
||||
unusedInt2 = class30_sub2_sub2.method413();
|
||||
unusedInt2 = buffer.method413();
|
||||
} else if (j == 8) {
|
||||
unusedInt3 = 1;
|
||||
unusedBool3 = true;
|
||||
} else if (j == 10) {
|
||||
unusedString = class30_sub2_sub2.method415();
|
||||
unusedString = buffer.method415();
|
||||
} else if (j == 11) {
|
||||
unusedBool3 = true;
|
||||
} else if (j == 12) {
|
||||
unusedInt4 = class30_sub2_sub2.method413();
|
||||
unusedInt4 = buffer.method413();
|
||||
} else if (j == 13) {
|
||||
unusedInt3 = 2;
|
||||
} else {
|
||||
|
||||
+139
-139
@@ -15,7 +15,7 @@ import java.util.zip.GZIPInputStream;
|
||||
public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
|
||||
public int anInt1330;
|
||||
public final Class19 aClass19_1331 = new Class19();
|
||||
public final DoublyLinkedList aList_1331 = new DoublyLinkedList();
|
||||
public int anInt1332;
|
||||
public String aString1333 = "";
|
||||
public int anInt1334;
|
||||
@@ -25,8 +25,8 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
public final byte[] aByteArray1339 = new byte[500];
|
||||
public int anInt1341;
|
||||
public final byte[][] aByteArrayArray1342 = new byte[4][];
|
||||
public client aClient1343;
|
||||
public final Class19 aClass19_1344 = new Class19();
|
||||
public Game aGame1343;
|
||||
public final DoublyLinkedList aList_1344 = new DoublyLinkedList();
|
||||
public int anInt1346;
|
||||
public int anInt1347;
|
||||
public int[] anIntArray1348;
|
||||
@@ -37,19 +37,19 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
public OutputStream anOutputStream1354;
|
||||
public int[] anIntArray1356;
|
||||
public boolean aBoolean1357 = false;
|
||||
public final Class19 aClass19_1358 = new Class19();
|
||||
public final DoublyLinkedList aList_1358 = new DoublyLinkedList();
|
||||
public final byte[] aByteArray1359 = new byte[65000];
|
||||
public int[] anIntArray1360;
|
||||
public final Class2 aClass2_1361 = new Class2();
|
||||
public final LinkedList aLinkedList_1361 = new LinkedList();
|
||||
public InputStream anInputStream1362;
|
||||
public Socket aSocket1363;
|
||||
public final int[][] anIntArrayArray1364 = new int[4][];
|
||||
public final int[][] anIntArrayArray1365 = new int[4][];
|
||||
public int anInt1366;
|
||||
public int anInt1367;
|
||||
public final Class19 aClass19_1368 = new Class19();
|
||||
public Class30_Sub2_Sub3 aClass30_Sub2_Sub3_1369;
|
||||
public final Class19 aClass19_1370 = new Class19();
|
||||
public final DoublyLinkedList aList_1368 = new DoublyLinkedList();
|
||||
public OnDemandRequest aRequest_1369;
|
||||
public final DoublyLinkedList aList_1370 = new DoublyLinkedList();
|
||||
public int[] anIntArray1371;
|
||||
public byte[] aByteArray1372;
|
||||
public int anInt1373;
|
||||
@@ -83,33 +83,33 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
int j1 = ((aByteArray1339[1] & 0xff) << 8) + (aByteArray1339[2] & 0xff);
|
||||
int l1 = ((aByteArray1339[3] & 0xff) << 8) + (aByteArray1339[4] & 0xff);
|
||||
int i2 = aByteArray1339[5] & 0xff;
|
||||
aClass30_Sub2_Sub3_1369 = null;
|
||||
for (Class30_Sub2_Sub3 class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1331.method252(); class30_sub2_sub3 != null; class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1331.method254()) {
|
||||
if (class30_sub2_sub3.anInt1419 == l && class30_sub2_sub3.anInt1421 == j1) {
|
||||
aClass30_Sub2_Sub3_1369 = class30_sub2_sub3;
|
||||
aRequest_1369 = null;
|
||||
for (OnDemandRequest request = (OnDemandRequest) aList_1331.method252(); request != null; request = (OnDemandRequest) aList_1331.method254()) {
|
||||
if (request.anInt1419 == l && request.anInt1421 == j1) {
|
||||
aRequest_1369 = request;
|
||||
}
|
||||
if (aClass30_Sub2_Sub3_1369 != null) {
|
||||
class30_sub2_sub3.anInt1423 = 0;
|
||||
if (aRequest_1369 != null) {
|
||||
request.anInt1423 = 0;
|
||||
}
|
||||
}
|
||||
if (aClass30_Sub2_Sub3_1369 != null) {
|
||||
if (aRequest_1369 != null) {
|
||||
anInt1373 = 0;
|
||||
if (l1 == 0) {
|
||||
signlink.reporterror("Rej: " + l + "," + j1);
|
||||
aClass30_Sub2_Sub3_1369.aByteArray1420 = null;
|
||||
if (aClass30_Sub2_Sub3_1369.aBoolean1422) {
|
||||
synchronized (aClass19_1358) {
|
||||
aClass19_1358.method249(aClass30_Sub2_Sub3_1369);
|
||||
aRequest_1369.aByteArray1420 = null;
|
||||
if (aRequest_1369.aBoolean1422) {
|
||||
synchronized (aList_1358) {
|
||||
aList_1358.method249(aRequest_1369);
|
||||
}
|
||||
} else {
|
||||
aClass30_Sub2_Sub3_1369.method329();
|
||||
aRequest_1369.method329();
|
||||
}
|
||||
aClass30_Sub2_Sub3_1369 = null;
|
||||
aRequest_1369 = null;
|
||||
} else {
|
||||
if (aClass30_Sub2_Sub3_1369.aByteArray1420 == null && i2 == 0) {
|
||||
aClass30_Sub2_Sub3_1369.aByteArray1420 = new byte[l1];
|
||||
if (aRequest_1369.aByteArray1420 == null && i2 == 0) {
|
||||
aRequest_1369.aByteArray1420 = new byte[l1];
|
||||
}
|
||||
if (aClass30_Sub2_Sub3_1369.aByteArray1420 == null && i2 != 0) {
|
||||
if (aRequest_1369.aByteArray1420 == null && i2 != 0) {
|
||||
throw new IOException("missing start of file");
|
||||
}
|
||||
}
|
||||
@@ -124,26 +124,26 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
aBoolean1357 = true;
|
||||
byte[] abyte0 = aByteArray1339;
|
||||
int i1 = 0;
|
||||
if (aClass30_Sub2_Sub3_1369 != null) {
|
||||
abyte0 = aClass30_Sub2_Sub3_1369.aByteArray1420;
|
||||
if (aRequest_1369 != null) {
|
||||
abyte0 = aRequest_1369.aByteArray1420;
|
||||
i1 = anInt1346;
|
||||
}
|
||||
for (int k1 = 0; k1 < anInt1347; k1 += anInputStream1362.read(abyte0, k1 + i1, anInt1347 - k1)) {
|
||||
}
|
||||
if (anInt1347 + anInt1346 >= abyte0.length && aClass30_Sub2_Sub3_1369 != null) {
|
||||
if (aClient1343.aClass14Array970[0] != null) {
|
||||
aClient1343.aClass14Array970[aClass30_Sub2_Sub3_1369.anInt1419 + 1].method234(abyte0.length, abyte0, aClass30_Sub2_Sub3_1369.anInt1421);
|
||||
if (anInt1347 + anInt1346 >= abyte0.length && aRequest_1369 != null) {
|
||||
if (aGame1343.aFileStoreArray970[0] != null) {
|
||||
aGame1343.aFileStoreArray970[aRequest_1369.anInt1419 + 1].method234(abyte0.length, abyte0, aRequest_1369.anInt1421);
|
||||
}
|
||||
if (!aClass30_Sub2_Sub3_1369.aBoolean1422 && aClass30_Sub2_Sub3_1369.anInt1419 == 3) {
|
||||
aClass30_Sub2_Sub3_1369.aBoolean1422 = true;
|
||||
aClass30_Sub2_Sub3_1369.anInt1419 = 93;
|
||||
if (!aRequest_1369.aBoolean1422 && aRequest_1369.anInt1419 == 3) {
|
||||
aRequest_1369.aBoolean1422 = true;
|
||||
aRequest_1369.anInt1419 = 93;
|
||||
}
|
||||
if (aClass30_Sub2_Sub3_1369.aBoolean1422) {
|
||||
synchronized (aClass19_1358) {
|
||||
aClass19_1358.method249(aClass30_Sub2_Sub3_1369);
|
||||
if (aRequest_1369.aBoolean1422) {
|
||||
synchronized (aList_1358) {
|
||||
aList_1358.method249(aRequest_1369);
|
||||
}
|
||||
} else {
|
||||
aClass30_Sub2_Sub3_1369.method329();
|
||||
aRequest_1369.method329();
|
||||
}
|
||||
}
|
||||
anInt1347 = 0;
|
||||
@@ -160,26 +160,26 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
}
|
||||
}
|
||||
|
||||
public void method551(Class44 class44, client client1) {
|
||||
public void method551(Class44 class44, Game game1) {
|
||||
String[] as = {"model_version", "anim_version", "midi_version", "map_version"};
|
||||
for (int i = 0; i < 4; i++) {
|
||||
byte[] abyte0 = class44.method571(as[i], null);
|
||||
int j = abyte0.length / 2;
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(abyte0);
|
||||
Buffer buffer = new Buffer(abyte0);
|
||||
anIntArrayArray1364[i] = new int[j];
|
||||
aByteArrayArray1342[i] = new byte[j];
|
||||
for (int l = 0; l < j; l++) {
|
||||
anIntArrayArray1364[i][l] = class30_sub2_sub2.method410();
|
||||
anIntArrayArray1364[i][l] = buffer.method410();
|
||||
}
|
||||
}
|
||||
String[] as1 = {"model_crc", "anim_crc", "midi_crc", "map_crc"};
|
||||
for (int k = 0; k < 4; k++) {
|
||||
byte[] abyte1 = class44.method571(as1[k], null);
|
||||
int i1 = abyte1.length / 4;
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_1 = new Class30_Sub2_Sub2(abyte1);
|
||||
Buffer buffer_1 = new Buffer(abyte1);
|
||||
anIntArrayArray1365[k] = new int[i1];
|
||||
for (int l1 = 0; l1 < i1; l1++) {
|
||||
anIntArrayArray1365[k][l1] = class30_sub2_sub2_1.method413();
|
||||
anIntArrayArray1365[k][l1] = buffer_1.method413();
|
||||
}
|
||||
}
|
||||
byte[] abyte2 = class44.method571("model_index", null);
|
||||
@@ -193,7 +193,7 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
}
|
||||
}
|
||||
abyte2 = class44.method571("map_index", null);
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_2 = new Class30_Sub2_Sub2(abyte2);
|
||||
Buffer class30_sub2_sub2_2 = new Buffer(abyte2);
|
||||
j1 = abyte2.length / 7;
|
||||
anIntArray1371 = new int[j1];
|
||||
anIntArray1350 = new int[j1];
|
||||
@@ -206,27 +206,27 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
anIntArray1356[i2] = class30_sub2_sub2_2.method408();
|
||||
}
|
||||
abyte2 = class44.method571("anim_index", null);
|
||||
class30_sub2_sub2_2 = new Class30_Sub2_Sub2(abyte2);
|
||||
class30_sub2_sub2_2 = new Buffer(abyte2);
|
||||
j1 = abyte2.length / 2;
|
||||
anIntArray1360 = new int[j1];
|
||||
for (int j2 = 0; j2 < j1; j2++) {
|
||||
anIntArray1360[j2] = class30_sub2_sub2_2.method410();
|
||||
}
|
||||
abyte2 = class44.method571("midi_index", null);
|
||||
class30_sub2_sub2_2 = new Class30_Sub2_Sub2(abyte2);
|
||||
class30_sub2_sub2_2 = new Buffer(abyte2);
|
||||
j1 = abyte2.length;
|
||||
anIntArray1348 = new int[j1];
|
||||
for (int k2 = 0; k2 < j1; k2++) {
|
||||
anIntArray1348[k2] = class30_sub2_sub2_2.method408();
|
||||
}
|
||||
aClient1343 = client1;
|
||||
aGame1343 = game1;
|
||||
aBoolean1353 = true;
|
||||
aClient1343.method12(this, 2);
|
||||
aGame1343.method12(this, 2);
|
||||
}
|
||||
|
||||
public int method552() {
|
||||
synchronized (aClass2_1361) {
|
||||
return aClass2_1361.method154();
|
||||
synchronized (aLinkedList_1361) {
|
||||
return aLinkedList_1361.method154();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -248,7 +248,7 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
return anIntArrayArray1364[j].length;
|
||||
}
|
||||
|
||||
public void method556(Class30_Sub2_Sub3 class30_sub2_sub3) {
|
||||
public void method556(OnDemandRequest request) {
|
||||
try {
|
||||
if (aSocket1363 == null) {
|
||||
long l = System.currentTimeMillis();
|
||||
@@ -256,7 +256,7 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
return;
|
||||
}
|
||||
aLong1335 = l;
|
||||
aSocket1363 = aClient1343.method19(43594 + client.anInt958);
|
||||
aSocket1363 = aGame1343.method19(43594 + Game.anInt958);
|
||||
anInputStream1362 = aSocket1363.getInputStream();
|
||||
anOutputStream1354 = aSocket1363.getOutputStream();
|
||||
anOutputStream1354.write(15);
|
||||
@@ -265,12 +265,12 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
}
|
||||
anInt1373 = 0;
|
||||
}
|
||||
aByteArray1339[0] = (byte) class30_sub2_sub3.anInt1419;
|
||||
aByteArray1339[1] = (byte) (class30_sub2_sub3.anInt1421 >> 8);
|
||||
aByteArray1339[2] = (byte) class30_sub2_sub3.anInt1421;
|
||||
if (class30_sub2_sub3.aBoolean1422) {
|
||||
aByteArray1339[0] = (byte) request.anInt1419;
|
||||
aByteArray1339[1] = (byte) (request.anInt1421 >> 8);
|
||||
aByteArray1339[2] = (byte) request.anInt1421;
|
||||
if (request.aBoolean1422) {
|
||||
aByteArray1339[3] = 2;
|
||||
} else if (!aClient1343.aBoolean1157) {
|
||||
} else if (!aGame1343.aBoolean1157) {
|
||||
aByteArray1339[3] = 1;
|
||||
} else {
|
||||
aByteArray1339[3] = 0;
|
||||
@@ -303,20 +303,20 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
if (anIntArrayArray1364[i][j] == 0) {
|
||||
return;
|
||||
}
|
||||
synchronized (aClass2_1361) {
|
||||
for (Class30_Sub2_Sub3 class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass2_1361.method152(); class30_sub2_sub3 != null; class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass2_1361.method153()) {
|
||||
if (class30_sub2_sub3.anInt1419 == i && class30_sub2_sub3.anInt1421 == j) {
|
||||
synchronized (aLinkedList_1361) {
|
||||
for (OnDemandRequest request = (OnDemandRequest) aLinkedList_1361.method152(); request != null; request = (OnDemandRequest) aLinkedList_1361.method153()) {
|
||||
if (request.anInt1419 == i && request.anInt1421 == j) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub3 class30_sub2_sub3_1 = new Class30_Sub2_Sub3();
|
||||
class30_sub2_sub3_1.anInt1419 = i;
|
||||
class30_sub2_sub3_1.anInt1421 = j;
|
||||
class30_sub2_sub3_1.aBoolean1422 = true;
|
||||
synchronized (aClass19_1370) {
|
||||
aClass19_1370.method249(class30_sub2_sub3_1);
|
||||
OnDemandRequest request_1 = new OnDemandRequest();
|
||||
request_1.anInt1419 = i;
|
||||
request_1.anInt1421 = j;
|
||||
request_1.aBoolean1422 = true;
|
||||
synchronized (aList_1370) {
|
||||
aList_1370.method249(request_1);
|
||||
}
|
||||
aClass2_1361.method150(class30_sub2_sub3_1);
|
||||
aLinkedList_1361.method150(request_1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
while (aBoolean1353) {
|
||||
anInt1341++;
|
||||
int i = 20;
|
||||
if (anInt1332 == 0 && aClient1343.aClass14Array970[0] != null) {
|
||||
if (anInt1332 == 0 && aGame1343.aFileStoreArray970[0] != null) {
|
||||
i = 50;
|
||||
}
|
||||
try {
|
||||
@@ -353,23 +353,23 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
}
|
||||
}
|
||||
boolean flag = false;
|
||||
for (Class30_Sub2_Sub3 class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1331.method252(); class30_sub2_sub3 != null; class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1331.method254()) {
|
||||
if (class30_sub2_sub3.aBoolean1422) {
|
||||
for (OnDemandRequest request = (OnDemandRequest) aList_1331.method252(); request != null; request = (OnDemandRequest) aList_1331.method254()) {
|
||||
if (request.aBoolean1422) {
|
||||
flag = true;
|
||||
class30_sub2_sub3.anInt1423++;
|
||||
if (class30_sub2_sub3.anInt1423 > 50) {
|
||||
class30_sub2_sub3.anInt1423 = 0;
|
||||
method556(class30_sub2_sub3);
|
||||
request.anInt1423++;
|
||||
if (request.anInt1423 > 50) {
|
||||
request.anInt1423 = 0;
|
||||
method556(request);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!flag) {
|
||||
for (Class30_Sub2_Sub3 class30_sub2_sub3_1 = (Class30_Sub2_Sub3) aClass19_1331.method252(); class30_sub2_sub3_1 != null; class30_sub2_sub3_1 = (Class30_Sub2_Sub3) aClass19_1331.method254()) {
|
||||
for (OnDemandRequest request_1 = (OnDemandRequest) aList_1331.method252(); request_1 != null; request_1 = (OnDemandRequest) aList_1331.method254()) {
|
||||
flag = true;
|
||||
class30_sub2_sub3_1.anInt1423++;
|
||||
if (class30_sub2_sub3_1.anInt1423 > 50) {
|
||||
class30_sub2_sub3_1.anInt1423 = 0;
|
||||
method556(class30_sub2_sub3_1);
|
||||
request_1.anInt1423++;
|
||||
if (request_1.anInt1423 > 50) {
|
||||
request_1.anInt1423 = 0;
|
||||
method556(request_1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -389,7 +389,7 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
anInt1373 = 0;
|
||||
aString1333 = "";
|
||||
}
|
||||
if (aClient1343.aBoolean1157 && aSocket1363 != null && anOutputStream1354 != null && (anInt1332 > 0 || aClient1343.aClass14Array970[0] == null)) {
|
||||
if (aGame1343.aBoolean1157 && aSocket1363 != null && anOutputStream1354 != null && (anInt1332 > 0 || aGame1343.aFileStoreArray970[0] == null)) {
|
||||
anInt1334++;
|
||||
if (anInt1334 > 500) {
|
||||
anInt1334 = 0;
|
||||
@@ -411,7 +411,7 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
}
|
||||
|
||||
public void method560(int i, int j) {
|
||||
if (aClient1343.aClass14Array970[0] == null) {
|
||||
if (aGame1343.aFileStoreArray970[0] == null) {
|
||||
return;
|
||||
}
|
||||
if (anIntArrayArray1364[j][i] == 0) {
|
||||
@@ -423,32 +423,32 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
if (anInt1332 == 0) {
|
||||
return;
|
||||
}
|
||||
Class30_Sub2_Sub3 class30_sub2_sub3 = new Class30_Sub2_Sub3();
|
||||
class30_sub2_sub3.anInt1419 = j;
|
||||
class30_sub2_sub3.anInt1421 = i;
|
||||
class30_sub2_sub3.aBoolean1422 = false;
|
||||
synchronized (aClass19_1344) {
|
||||
aClass19_1344.method249(class30_sub2_sub3);
|
||||
OnDemandRequest request = new OnDemandRequest();
|
||||
request.anInt1419 = j;
|
||||
request.anInt1421 = i;
|
||||
request.aBoolean1422 = false;
|
||||
synchronized (aList_1344) {
|
||||
aList_1344.method249(request);
|
||||
}
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub3 method561() {
|
||||
Class30_Sub2_Sub3 class30_sub2_sub3;
|
||||
synchronized (aClass19_1358) {
|
||||
class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1358.method251();
|
||||
public OnDemandRequest method561() {
|
||||
OnDemandRequest request;
|
||||
synchronized (aList_1358) {
|
||||
request = (OnDemandRequest) aList_1358.method251();
|
||||
}
|
||||
if (class30_sub2_sub3 == null) {
|
||||
if (request == null) {
|
||||
return null;
|
||||
}
|
||||
synchronized (aClass2_1361) {
|
||||
class30_sub2_sub3.method330();
|
||||
synchronized (aLinkedList_1361) {
|
||||
request.method330();
|
||||
}
|
||||
if (class30_sub2_sub3.aByteArray1420 == null) {
|
||||
return class30_sub2_sub3;
|
||||
if (request.aByteArray1420 == null) {
|
||||
return request;
|
||||
}
|
||||
int i = 0;
|
||||
try {
|
||||
GZIPInputStream gzipinputstream = new GZIPInputStream(new ByteArrayInputStream(class30_sub2_sub3.aByteArray1420));
|
||||
GZIPInputStream gzipinputstream = new GZIPInputStream(new ByteArrayInputStream(request.aByteArray1420));
|
||||
do {
|
||||
if (i == aByteArray1359.length) {
|
||||
throw new RuntimeException("buffer overflow!");
|
||||
@@ -462,11 +462,11 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
} catch (IOException _ex) {
|
||||
throw new RuntimeException("error unzipping");
|
||||
}
|
||||
class30_sub2_sub3.aByteArray1420 = new byte[i];
|
||||
request.aByteArray1420 = new byte[i];
|
||||
for (int j = 0; j < i; j++) {
|
||||
class30_sub2_sub3.aByteArray1420[j] = aByteArray1359[j];
|
||||
request.aByteArray1420[j] = aByteArray1359[j];
|
||||
}
|
||||
return class30_sub2_sub3;
|
||||
return request;
|
||||
}
|
||||
|
||||
public int method562(int i, int k, int l) {
|
||||
@@ -489,13 +489,13 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
}
|
||||
|
||||
public void method563(byte byte0, int i, int j) {
|
||||
if (aClient1343.aClass14Array970[0] == null) {
|
||||
if (aGame1343.aFileStoreArray970[0] == null) {
|
||||
return;
|
||||
}
|
||||
if (anIntArrayArray1364[i][j] == 0) {
|
||||
return;
|
||||
}
|
||||
byte[] abyte0 = aClient1343.aClass14Array970[i + 1].method233(j);
|
||||
byte[] abyte0 = aGame1343.aFileStoreArray970[i + 1].method233(j);
|
||||
if (method549(anIntArrayArray1364[i][j], anIntArrayArray1365[i][j], abyte0)) {
|
||||
return;
|
||||
}
|
||||
@@ -518,59 +518,59 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
public void method565() {
|
||||
anInt1366 = 0;
|
||||
anInt1367 = 0;
|
||||
for (Class30_Sub2_Sub3 class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1331.method252(); class30_sub2_sub3 != null; class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1331.method254()) {
|
||||
if (class30_sub2_sub3.aBoolean1422) {
|
||||
for (OnDemandRequest request = (OnDemandRequest) aList_1331.method252(); request != null; request = (OnDemandRequest) aList_1331.method254()) {
|
||||
if (request.aBoolean1422) {
|
||||
anInt1366++;
|
||||
} else {
|
||||
anInt1367++;
|
||||
}
|
||||
}
|
||||
while (anInt1366 < 10) {
|
||||
Class30_Sub2_Sub3 class30_sub2_sub3_1 = (Class30_Sub2_Sub3) aClass19_1368.method251();
|
||||
if (class30_sub2_sub3_1 == null) {
|
||||
OnDemandRequest request_1 = (OnDemandRequest) aList_1368.method251();
|
||||
if (request_1 == null) {
|
||||
break;
|
||||
}
|
||||
if (aByteArrayArray1342[class30_sub2_sub3_1.anInt1419][class30_sub2_sub3_1.anInt1421] != 0) {
|
||||
if (aByteArrayArray1342[request_1.anInt1419][request_1.anInt1421] != 0) {
|
||||
anInt1351++;
|
||||
}
|
||||
aByteArrayArray1342[class30_sub2_sub3_1.anInt1419][class30_sub2_sub3_1.anInt1421] = 0;
|
||||
aClass19_1331.method249(class30_sub2_sub3_1);
|
||||
aByteArrayArray1342[request_1.anInt1419][request_1.anInt1421] = 0;
|
||||
aList_1331.method249(request_1);
|
||||
anInt1366++;
|
||||
method556(class30_sub2_sub3_1);
|
||||
method556(request_1);
|
||||
aBoolean1357 = true;
|
||||
}
|
||||
}
|
||||
|
||||
public void method566() {
|
||||
synchronized (aClass19_1344) {
|
||||
aClass19_1344.method256();
|
||||
synchronized (aList_1344) {
|
||||
aList_1344.method256();
|
||||
}
|
||||
}
|
||||
|
||||
public void method567() {
|
||||
Class30_Sub2_Sub3 class30_sub2_sub3;
|
||||
synchronized (aClass19_1370) {
|
||||
class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1370.method251();
|
||||
OnDemandRequest request;
|
||||
synchronized (aList_1370) {
|
||||
request = (OnDemandRequest) aList_1370.method251();
|
||||
}
|
||||
while (class30_sub2_sub3 != null) {
|
||||
while (request != null) {
|
||||
aBoolean1357 = true;
|
||||
byte[] abyte0 = null;
|
||||
if (aClient1343.aClass14Array970[0] != null) {
|
||||
abyte0 = aClient1343.aClass14Array970[class30_sub2_sub3.anInt1419 + 1].method233(class30_sub2_sub3.anInt1421);
|
||||
if (aGame1343.aFileStoreArray970[0] != null) {
|
||||
abyte0 = aGame1343.aFileStoreArray970[request.anInt1419 + 1].method233(request.anInt1421);
|
||||
}
|
||||
if (!method549(anIntArrayArray1364[class30_sub2_sub3.anInt1419][class30_sub2_sub3.anInt1421], anIntArrayArray1365[class30_sub2_sub3.anInt1419][class30_sub2_sub3.anInt1421], abyte0)) {
|
||||
if (!method549(anIntArrayArray1364[request.anInt1419][request.anInt1421], anIntArrayArray1365[request.anInt1419][request.anInt1421], abyte0)) {
|
||||
abyte0 = null;
|
||||
}
|
||||
synchronized (aClass19_1370) {
|
||||
synchronized (aList_1370) {
|
||||
if (abyte0 == null) {
|
||||
aClass19_1368.method249(class30_sub2_sub3);
|
||||
aList_1368.method249(request);
|
||||
} else {
|
||||
class30_sub2_sub3.aByteArray1420 = abyte0;
|
||||
synchronized (aClass19_1358) {
|
||||
aClass19_1358.method249(class30_sub2_sub3);
|
||||
request.aByteArray1420 = abyte0;
|
||||
synchronized (aList_1358) {
|
||||
aList_1358.method249(request);
|
||||
}
|
||||
}
|
||||
class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1370.method251();
|
||||
request = (OnDemandRequest) aList_1370.method251();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -580,15 +580,15 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
if (anInt1332 == 0) {
|
||||
break;
|
||||
}
|
||||
Class30_Sub2_Sub3 class30_sub2_sub3;
|
||||
synchronized (aClass19_1344) {
|
||||
class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1344.method251();
|
||||
OnDemandRequest request;
|
||||
synchronized (aList_1344) {
|
||||
request = (OnDemandRequest) aList_1344.method251();
|
||||
}
|
||||
while (class30_sub2_sub3 != null) {
|
||||
if (aByteArrayArray1342[class30_sub2_sub3.anInt1419][class30_sub2_sub3.anInt1421] != 0) {
|
||||
aByteArrayArray1342[class30_sub2_sub3.anInt1419][class30_sub2_sub3.anInt1421] = 0;
|
||||
aClass19_1331.method249(class30_sub2_sub3);
|
||||
method556(class30_sub2_sub3);
|
||||
while (request != null) {
|
||||
if (aByteArrayArray1342[request.anInt1419][request.anInt1421] != 0) {
|
||||
aByteArrayArray1342[request.anInt1419][request.anInt1421] = 0;
|
||||
aList_1331.method249(request);
|
||||
method556(request);
|
||||
aBoolean1357 = true;
|
||||
if (anInt1351 < anInt1330) {
|
||||
anInt1351++;
|
||||
@@ -599,8 +599,8 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
return;
|
||||
}
|
||||
}
|
||||
synchronized (aClass19_1344) {
|
||||
class30_sub2_sub3 = (Class30_Sub2_Sub3) aClass19_1344.method251();
|
||||
synchronized (aList_1344) {
|
||||
request = (OnDemandRequest) aList_1344.method251();
|
||||
}
|
||||
}
|
||||
for (int j = 0; j < 4; j++) {
|
||||
@@ -609,12 +609,12 @@ public class Class42_Sub1 extends Class42 implements Runnable {
|
||||
for (int l = 0; l < k; l++) {
|
||||
if (abyte0[l] == anInt1332) {
|
||||
abyte0[l] = 0;
|
||||
Class30_Sub2_Sub3 class30_sub2_sub3_1 = new Class30_Sub2_Sub3();
|
||||
class30_sub2_sub3_1.anInt1419 = j;
|
||||
class30_sub2_sub3_1.anInt1421 = l;
|
||||
class30_sub2_sub3_1.aBoolean1422 = false;
|
||||
aClass19_1331.method249(class30_sub2_sub3_1);
|
||||
method556(class30_sub2_sub3_1);
|
||||
OnDemandRequest request_1 = new OnDemandRequest();
|
||||
request_1.anInt1419 = j;
|
||||
request_1.anInt1421 = l;
|
||||
request_1.aBoolean1422 = false;
|
||||
aList_1331.method249(request_1);
|
||||
method556(request_1);
|
||||
aBoolean1357 = true;
|
||||
if (anInt1351 < anInt1330) {
|
||||
anInt1351++;
|
||||
|
||||
+11
-11
@@ -17,29 +17,29 @@ public class Class44 {
|
||||
}
|
||||
|
||||
public void method570(byte[] abyte0) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(abyte0);
|
||||
int i = class30_sub2_sub2.method412();
|
||||
int j = class30_sub2_sub2.method412();
|
||||
Buffer buffer = new Buffer(abyte0);
|
||||
int i = buffer.method412();
|
||||
int j = buffer.method412();
|
||||
if (j != i) {
|
||||
byte[] abyte1 = new byte[i];
|
||||
Class13.method225(abyte1, i, abyte0, j, 6);
|
||||
BZip2Deflator.method225(abyte1, i, abyte0, j, 6);
|
||||
aByteArray726 = abyte1;
|
||||
class30_sub2_sub2 = new Class30_Sub2_Sub2(aByteArray726);
|
||||
buffer = new Buffer(aByteArray726);
|
||||
aBoolean732 = true;
|
||||
} else {
|
||||
aByteArray726 = abyte0;
|
||||
aBoolean732 = false;
|
||||
}
|
||||
anInt727 = class30_sub2_sub2.method410();
|
||||
anInt727 = buffer.method410();
|
||||
anIntArray728 = new int[anInt727];
|
||||
anIntArray729 = new int[anInt727];
|
||||
anIntArray730 = new int[anInt727];
|
||||
anIntArray731 = new int[anInt727];
|
||||
int k = class30_sub2_sub2.anInt1406 + anInt727 * 10;
|
||||
int k = buffer.anInt1406 + anInt727 * 10;
|
||||
for (int l = 0; l < anInt727; l++) {
|
||||
anIntArray728[l] = class30_sub2_sub2.method413();
|
||||
anIntArray729[l] = class30_sub2_sub2.method412();
|
||||
anIntArray730[l] = class30_sub2_sub2.method412();
|
||||
anIntArray728[l] = buffer.method413();
|
||||
anIntArray729[l] = buffer.method412();
|
||||
anIntArray730[l] = buffer.method412();
|
||||
anIntArray731[l] = k;
|
||||
k += anIntArray730[l];
|
||||
}
|
||||
@@ -57,7 +57,7 @@ public class Class44 {
|
||||
abyte0 = new byte[anIntArray729[k]];
|
||||
}
|
||||
if (!aBoolean732) {
|
||||
Class13.method225(abyte0, anIntArray729[k], aByteArray726, anIntArray730[k], anIntArray731[k]);
|
||||
BZip2Deflator.method225(abyte0, anIntArray729[k], aByteArray726, anIntArray730[k], anIntArray731[k]);
|
||||
} else {
|
||||
for (int l = 0; l < anIntArray729[k]; l++) {
|
||||
abyte0[l] = aByteArray726[anIntArray731[k] + l];
|
||||
|
||||
+99
-99
@@ -4,16 +4,16 @@
|
||||
|
||||
public class Class46 {
|
||||
|
||||
public static final Class30_Sub2_Sub4_Sub6[] aClass30_Sub2_Sub4_Sub6Array741 = new Class30_Sub2_Sub4_Sub6[4];
|
||||
public static final Model[] A_MODEL_ARRAY_741 = new Model[4];
|
||||
public static boolean aBoolean752;
|
||||
public static Class30_Sub2_Sub2 aClass30_Sub2_Sub2_753;
|
||||
public static Buffer aBuffer_753;
|
||||
public static int[] anIntArray755;
|
||||
public static int anInt756;
|
||||
public static client aClient765;
|
||||
public static Game aGame765;
|
||||
public static int anInt771;
|
||||
public static Class12 aClass12_780 = new Class12(30);
|
||||
public static LRUCache aCache_780 = new LRUCache(30);
|
||||
public static Class46[] aClass46Array782;
|
||||
public static Class12 aClass12_785 = new Class12(500);
|
||||
public static LRUCache aCache_785 = new LRUCache(500);
|
||||
|
||||
public boolean aBoolean736;
|
||||
public byte aByte737;
|
||||
@@ -64,30 +64,30 @@ public class Class46 {
|
||||
}
|
||||
anInt771 = (anInt771 + 1) % 20;
|
||||
Class46 class46 = aClass46Array782[anInt771];
|
||||
aClass30_Sub2_Sub2_753.anInt1406 = anIntArray755[i];
|
||||
aBuffer_753.anInt1406 = anIntArray755[i];
|
||||
class46.anInt754 = i;
|
||||
class46.method573();
|
||||
class46.method582(aClass30_Sub2_Sub2_753);
|
||||
class46.method582(aBuffer_753);
|
||||
return class46;
|
||||
}
|
||||
|
||||
public static void method575() {
|
||||
aClass12_785 = null;
|
||||
aClass12_780 = null;
|
||||
aCache_785 = null;
|
||||
aCache_780 = null;
|
||||
anIntArray755 = null;
|
||||
aClass46Array782 = null;
|
||||
aClass30_Sub2_Sub2_753 = null;
|
||||
aBuffer_753 = null;
|
||||
}
|
||||
|
||||
public static void method576(Class44 class44) {
|
||||
aClass30_Sub2_Sub2_753 = new Class30_Sub2_Sub2(class44.method571("loc.dat", null));
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("loc.idx", null));
|
||||
anInt756 = class30_sub2_sub2.method410();
|
||||
aBuffer_753 = new Buffer(class44.method571("loc.dat", null));
|
||||
Buffer buffer = new Buffer(class44.method571("loc.idx", null));
|
||||
anInt756 = buffer.method410();
|
||||
anIntArray755 = new int[anInt756];
|
||||
int i = 2;
|
||||
for (int j = 0; j < anInt756; j++) {
|
||||
anIntArray755[j] = i;
|
||||
i += class30_sub2_sub2.method410();
|
||||
i += buffer.method410();
|
||||
}
|
||||
aClass46Array782 = new Class46[20];
|
||||
for (int k = 0; k < 20; k++) {
|
||||
@@ -153,39 +153,39 @@ public class Class46 {
|
||||
}
|
||||
boolean flag1 = true;
|
||||
for (int j : anIntArray773) {
|
||||
flag1 &= Class30_Sub2_Sub4_Sub6.method463(j & 0xffff);
|
||||
flag1 &= Model.method463(j & 0xffff);
|
||||
}
|
||||
return flag1;
|
||||
}
|
||||
for (int j = 0; j < anIntArray776.length; j++) {
|
||||
if (anIntArray776[j] == i) {
|
||||
return Class30_Sub2_Sub4_Sub6.method463(anIntArray773[j] & 0xffff);
|
||||
return Model.method463(anIntArray773[j] & 0xffff);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method578(int i, int j, int k, int l, int i1, int j1, int k1) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = method581(i, k1, j);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
public Model method578(int i, int j, int k, int l, int i1, int j1, int k1) {
|
||||
Model model = method581(i, k1, j);
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
if (aBoolean762 || aBoolean769) {
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(aBoolean762, aBoolean769, class30_sub2_sub4_sub6);
|
||||
model = new Model(aBoolean762, aBoolean769, model);
|
||||
}
|
||||
if (aBoolean762) {
|
||||
int l1 = (k + l + i1 + j1) / 4;
|
||||
for (int i2 = 0; i2 < class30_sub2_sub4_sub6.anInt1626; i2++) {
|
||||
int j2 = class30_sub2_sub4_sub6.anIntArray1627[i2];
|
||||
int k2 = class30_sub2_sub4_sub6.anIntArray1629[i2];
|
||||
for (int i2 = 0; i2 < model.anInt1626; i2++) {
|
||||
int j2 = model.anIntArray1627[i2];
|
||||
int k2 = model.anIntArray1629[i2];
|
||||
int l2 = k + ((l - k) * (j2 + 64)) / 128;
|
||||
int i3 = j1 + ((i1 - j1) * (j2 + 64)) / 128;
|
||||
int j3 = l2 + ((i3 - l2) * (k2 + 64)) / 128;
|
||||
class30_sub2_sub4_sub6.anIntArray1628[i2] += j3 - l1;
|
||||
model.anIntArray1628[i2] += j3 - l1;
|
||||
}
|
||||
class30_sub2_sub4_sub6.method467();
|
||||
model.method467();
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
return model;
|
||||
}
|
||||
|
||||
public boolean method579() {
|
||||
@@ -194,7 +194,7 @@ public class Class46 {
|
||||
}
|
||||
boolean flag1 = true;
|
||||
for (int j : anIntArray773) {
|
||||
flag1 &= Class30_Sub2_Sub4_Sub6.method463(j & 0xffff);
|
||||
flag1 &= Model.method463(j & 0xffff);
|
||||
}
|
||||
return flag1;
|
||||
}
|
||||
@@ -206,10 +206,10 @@ public class Class46 {
|
||||
int j = class37.anInt648;
|
||||
int k = class37.anInt649;
|
||||
int l = class37.anInt650;
|
||||
int i1 = client.anIntArray1232[l - k];
|
||||
i = aClient765.anIntArray971[j] >> k & i1;
|
||||
int i1 = Game.anIntArray1232[l - k];
|
||||
i = aGame765.anIntArray971[j] >> k & i1;
|
||||
} else if (anInt749 != -1) {
|
||||
i = aClient765.anIntArray971[anInt749];
|
||||
i = aGame765.anIntArray971[anInt749];
|
||||
}
|
||||
if (i < 0 || i >= anIntArray759.length || anIntArray759[i] == -1) {
|
||||
return null;
|
||||
@@ -218,17 +218,17 @@ public class Class46 {
|
||||
}
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method581(int j, int k, int l) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = null;
|
||||
public Model method581(int j, int k, int l) {
|
||||
Model model = null;
|
||||
long l1;
|
||||
if (anIntArray776 == null) {
|
||||
if (j != 10) {
|
||||
return null;
|
||||
}
|
||||
l1 = (long) ((anInt754 << 6) + l) + ((long) (k + 1) << 32);
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = (Class30_Sub2_Sub4_Sub6) aClass12_780.method222(l1);
|
||||
if (class30_sub2_sub4_sub6_1 != null) {
|
||||
return class30_sub2_sub4_sub6_1;
|
||||
Model model_1 = (Model) aCache_780.method222(l1);
|
||||
if (model_1 != null) {
|
||||
return model_1;
|
||||
}
|
||||
if (anIntArray773 == null) {
|
||||
return null;
|
||||
@@ -240,23 +240,23 @@ public class Class46 {
|
||||
if (flag1) {
|
||||
l2 += 0x10000;
|
||||
}
|
||||
class30_sub2_sub4_sub6 = (Class30_Sub2_Sub4_Sub6) aClass12_785.method222(l2);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
class30_sub2_sub4_sub6 = Class30_Sub2_Sub4_Sub6.method462(l2 & 0xffff);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
model = (Model) aCache_785.method222(l2);
|
||||
if (model == null) {
|
||||
model = Model.method462(l2 & 0xffff);
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
if (flag1) {
|
||||
class30_sub2_sub4_sub6.method477();
|
||||
model.method477();
|
||||
}
|
||||
aClass12_785.method223(class30_sub2_sub4_sub6, l2);
|
||||
aCache_785.method223(model, l2);
|
||||
}
|
||||
if (k1 > 1) {
|
||||
aClass30_Sub2_Sub4_Sub6Array741[i2] = class30_sub2_sub4_sub6;
|
||||
A_MODEL_ARRAY_741[i2] = model;
|
||||
}
|
||||
}
|
||||
if (k1 > 1) {
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(k1, aClass30_Sub2_Sub4_Sub6Array741);
|
||||
model = new Model(k1, A_MODEL_ARRAY_741);
|
||||
}
|
||||
} else {
|
||||
int i1 = -1;
|
||||
@@ -271,7 +271,7 @@ public class Class46 {
|
||||
return null;
|
||||
}
|
||||
l1 = (long) ((anInt754 << 6) + (i1 << 3) + l) + ((long) (k + 1) << 32);
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_2 = (Class30_Sub2_Sub4_Sub6) aClass12_780.method222(l1);
|
||||
Model class30_sub2_sub4_sub6_2 = (Model) aCache_780.method222(l1);
|
||||
if (class30_sub2_sub4_sub6_2 != null) {
|
||||
return class30_sub2_sub4_sub6_2;
|
||||
}
|
||||
@@ -280,102 +280,102 @@ public class Class46 {
|
||||
if (flag3) {
|
||||
j2 += 0x10000;
|
||||
}
|
||||
class30_sub2_sub4_sub6 = (Class30_Sub2_Sub4_Sub6) aClass12_785.method222(j2);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
class30_sub2_sub4_sub6 = Class30_Sub2_Sub4_Sub6.method462(j2 & 0xffff);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
model = (Model) aCache_785.method222(j2);
|
||||
if (model == null) {
|
||||
model = Model.method462(j2 & 0xffff);
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
if (flag3) {
|
||||
class30_sub2_sub4_sub6.method477();
|
||||
model.method477();
|
||||
}
|
||||
aClass12_785.method223(class30_sub2_sub4_sub6, j2);
|
||||
aCache_785.method223(model, j2);
|
||||
}
|
||||
}
|
||||
boolean flag;
|
||||
flag = anInt748 != 128 || anInt772 != 128 || anInt740 != 128;
|
||||
boolean flag2;
|
||||
flag2 = anInt738 != 0 || anInt745 != 0 || anInt783 != 0;
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_3 = new Class30_Sub2_Sub4_Sub6(anIntArray784 == null, Class36.method532(k), l == 0 && k == -1 && !flag && !flag2, class30_sub2_sub4_sub6);
|
||||
Model model_3 = new Model(anIntArray784 == null, Class36.method532(k), l == 0 && k == -1 && !flag && !flag2, model);
|
||||
if (k != -1) {
|
||||
class30_sub2_sub4_sub6_3.method469();
|
||||
class30_sub2_sub4_sub6_3.method470(k);
|
||||
class30_sub2_sub4_sub6_3.anIntArrayArray1658 = null;
|
||||
class30_sub2_sub4_sub6_3.anIntArrayArray1657 = null;
|
||||
model_3.method469();
|
||||
model_3.method470(k);
|
||||
model_3.anIntArrayArray1658 = null;
|
||||
model_3.anIntArrayArray1657 = null;
|
||||
}
|
||||
while (l-- > 0) {
|
||||
class30_sub2_sub4_sub6_3.method473();
|
||||
model_3.method473();
|
||||
}
|
||||
if (anIntArray784 != null) {
|
||||
for (int k2 = 0; k2 < anIntArray784.length; k2++) {
|
||||
class30_sub2_sub4_sub6_3.method476(anIntArray784[k2], anIntArray747[k2]);
|
||||
model_3.method476(anIntArray784[k2], anIntArray747[k2]);
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
class30_sub2_sub4_sub6_3.method478(anInt748, anInt740, anInt772);
|
||||
model_3.method478(anInt748, anInt740, anInt772);
|
||||
}
|
||||
if (flag2) {
|
||||
class30_sub2_sub4_sub6_3.method475(anInt738, anInt745, anInt783);
|
||||
model_3.method475(anInt738, anInt745, anInt783);
|
||||
}
|
||||
class30_sub2_sub4_sub6_3.method479(64 + aByte737, 768 + aByte742 * 5, -50, -10, -50, !aBoolean769);
|
||||
model_3.method479(64 + aByte737, 768 + aByte742 * 5, -50, -10, -50, !aBoolean769);
|
||||
if (anInt760 == 1) {
|
||||
class30_sub2_sub4_sub6_3.anInt1654 = class30_sub2_sub4_sub6_3.anInt1426;
|
||||
model_3.anInt1654 = model_3.anInt1426;
|
||||
}
|
||||
aClass12_780.method223(class30_sub2_sub4_sub6_3, l1);
|
||||
return class30_sub2_sub4_sub6_3;
|
||||
aCache_780.method223(model_3, l1);
|
||||
return model_3;
|
||||
}
|
||||
|
||||
public void method582(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
public void method582(Buffer buffer) {
|
||||
int i = -1;
|
||||
label0:
|
||||
do {
|
||||
int j;
|
||||
do {
|
||||
j = class30_sub2_sub2.method408();
|
||||
j = buffer.method408();
|
||||
if (j == 0) {
|
||||
break label0;
|
||||
}
|
||||
if (j == 1) {
|
||||
int k = class30_sub2_sub2.method408();
|
||||
int k = buffer.method408();
|
||||
if (k > 0) {
|
||||
if (anIntArray773 == null || aBoolean752) {
|
||||
anIntArray776 = new int[k];
|
||||
anIntArray773 = new int[k];
|
||||
for (int k1 = 0; k1 < k; k1++) {
|
||||
anIntArray773[k1] = class30_sub2_sub2.method410();
|
||||
anIntArray776[k1] = class30_sub2_sub2.method408();
|
||||
anIntArray773[k1] = buffer.method410();
|
||||
anIntArray776[k1] = buffer.method408();
|
||||
}
|
||||
} else {
|
||||
class30_sub2_sub2.anInt1406 += k * 3;
|
||||
buffer.anInt1406 += k * 3;
|
||||
}
|
||||
}
|
||||
} else if (j == 2) {
|
||||
aString739 = class30_sub2_sub2.method415();
|
||||
aString739 = buffer.method415();
|
||||
} else if (j == 3) {
|
||||
aByteArray777 = class30_sub2_sub2.method416();
|
||||
aByteArray777 = buffer.method416();
|
||||
} else if (j == 5) {
|
||||
int l = class30_sub2_sub2.method408();
|
||||
int l = buffer.method408();
|
||||
if (l > 0) {
|
||||
if (anIntArray773 == null || aBoolean752) {
|
||||
anIntArray776 = null;
|
||||
anIntArray773 = new int[l];
|
||||
for (int l1 = 0; l1 < l; l1++) {
|
||||
anIntArray773[l1] = class30_sub2_sub2.method410();
|
||||
anIntArray773[l1] = buffer.method410();
|
||||
}
|
||||
} else {
|
||||
class30_sub2_sub2.anInt1406 += l * 2;
|
||||
buffer.anInt1406 += l * 2;
|
||||
}
|
||||
}
|
||||
} else if (j == 14) {
|
||||
anInt744 = class30_sub2_sub2.method408();
|
||||
anInt744 = buffer.method408();
|
||||
} else if (j == 15) {
|
||||
anInt761 = class30_sub2_sub2.method408();
|
||||
anInt761 = buffer.method408();
|
||||
} else if (j == 17) {
|
||||
aBoolean767 = false;
|
||||
} else if (j == 18) {
|
||||
aBoolean757 = false;
|
||||
} else if (j == 19) {
|
||||
i = class30_sub2_sub2.method408();
|
||||
i = buffer.method408();
|
||||
if (i == 1) {
|
||||
aBoolean778 = true;
|
||||
}
|
||||
@@ -386,54 +386,54 @@ public class Class46 {
|
||||
} else if (j == 23) {
|
||||
aBoolean764 = true;
|
||||
} else if (j == 24) {
|
||||
anInt781 = class30_sub2_sub2.method410();
|
||||
anInt781 = buffer.method410();
|
||||
if (anInt781 == 65535) {
|
||||
anInt781 = -1;
|
||||
}
|
||||
} else if (j == 28) {
|
||||
anInt775 = class30_sub2_sub2.method408();
|
||||
anInt775 = buffer.method408();
|
||||
} else if (j == 29) {
|
||||
aByte737 = class30_sub2_sub2.method409();
|
||||
aByte737 = buffer.method409();
|
||||
} else if (j == 39) {
|
||||
aByte742 = class30_sub2_sub2.method409();
|
||||
aByte742 = buffer.method409();
|
||||
} else if (j >= 30 && j < 39) {
|
||||
if (aStringArray786 == null) {
|
||||
aStringArray786 = new String[5];
|
||||
}
|
||||
aStringArray786[j - 30] = class30_sub2_sub2.method415();
|
||||
aStringArray786[j - 30] = buffer.method415();
|
||||
if (aStringArray786[j - 30].equalsIgnoreCase("hidden")) {
|
||||
aStringArray786[j - 30] = null;
|
||||
}
|
||||
} else if (j == 40) {
|
||||
int i1 = class30_sub2_sub2.method408();
|
||||
int i1 = buffer.method408();
|
||||
anIntArray784 = new int[i1];
|
||||
anIntArray747 = new int[i1];
|
||||
for (int i2 = 0; i2 < i1; i2++) {
|
||||
anIntArray784[i2] = class30_sub2_sub2.method410();
|
||||
anIntArray747[i2] = class30_sub2_sub2.method410();
|
||||
anIntArray784[i2] = buffer.method410();
|
||||
anIntArray747[i2] = buffer.method410();
|
||||
}
|
||||
} else if (j == 60) {
|
||||
anInt746 = class30_sub2_sub2.method410();
|
||||
anInt746 = buffer.method410();
|
||||
} else if (j == 62) {
|
||||
aBoolean751 = true;
|
||||
} else if (j == 64) {
|
||||
aBoolean779 = false;
|
||||
} else if (j == 65) {
|
||||
anInt748 = class30_sub2_sub2.method410();
|
||||
anInt748 = buffer.method410();
|
||||
} else if (j == 66) {
|
||||
anInt772 = class30_sub2_sub2.method410();
|
||||
anInt772 = buffer.method410();
|
||||
} else if (j == 67) {
|
||||
anInt740 = class30_sub2_sub2.method410();
|
||||
anInt740 = buffer.method410();
|
||||
} else if (j == 68) {
|
||||
anInt758 = class30_sub2_sub2.method410();
|
||||
anInt758 = buffer.method410();
|
||||
} else if (j == 69) {
|
||||
anInt768 = class30_sub2_sub2.method408();
|
||||
anInt768 = buffer.method408();
|
||||
} else if (j == 70) {
|
||||
anInt738 = class30_sub2_sub2.method411();
|
||||
anInt738 = buffer.method411();
|
||||
} else if (j == 71) {
|
||||
anInt745 = class30_sub2_sub2.method411();
|
||||
anInt745 = buffer.method411();
|
||||
} else if (j == 72) {
|
||||
anInt783 = class30_sub2_sub2.method411();
|
||||
anInt783 = buffer.method411();
|
||||
} else if (j == 73) {
|
||||
aBoolean736 = true;
|
||||
} else if (j == 74) {
|
||||
@@ -442,22 +442,22 @@ public class Class46 {
|
||||
if (j != 75) {
|
||||
continue;
|
||||
}
|
||||
anInt760 = class30_sub2_sub2.method408();
|
||||
anInt760 = buffer.method408();
|
||||
}
|
||||
continue label0;
|
||||
} while (j != 77);
|
||||
anInt774 = class30_sub2_sub2.method410();
|
||||
anInt774 = buffer.method410();
|
||||
if (anInt774 == 65535) {
|
||||
anInt774 = -1;
|
||||
}
|
||||
anInt749 = class30_sub2_sub2.method410();
|
||||
anInt749 = buffer.method410();
|
||||
if (anInt749 == 65535) {
|
||||
anInt749 = -1;
|
||||
}
|
||||
int j1 = class30_sub2_sub2.method408();
|
||||
int j1 = buffer.method408();
|
||||
anIntArray759 = new int[j1 + 1];
|
||||
for (int j2 = 0; j2 <= j1; j2++) {
|
||||
anIntArray759[j2] = class30_sub2_sub2.method410();
|
||||
anIntArray759[j2] = buffer.method410();
|
||||
if (anIntArray759[j2] == 65535) {
|
||||
anIntArray759[j2] = -1;
|
||||
}
|
||||
|
||||
@@ -5,22 +5,22 @@
|
||||
public class Class48 implements Runnable {
|
||||
|
||||
public final Object lock = new Object();
|
||||
public final client aClient805;
|
||||
public final Game aGame805;
|
||||
public final int[] anIntArray807 = new int[500];
|
||||
public boolean aBoolean808 = true;
|
||||
public final int[] anIntArray809 = new int[500];
|
||||
public int anInt810;
|
||||
|
||||
public Class48(client client1) {
|
||||
aClient805 = client1;
|
||||
public Class48(Game game1) {
|
||||
aGame805 = game1;
|
||||
}
|
||||
|
||||
public void run() {
|
||||
while (aBoolean808) {
|
||||
synchronized (lock) {
|
||||
if (anInt810 < 500) {
|
||||
anIntArray809[anInt810] = aClient805.anInt20;
|
||||
anIntArray807[anInt810] = aClient805.anInt21;
|
||||
anIntArray809[anInt810] = aGame805.anInt20;
|
||||
anIntArray807[anInt810] = aGame805.anInt21;
|
||||
anInt810++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ public class Class49 {
|
||||
public int anInt811;
|
||||
public int anInt812;
|
||||
public int anInt813;
|
||||
public Class30_Sub2_Sub4 aClass30_Sub2_Sub4_814;
|
||||
public Entity aEntity_814;
|
||||
public int anInt815;
|
||||
public byte aByte816;
|
||||
|
||||
|
||||
@@ -1,296 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class5 {
|
||||
|
||||
public static int anInt56;
|
||||
public static Class30_Sub2_Sub2 aClass30_Sub2_Sub2_60;
|
||||
public static int anInt62;
|
||||
public static int[] anIntArray72;
|
||||
public static Class5[] aClass5Array80;
|
||||
public static client aClient82;
|
||||
public static Class12 aClass12_95 = new Class12(30);
|
||||
public int anInt55 = -1;
|
||||
public int anInt57 = -1;
|
||||
public int anInt58 = -1;
|
||||
public int anInt59 = -1;
|
||||
public int anInt61 = -1;
|
||||
public String aString65;
|
||||
public String[] aStringArray66;
|
||||
public int anInt67 = -1;
|
||||
public byte aByte68 = 1;
|
||||
public int[] anIntArray70;
|
||||
public int unusedInt0 = -1;
|
||||
public int[] anIntArray73;
|
||||
public int anInt75 = -1;
|
||||
public int[] anIntArray76;
|
||||
public int anInt77 = -1;
|
||||
public long aLong78 = -1L;
|
||||
public int anInt79 = 32;
|
||||
public int anInt83 = -1;
|
||||
public boolean aBoolean84 = true;
|
||||
public int anInt85;
|
||||
public int anInt86 = 128;
|
||||
public boolean aBoolean87 = true;
|
||||
public int[] anIntArray88;
|
||||
public byte[] aByteArray89;
|
||||
public int unusedInt1 = -1;
|
||||
public int anInt91 = 128;
|
||||
public int anInt92;
|
||||
public boolean aBoolean93 = false;
|
||||
public int[] anIntArray94;
|
||||
public int unusedInt2 = -1;
|
||||
|
||||
public Class5() {
|
||||
}
|
||||
|
||||
public static Class5 method159(int i) {
|
||||
for (int j = 0; j < 20; j++) {
|
||||
if (aClass5Array80[j].aLong78 == (long) i) {
|
||||
return aClass5Array80[j];
|
||||
}
|
||||
}
|
||||
anInt56 = (anInt56 + 1) % 20;
|
||||
Class5 class5 = aClass5Array80[anInt56] = new Class5();
|
||||
aClass30_Sub2_Sub2_60.anInt1406 = anIntArray72[i];
|
||||
class5.aLong78 = i;
|
||||
class5.method165(aClass30_Sub2_Sub2_60);
|
||||
return class5;
|
||||
}
|
||||
|
||||
public static void method162(Class44 class44) {
|
||||
aClass30_Sub2_Sub2_60 = new Class30_Sub2_Sub2(class44.method571("npc.dat", null));
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("npc.idx", null));
|
||||
anInt62 = class30_sub2_sub2.method410();
|
||||
anIntArray72 = new int[anInt62];
|
||||
int i = 2;
|
||||
for (int j = 0; j < anInt62; j++) {
|
||||
anIntArray72[j] = i;
|
||||
i += class30_sub2_sub2.method410();
|
||||
}
|
||||
aClass5Array80 = new Class5[20];
|
||||
for (int k = 0; k < 20; k++) {
|
||||
aClass5Array80[k] = new Class5();
|
||||
}
|
||||
}
|
||||
|
||||
public static void method163() {
|
||||
aClass12_95 = null;
|
||||
anIntArray72 = null;
|
||||
aClass5Array80 = null;
|
||||
aClass30_Sub2_Sub2_60 = null;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method160() {
|
||||
if (anIntArray88 != null) {
|
||||
Class5 class5 = method161();
|
||||
if (class5 == null) {
|
||||
return null;
|
||||
} else {
|
||||
return class5.method160();
|
||||
}
|
||||
}
|
||||
if (anIntArray73 == null) {
|
||||
return null;
|
||||
}
|
||||
boolean flag1 = false;
|
||||
for (int value : anIntArray73) {
|
||||
if (!Class30_Sub2_Sub4_Sub6.method463(value)) {
|
||||
flag1 = true;
|
||||
}
|
||||
}
|
||||
if (flag1) {
|
||||
return null;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6[anIntArray73.length];
|
||||
for (int j = 0; j < anIntArray73.length; j++) {
|
||||
aclass30_sub2_sub4_sub6[j] = Class30_Sub2_Sub4_Sub6.method462(anIntArray73[j]);
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6;
|
||||
if (aclass30_sub2_sub4_sub6.length == 1) {
|
||||
class30_sub2_sub4_sub6 = aclass30_sub2_sub4_sub6[0];
|
||||
} else {
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(aclass30_sub2_sub4_sub6.length, aclass30_sub2_sub4_sub6);
|
||||
}
|
||||
if (anIntArray76 != null) {
|
||||
for (int k = 0; k < anIntArray76.length; k++) {
|
||||
class30_sub2_sub4_sub6.method476(anIntArray76[k], anIntArray70[k]);
|
||||
}
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
|
||||
public Class5 method161() {
|
||||
int j = -1;
|
||||
if (anInt57 != -1) {
|
||||
Class37 class37 = Class37.aClass37Array646[anInt57];
|
||||
int k = class37.anInt648;
|
||||
int l = class37.anInt649;
|
||||
int i1 = class37.anInt650;
|
||||
int j1 = client.anIntArray1232[i1 - l];
|
||||
j = aClient82.anIntArray971[k] >> l & j1;
|
||||
} else if (anInt59 != -1) {
|
||||
j = aClient82.anIntArray971[anInt59];
|
||||
}
|
||||
if (j < 0 || j >= anIntArray88.length || anIntArray88[j] == -1) {
|
||||
return null;
|
||||
} else {
|
||||
return method159(anIntArray88[j]);
|
||||
}
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method164(int j, int k, int[] ai) {
|
||||
if (anIntArray88 != null) {
|
||||
Class5 class5 = method161();
|
||||
if (class5 == null) {
|
||||
return null;
|
||||
} else {
|
||||
return class5.method164(j, k, ai);
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = (Class30_Sub2_Sub4_Sub6) aClass12_95.method222(aLong78);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
boolean flag = false;
|
||||
for (int value : anIntArray94) {
|
||||
if (!Class30_Sub2_Sub4_Sub6.method463(value)) {
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
return null;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6[anIntArray94.length];
|
||||
for (int j1 = 0; j1 < anIntArray94.length; j1++) {
|
||||
aclass30_sub2_sub4_sub6[j1] = Class30_Sub2_Sub4_Sub6.method462(anIntArray94[j1]);
|
||||
}
|
||||
if (aclass30_sub2_sub4_sub6.length == 1) {
|
||||
class30_sub2_sub4_sub6 = aclass30_sub2_sub4_sub6[0];
|
||||
} else {
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(aclass30_sub2_sub4_sub6.length, aclass30_sub2_sub4_sub6);
|
||||
}
|
||||
if (anIntArray76 != null) {
|
||||
for (int k1 = 0; k1 < anIntArray76.length; k1++) {
|
||||
class30_sub2_sub4_sub6.method476(anIntArray76[k1], anIntArray70[k1]);
|
||||
}
|
||||
}
|
||||
class30_sub2_sub4_sub6.method469();
|
||||
class30_sub2_sub4_sub6.method479(64 + anInt85, 850 + anInt92, -30, -50, -30, true);
|
||||
aClass12_95.method223(class30_sub2_sub4_sub6, aLong78);
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = Class30_Sub2_Sub4_Sub6.aClass30_Sub2_Sub4_Sub6_1621;
|
||||
class30_sub2_sub4_sub6_1.method464(class30_sub2_sub4_sub6, Class36.method532(k) & Class36.method532(j));
|
||||
if (k != -1 && j != -1) {
|
||||
class30_sub2_sub4_sub6_1.method471(ai, j, k);
|
||||
} else if (k != -1) {
|
||||
class30_sub2_sub4_sub6_1.method470(k);
|
||||
}
|
||||
if (anInt91 != 128 || anInt86 != 128) {
|
||||
class30_sub2_sub4_sub6_1.method478(anInt91, anInt91, anInt86);
|
||||
}
|
||||
class30_sub2_sub4_sub6_1.method466();
|
||||
class30_sub2_sub4_sub6_1.anIntArrayArray1658 = null;
|
||||
class30_sub2_sub4_sub6_1.anIntArrayArray1657 = null;
|
||||
if (aByte68 == 1) {
|
||||
class30_sub2_sub4_sub6_1.aBoolean1659 = true;
|
||||
}
|
||||
return class30_sub2_sub4_sub6_1;
|
||||
}
|
||||
|
||||
public void method165(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
do {
|
||||
int i = class30_sub2_sub2.method408();
|
||||
if (i == 0) {
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
int j = class30_sub2_sub2.method408();
|
||||
anIntArray94 = new int[j];
|
||||
for (int j1 = 0; j1 < j; j1++) {
|
||||
anIntArray94[j1] = class30_sub2_sub2.method410();
|
||||
}
|
||||
} else if (i == 2) {
|
||||
aString65 = class30_sub2_sub2.method415();
|
||||
} else if (i == 3) {
|
||||
aByteArray89 = class30_sub2_sub2.method416();
|
||||
} else if (i == 12) {
|
||||
aByte68 = class30_sub2_sub2.method409();
|
||||
} else if (i == 13) {
|
||||
anInt77 = class30_sub2_sub2.method410();
|
||||
} else if (i == 14) {
|
||||
anInt67 = class30_sub2_sub2.method410();
|
||||
} else if (i == 17) {
|
||||
anInt67 = class30_sub2_sub2.method410();
|
||||
anInt58 = class30_sub2_sub2.method410();
|
||||
anInt83 = class30_sub2_sub2.method410();
|
||||
anInt55 = class30_sub2_sub2.method410();
|
||||
} else if (i >= 30 && i < 40) {
|
||||
if (aStringArray66 == null) {
|
||||
aStringArray66 = new String[5];
|
||||
}
|
||||
aStringArray66[i - 30] = class30_sub2_sub2.method415();
|
||||
if (aStringArray66[i - 30].equalsIgnoreCase("hidden")) {
|
||||
aStringArray66[i - 30] = null;
|
||||
}
|
||||
} else if (i == 40) {
|
||||
int k = class30_sub2_sub2.method408();
|
||||
anIntArray76 = new int[k];
|
||||
anIntArray70 = new int[k];
|
||||
for (int k1 = 0; k1 < k; k1++) {
|
||||
anIntArray76[k1] = class30_sub2_sub2.method410();
|
||||
anIntArray70[k1] = class30_sub2_sub2.method410();
|
||||
}
|
||||
} else if (i == 60) {
|
||||
int l = class30_sub2_sub2.method408();
|
||||
anIntArray73 = new int[l];
|
||||
for (int l1 = 0; l1 < l; l1++) {
|
||||
anIntArray73[l1] = class30_sub2_sub2.method410();
|
||||
}
|
||||
} else if (i == 90) {
|
||||
unusedInt2 = class30_sub2_sub2.method410();
|
||||
} else if (i == 91) {
|
||||
unusedInt0 = class30_sub2_sub2.method410();
|
||||
} else if (i == 92) {
|
||||
unusedInt1 = class30_sub2_sub2.method410();
|
||||
} else if (i == 93) {
|
||||
aBoolean87 = false;
|
||||
} else if (i == 95) {
|
||||
anInt61 = class30_sub2_sub2.method410();
|
||||
} else if (i == 97) {
|
||||
anInt91 = class30_sub2_sub2.method410();
|
||||
} else if (i == 98) {
|
||||
anInt86 = class30_sub2_sub2.method410();
|
||||
} else if (i == 99) {
|
||||
aBoolean93 = true;
|
||||
} else if (i == 100) {
|
||||
anInt85 = class30_sub2_sub2.method409();
|
||||
} else if (i == 101) {
|
||||
anInt92 = class30_sub2_sub2.method409() * 5;
|
||||
} else if (i == 102) {
|
||||
anInt75 = class30_sub2_sub2.method410();
|
||||
} else if (i == 103) {
|
||||
anInt79 = class30_sub2_sub2.method410();
|
||||
} else if (i == 106) {
|
||||
anInt57 = class30_sub2_sub2.method410();
|
||||
if (anInt57 == 65535) {
|
||||
anInt57 = -1;
|
||||
}
|
||||
anInt59 = class30_sub2_sub2.method410();
|
||||
if (anInt59 == 65535) {
|
||||
anInt59 = -1;
|
||||
}
|
||||
int i1 = class30_sub2_sub2.method408();
|
||||
anIntArray88 = new int[i1 + 1];
|
||||
for (int i2 = 0; i2 <= i1; i2++) {
|
||||
anIntArray88[i2] = class30_sub2_sub2.method410();
|
||||
if (anIntArray88[i2] == 65535) {
|
||||
anIntArray88[i2] = -1;
|
||||
}
|
||||
}
|
||||
} else if (i == 107) {
|
||||
aBoolean84 = false;
|
||||
}
|
||||
} while (true);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,364 +0,0 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class9 {
|
||||
|
||||
public static Class9[] aClass9Array210;
|
||||
public static Class12 aClass12_238;
|
||||
public static final Class12 aClass12_264 = new Class12(30);
|
||||
public Class30_Sub2_Sub1_Sub1 aClass30_Sub2_Sub1_Sub1_207;
|
||||
public int anInt208;
|
||||
public Class30_Sub2_Sub1_Sub1[] aClass30_Sub2_Sub1_Sub1Array209;
|
||||
public int unusedInt;
|
||||
public int[] anIntArray212;
|
||||
public int anInt214;
|
||||
public int[] anIntArray215;
|
||||
public int anInt216;
|
||||
public int anInt217;
|
||||
public String aString218;
|
||||
public int anInt219;
|
||||
public int anInt220;
|
||||
public String aString221;
|
||||
public String aString222;
|
||||
public boolean aBoolean223;
|
||||
public int anInt224;
|
||||
public String[] aStringArray225;
|
||||
public int[][] anIntArrayArray226;
|
||||
public boolean aBoolean227;
|
||||
public String aString228;
|
||||
public int anInt230;
|
||||
public int anInt231;
|
||||
public int anInt232;
|
||||
public int anInt233;
|
||||
public int anInt234;
|
||||
public boolean aBoolean235;
|
||||
public int anInt236;
|
||||
public int anInt237;
|
||||
public int anInt239;
|
||||
public int[] anIntArray240;
|
||||
public int[] anIntArray241;
|
||||
public boolean aBoolean242;
|
||||
public Class30_Sub2_Sub1_Sub4 aClass30_Sub2_Sub1_Sub4_243;
|
||||
public int anInt244;
|
||||
public int[] anIntArray245;
|
||||
public int anInt246;
|
||||
public int[] anIntArray247;
|
||||
public String aString248;
|
||||
public boolean aBoolean249;
|
||||
public int anInt250;
|
||||
public boolean unusedBool;
|
||||
public int[] anIntArray252;
|
||||
public int[] anIntArray253;
|
||||
public byte aByte254;
|
||||
public int anInt255;
|
||||
public int anInt256;
|
||||
public int anInt257;
|
||||
public int anInt258;
|
||||
public boolean aBoolean259;
|
||||
public Class30_Sub2_Sub1_Sub1 aClass30_Sub2_Sub1_Sub1_260;
|
||||
public int anInt261;
|
||||
public int anInt262;
|
||||
public int anInt263;
|
||||
public int anInt265;
|
||||
public boolean aBoolean266;
|
||||
public int anInt267;
|
||||
public boolean aBoolean268;
|
||||
public int anInt269;
|
||||
public int anInt270;
|
||||
public int anInt271;
|
||||
public int[] anIntArray272;
|
||||
|
||||
public Class9() {
|
||||
}
|
||||
|
||||
public static void method205(Class44 class44, Class30_Sub2_Sub1_Sub4[] aclass30_sub2_sub1_sub4, Class44 class44_1) {
|
||||
aClass12_238 = new Class12(50000);
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("data", null));
|
||||
int i = -1;
|
||||
int j = class30_sub2_sub2.method410();
|
||||
aClass9Array210 = new Class9[j];
|
||||
while (class30_sub2_sub2.anInt1406 < class30_sub2_sub2.aByteArray1405.length) {
|
||||
int k = class30_sub2_sub2.method410();
|
||||
if (k == 65535) {
|
||||
i = class30_sub2_sub2.method410();
|
||||
k = class30_sub2_sub2.method410();
|
||||
}
|
||||
Class9 class9 = aClass9Array210[k] = new Class9();
|
||||
class9.anInt250 = k;
|
||||
class9.anInt236 = i;
|
||||
class9.anInt262 = class30_sub2_sub2.method408();
|
||||
class9.anInt217 = class30_sub2_sub2.method408();
|
||||
class9.anInt214 = class30_sub2_sub2.method410();
|
||||
class9.anInt220 = class30_sub2_sub2.method410();
|
||||
class9.anInt267 = class30_sub2_sub2.method410();
|
||||
class9.aByte254 = (byte) class30_sub2_sub2.method408();
|
||||
class9.anInt230 = class30_sub2_sub2.method408();
|
||||
if (class9.anInt230 != 0) {
|
||||
class9.anInt230 = (class9.anInt230 - 1 << 8) + class30_sub2_sub2.method408();
|
||||
} else {
|
||||
class9.anInt230 = -1;
|
||||
}
|
||||
int i1 = class30_sub2_sub2.method408();
|
||||
if (i1 > 0) {
|
||||
class9.anIntArray245 = new int[i1];
|
||||
class9.anIntArray212 = new int[i1];
|
||||
for (int j1 = 0; j1 < i1; j1++) {
|
||||
class9.anIntArray245[j1] = class30_sub2_sub2.method408();
|
||||
class9.anIntArray212[j1] = class30_sub2_sub2.method410();
|
||||
}
|
||||
}
|
||||
int k1 = class30_sub2_sub2.method408();
|
||||
if (k1 > 0) {
|
||||
class9.anIntArrayArray226 = new int[k1][];
|
||||
for (int l1 = 0; l1 < k1; l1++) {
|
||||
int i3 = class30_sub2_sub2.method410();
|
||||
class9.anIntArrayArray226[l1] = new int[i3];
|
||||
for (int l4 = 0; l4 < i3; l4++) {
|
||||
class9.anIntArrayArray226[l1][l4] = class30_sub2_sub2.method410();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (class9.anInt262 == 0) {
|
||||
class9.anInt261 = class30_sub2_sub2.method410();
|
||||
class9.aBoolean266 = class30_sub2_sub2.method408() == 1;
|
||||
int i2 = class30_sub2_sub2.method410();
|
||||
class9.anIntArray240 = new int[i2];
|
||||
class9.anIntArray241 = new int[i2];
|
||||
class9.anIntArray272 = new int[i2];
|
||||
for (int j3 = 0; j3 < i2; j3++) {
|
||||
class9.anIntArray240[j3] = class30_sub2_sub2.method410();
|
||||
class9.anIntArray241[j3] = class30_sub2_sub2.method411();
|
||||
class9.anIntArray272[j3] = class30_sub2_sub2.method411();
|
||||
}
|
||||
}
|
||||
if (class9.anInt262 == 1) {
|
||||
class9.unusedInt = class30_sub2_sub2.method410();
|
||||
class9.unusedBool = class30_sub2_sub2.method408() == 1;
|
||||
}
|
||||
if (class9.anInt262 == 2) {
|
||||
class9.anIntArray253 = new int[class9.anInt220 * class9.anInt267];
|
||||
class9.anIntArray252 = new int[class9.anInt220 * class9.anInt267];
|
||||
class9.aBoolean259 = class30_sub2_sub2.method408() == 1;
|
||||
class9.aBoolean249 = class30_sub2_sub2.method408() == 1;
|
||||
class9.aBoolean242 = class30_sub2_sub2.method408() == 1;
|
||||
class9.aBoolean235 = class30_sub2_sub2.method408() == 1;
|
||||
class9.anInt231 = class30_sub2_sub2.method408();
|
||||
class9.anInt244 = class30_sub2_sub2.method408();
|
||||
class9.anIntArray215 = new int[20];
|
||||
class9.anIntArray247 = new int[20];
|
||||
class9.aClass30_Sub2_Sub1_Sub1Array209 = new Class30_Sub2_Sub1_Sub1[20];
|
||||
for (int j2 = 0; j2 < 20; j2++) {
|
||||
int k3 = class30_sub2_sub2.method408();
|
||||
if (k3 == 1) {
|
||||
class9.anIntArray215[j2] = class30_sub2_sub2.method411();
|
||||
class9.anIntArray247[j2] = class30_sub2_sub2.method411();
|
||||
String s1 = class30_sub2_sub2.method415();
|
||||
if (class44_1 != null && s1.length() > 0) {
|
||||
int i5 = s1.lastIndexOf(",");
|
||||
class9.aClass30_Sub2_Sub1_Sub1Array209[j2] = method207(Integer.parseInt(s1.substring(i5 + 1)), class44_1, s1.substring(0, i5));
|
||||
}
|
||||
}
|
||||
}
|
||||
class9.aStringArray225 = new String[5];
|
||||
for (int l3 = 0; l3 < 5; l3++) {
|
||||
class9.aStringArray225[l3] = class30_sub2_sub2.method415();
|
||||
if (class9.aStringArray225[l3].length() == 0) {
|
||||
class9.aStringArray225[l3] = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (class9.anInt262 == 3) {
|
||||
class9.aBoolean227 = class30_sub2_sub2.method408() == 1;
|
||||
}
|
||||
if (class9.anInt262 == 4 || class9.anInt262 == 1) {
|
||||
class9.aBoolean223 = class30_sub2_sub2.method408() == 1;
|
||||
int k2 = class30_sub2_sub2.method408();
|
||||
if (aclass30_sub2_sub1_sub4 != null) {
|
||||
class9.aClass30_Sub2_Sub1_Sub4_243 = aclass30_sub2_sub1_sub4[k2];
|
||||
}
|
||||
class9.aBoolean268 = class30_sub2_sub2.method408() == 1;
|
||||
}
|
||||
if (class9.anInt262 == 4) {
|
||||
class9.aString248 = class30_sub2_sub2.method415();
|
||||
class9.aString228 = class30_sub2_sub2.method415();
|
||||
}
|
||||
if (class9.anInt262 == 1 || class9.anInt262 == 3 || class9.anInt262 == 4) {
|
||||
class9.anInt232 = class30_sub2_sub2.method413();
|
||||
}
|
||||
if (class9.anInt262 == 3 || class9.anInt262 == 4) {
|
||||
class9.anInt219 = class30_sub2_sub2.method413();
|
||||
class9.anInt216 = class30_sub2_sub2.method413();
|
||||
class9.anInt239 = class30_sub2_sub2.method413();
|
||||
}
|
||||
if (class9.anInt262 == 5) {
|
||||
String s = class30_sub2_sub2.method415();
|
||||
if (class44_1 != null && s.length() > 0) {
|
||||
int i4 = s.lastIndexOf(",");
|
||||
class9.aClass30_Sub2_Sub1_Sub1_207 = method207(Integer.parseInt(s.substring(i4 + 1)), class44_1, s.substring(0, i4));
|
||||
}
|
||||
s = class30_sub2_sub2.method415();
|
||||
if (class44_1 != null && s.length() > 0) {
|
||||
int j4 = s.lastIndexOf(",");
|
||||
class9.aClass30_Sub2_Sub1_Sub1_260 = method207(Integer.parseInt(s.substring(j4 + 1)), class44_1, s.substring(0, j4));
|
||||
}
|
||||
}
|
||||
if (class9.anInt262 == 6) {
|
||||
int l = class30_sub2_sub2.method408();
|
||||
if (l != 0) {
|
||||
class9.anInt233 = 1;
|
||||
class9.anInt234 = (l - 1 << 8) + class30_sub2_sub2.method408();
|
||||
}
|
||||
l = class30_sub2_sub2.method408();
|
||||
if (l != 0) {
|
||||
class9.anInt255 = 1;
|
||||
class9.anInt256 = (l - 1 << 8) + class30_sub2_sub2.method408();
|
||||
}
|
||||
l = class30_sub2_sub2.method408();
|
||||
if (l != 0) {
|
||||
class9.anInt257 = (l - 1 << 8) + class30_sub2_sub2.method408();
|
||||
} else {
|
||||
class9.anInt257 = -1;
|
||||
}
|
||||
l = class30_sub2_sub2.method408();
|
||||
if (l != 0) {
|
||||
class9.anInt258 = (l - 1 << 8) + class30_sub2_sub2.method408();
|
||||
} else {
|
||||
class9.anInt258 = -1;
|
||||
}
|
||||
class9.anInt269 = class30_sub2_sub2.method410();
|
||||
class9.anInt270 = class30_sub2_sub2.method410();
|
||||
class9.anInt271 = class30_sub2_sub2.method410();
|
||||
}
|
||||
if (class9.anInt262 == 7) {
|
||||
class9.anIntArray253 = new int[class9.anInt220 * class9.anInt267];
|
||||
class9.anIntArray252 = new int[class9.anInt220 * class9.anInt267];
|
||||
class9.aBoolean223 = class30_sub2_sub2.method408() == 1;
|
||||
int l2 = class30_sub2_sub2.method408();
|
||||
if (aclass30_sub2_sub1_sub4 != null) {
|
||||
class9.aClass30_Sub2_Sub1_Sub4_243 = aclass30_sub2_sub1_sub4[l2];
|
||||
}
|
||||
class9.aBoolean268 = class30_sub2_sub2.method408() == 1;
|
||||
class9.anInt232 = class30_sub2_sub2.method413();
|
||||
class9.anInt231 = class30_sub2_sub2.method411();
|
||||
class9.anInt244 = class30_sub2_sub2.method411();
|
||||
class9.aBoolean249 = class30_sub2_sub2.method408() == 1;
|
||||
class9.aStringArray225 = new String[5];
|
||||
for (int k4 = 0; k4 < 5; k4++) {
|
||||
class9.aStringArray225[k4] = class30_sub2_sub2.method415();
|
||||
if (class9.aStringArray225[k4].length() == 0) {
|
||||
class9.aStringArray225[k4] = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (class9.anInt217 == 2 || class9.anInt262 == 2) {
|
||||
class9.aString222 = class30_sub2_sub2.method415();
|
||||
class9.aString218 = class30_sub2_sub2.method415();
|
||||
class9.anInt237 = class30_sub2_sub2.method410();
|
||||
}
|
||||
if (class9.anInt217 == 1 || class9.anInt217 == 4 || class9.anInt217 == 5 || class9.anInt217 == 6) {
|
||||
class9.aString221 = class30_sub2_sub2.method415();
|
||||
if (class9.aString221.length() == 0) {
|
||||
if (class9.anInt217 == 1) {
|
||||
class9.aString221 = "Ok";
|
||||
}
|
||||
if (class9.anInt217 == 4) {
|
||||
class9.aString221 = "Select";
|
||||
}
|
||||
if (class9.anInt217 == 5) {
|
||||
class9.aString221 = "Select";
|
||||
}
|
||||
if (class9.anInt217 == 6) {
|
||||
class9.aString221 = "Continue";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
aClass12_238 = null;
|
||||
}
|
||||
|
||||
public static Class30_Sub2_Sub1_Sub1 method207(int i, Class44 class44, String s) {
|
||||
long l = (Class50.method585(s) << 8) + (long) i;
|
||||
Class30_Sub2_Sub1_Sub1 class30_sub2_sub1_sub1 = (Class30_Sub2_Sub1_Sub1) aClass12_238.method222(l);
|
||||
if (class30_sub2_sub1_sub1 != null) {
|
||||
return class30_sub2_sub1_sub1;
|
||||
}
|
||||
try {
|
||||
class30_sub2_sub1_sub1 = new Class30_Sub2_Sub1_Sub1(class44, s, i);
|
||||
aClass12_238.method223(class30_sub2_sub1_sub1, l);
|
||||
} catch (Exception _ex) {
|
||||
return null;
|
||||
}
|
||||
return class30_sub2_sub1_sub1;
|
||||
}
|
||||
|
||||
public static void method208(int i, int j, Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6) {
|
||||
aClass12_264.method224();
|
||||
if (class30_sub2_sub4_sub6 != null && j != 4) {
|
||||
aClass12_264.method223(class30_sub2_sub4_sub6, (j << 16) + i);
|
||||
}
|
||||
}
|
||||
|
||||
public void method204(int i, int j) {
|
||||
int k = anIntArray253[i];
|
||||
anIntArray253[i] = anIntArray253[j];
|
||||
anIntArray253[j] = k;
|
||||
k = anIntArray252[i];
|
||||
anIntArray252[i] = anIntArray252[j];
|
||||
anIntArray252[j] = k;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method206(int i, int j) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = (Class30_Sub2_Sub4_Sub6) aClass12_264.method222((i << 16) + j);
|
||||
if (class30_sub2_sub4_sub6 != null) {
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
if (i == 1) {
|
||||
class30_sub2_sub4_sub6 = Class30_Sub2_Sub4_Sub6.method462(j);
|
||||
}
|
||||
if (i == 2) {
|
||||
class30_sub2_sub4_sub6 = Class5.method159(j).method160();
|
||||
}
|
||||
if (i == 3) {
|
||||
class30_sub2_sub4_sub6 = client.aClass30_Sub2_Sub4_Sub1_Sub2_1126.method453();
|
||||
}
|
||||
if (i == 4) {
|
||||
class30_sub2_sub4_sub6 = Class8.method198(j).method202(50);
|
||||
}
|
||||
if (i == 5) {
|
||||
class30_sub2_sub4_sub6 = null;
|
||||
}
|
||||
if (class30_sub2_sub4_sub6 != null) {
|
||||
aClass12_264.method223(class30_sub2_sub4_sub6, (i << 16) + j);
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method209(int j, int k, boolean flag) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6;
|
||||
if (flag) {
|
||||
class30_sub2_sub4_sub6 = method206(anInt255, anInt256);
|
||||
} else {
|
||||
class30_sub2_sub4_sub6 = method206(anInt233, anInt234);
|
||||
}
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
return null;
|
||||
}
|
||||
if (k == -1 && j == -1 && class30_sub2_sub4_sub6.anIntArray1640 == null) {
|
||||
return class30_sub2_sub4_sub6;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = new Class30_Sub2_Sub4_Sub6(true, Class36.method532(k) & Class36.method532(j), false, class30_sub2_sub4_sub6);
|
||||
if (k != -1 || j != -1) {
|
||||
class30_sub2_sub4_sub6_1.method469();
|
||||
}
|
||||
if (k != -1) {
|
||||
class30_sub2_sub4_sub6_1.method470(k);
|
||||
}
|
||||
if (j != -1) {
|
||||
class30_sub2_sub4_sub6_1.method470(j);
|
||||
}
|
||||
class30_sub2_sub4_sub6_1.method479(64, 768, -50, -10, -50, true);
|
||||
return class30_sub2_sub4_sub6_1;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,364 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Component {
|
||||
|
||||
public static Component[] aComponentArray210;
|
||||
public static LRUCache aCache_238;
|
||||
public static final LRUCache A_CACHE___264 = new LRUCache(30);
|
||||
public Image24 aImage_207;
|
||||
public int anInt208;
|
||||
public Image24[] aImageArray209;
|
||||
public int unusedInt;
|
||||
public int[] anIntArray212;
|
||||
public int anInt214;
|
||||
public int[] anIntArray215;
|
||||
public int anInt216;
|
||||
public int anInt217;
|
||||
public String aString218;
|
||||
public int anInt219;
|
||||
public int anInt220;
|
||||
public String aString221;
|
||||
public String aString222;
|
||||
public boolean aBoolean223;
|
||||
public int anInt224;
|
||||
public String[] aStringArray225;
|
||||
public int[][] anIntArrayArray226;
|
||||
public boolean aBoolean227;
|
||||
public String aString228;
|
||||
public int anInt230;
|
||||
public int anInt231;
|
||||
public int anInt232;
|
||||
public int anInt233;
|
||||
public int anInt234;
|
||||
public boolean aBoolean235;
|
||||
public int anInt236;
|
||||
public int anInt237;
|
||||
public int anInt239;
|
||||
public int[] anIntArray240;
|
||||
public int[] anIntArray241;
|
||||
public boolean aBoolean242;
|
||||
public BitmapFont aFont_243;
|
||||
public int anInt244;
|
||||
public int[] anIntArray245;
|
||||
public int anInt246;
|
||||
public int[] anIntArray247;
|
||||
public String aString248;
|
||||
public boolean aBoolean249;
|
||||
public int anInt250;
|
||||
public boolean unusedBool;
|
||||
public int[] anIntArray252;
|
||||
public int[] anIntArray253;
|
||||
public byte aByte254;
|
||||
public int anInt255;
|
||||
public int anInt256;
|
||||
public int anInt257;
|
||||
public int anInt258;
|
||||
public boolean aBoolean259;
|
||||
public Image24 aImage_260;
|
||||
public int anInt261;
|
||||
public int anInt262;
|
||||
public int anInt263;
|
||||
public int anInt265;
|
||||
public boolean aBoolean266;
|
||||
public int anInt267;
|
||||
public boolean aBoolean268;
|
||||
public int anInt269;
|
||||
public int anInt270;
|
||||
public int anInt271;
|
||||
public int[] anIntArray272;
|
||||
|
||||
public Component() {
|
||||
}
|
||||
|
||||
public static void method205(Class44 class44, BitmapFont[] aclass30_sub2_sub1_sub4, Class44 class44_1) {
|
||||
aCache_238 = new LRUCache(50000);
|
||||
Buffer buffer = new Buffer(class44.method571("data", null));
|
||||
int i = -1;
|
||||
int j = buffer.method410();
|
||||
aComponentArray210 = new Component[j];
|
||||
while (buffer.anInt1406 < buffer.aByteArray1405.length) {
|
||||
int k = buffer.method410();
|
||||
if (k == 65535) {
|
||||
i = buffer.method410();
|
||||
k = buffer.method410();
|
||||
}
|
||||
Component component = aComponentArray210[k] = new Component();
|
||||
component.anInt250 = k;
|
||||
component.anInt236 = i;
|
||||
component.anInt262 = buffer.method408();
|
||||
component.anInt217 = buffer.method408();
|
||||
component.anInt214 = buffer.method410();
|
||||
component.anInt220 = buffer.method410();
|
||||
component.anInt267 = buffer.method410();
|
||||
component.aByte254 = (byte) buffer.method408();
|
||||
component.anInt230 = buffer.method408();
|
||||
if (component.anInt230 != 0) {
|
||||
component.anInt230 = (component.anInt230 - 1 << 8) + buffer.method408();
|
||||
} else {
|
||||
component.anInt230 = -1;
|
||||
}
|
||||
int i1 = buffer.method408();
|
||||
if (i1 > 0) {
|
||||
component.anIntArray245 = new int[i1];
|
||||
component.anIntArray212 = new int[i1];
|
||||
for (int j1 = 0; j1 < i1; j1++) {
|
||||
component.anIntArray245[j1] = buffer.method408();
|
||||
component.anIntArray212[j1] = buffer.method410();
|
||||
}
|
||||
}
|
||||
int k1 = buffer.method408();
|
||||
if (k1 > 0) {
|
||||
component.anIntArrayArray226 = new int[k1][];
|
||||
for (int l1 = 0; l1 < k1; l1++) {
|
||||
int i3 = buffer.method410();
|
||||
component.anIntArrayArray226[l1] = new int[i3];
|
||||
for (int l4 = 0; l4 < i3; l4++) {
|
||||
component.anIntArrayArray226[l1][l4] = buffer.method410();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (component.anInt262 == 0) {
|
||||
component.anInt261 = buffer.method410();
|
||||
component.aBoolean266 = buffer.method408() == 1;
|
||||
int i2 = buffer.method410();
|
||||
component.anIntArray240 = new int[i2];
|
||||
component.anIntArray241 = new int[i2];
|
||||
component.anIntArray272 = new int[i2];
|
||||
for (int j3 = 0; j3 < i2; j3++) {
|
||||
component.anIntArray240[j3] = buffer.method410();
|
||||
component.anIntArray241[j3] = buffer.method411();
|
||||
component.anIntArray272[j3] = buffer.method411();
|
||||
}
|
||||
}
|
||||
if (component.anInt262 == 1) {
|
||||
component.unusedInt = buffer.method410();
|
||||
component.unusedBool = buffer.method408() == 1;
|
||||
}
|
||||
if (component.anInt262 == 2) {
|
||||
component.anIntArray253 = new int[component.anInt220 * component.anInt267];
|
||||
component.anIntArray252 = new int[component.anInt220 * component.anInt267];
|
||||
component.aBoolean259 = buffer.method408() == 1;
|
||||
component.aBoolean249 = buffer.method408() == 1;
|
||||
component.aBoolean242 = buffer.method408() == 1;
|
||||
component.aBoolean235 = buffer.method408() == 1;
|
||||
component.anInt231 = buffer.method408();
|
||||
component.anInt244 = buffer.method408();
|
||||
component.anIntArray215 = new int[20];
|
||||
component.anIntArray247 = new int[20];
|
||||
component.aImageArray209 = new Image24[20];
|
||||
for (int j2 = 0; j2 < 20; j2++) {
|
||||
int k3 = buffer.method408();
|
||||
if (k3 == 1) {
|
||||
component.anIntArray215[j2] = buffer.method411();
|
||||
component.anIntArray247[j2] = buffer.method411();
|
||||
String s1 = buffer.method415();
|
||||
if (class44_1 != null && s1.length() > 0) {
|
||||
int i5 = s1.lastIndexOf(",");
|
||||
component.aImageArray209[j2] = method207(Integer.parseInt(s1.substring(i5 + 1)), class44_1, s1.substring(0, i5));
|
||||
}
|
||||
}
|
||||
}
|
||||
component.aStringArray225 = new String[5];
|
||||
for (int l3 = 0; l3 < 5; l3++) {
|
||||
component.aStringArray225[l3] = buffer.method415();
|
||||
if (component.aStringArray225[l3].length() == 0) {
|
||||
component.aStringArray225[l3] = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (component.anInt262 == 3) {
|
||||
component.aBoolean227 = buffer.method408() == 1;
|
||||
}
|
||||
if (component.anInt262 == 4 || component.anInt262 == 1) {
|
||||
component.aBoolean223 = buffer.method408() == 1;
|
||||
int k2 = buffer.method408();
|
||||
if (aclass30_sub2_sub1_sub4 != null) {
|
||||
component.aFont_243 = aclass30_sub2_sub1_sub4[k2];
|
||||
}
|
||||
component.aBoolean268 = buffer.method408() == 1;
|
||||
}
|
||||
if (component.anInt262 == 4) {
|
||||
component.aString248 = buffer.method415();
|
||||
component.aString228 = buffer.method415();
|
||||
}
|
||||
if (component.anInt262 == 1 || component.anInt262 == 3 || component.anInt262 == 4) {
|
||||
component.anInt232 = buffer.method413();
|
||||
}
|
||||
if (component.anInt262 == 3 || component.anInt262 == 4) {
|
||||
component.anInt219 = buffer.method413();
|
||||
component.anInt216 = buffer.method413();
|
||||
component.anInt239 = buffer.method413();
|
||||
}
|
||||
if (component.anInt262 == 5) {
|
||||
String s = buffer.method415();
|
||||
if (class44_1 != null && s.length() > 0) {
|
||||
int i4 = s.lastIndexOf(",");
|
||||
component.aImage_207 = method207(Integer.parseInt(s.substring(i4 + 1)), class44_1, s.substring(0, i4));
|
||||
}
|
||||
s = buffer.method415();
|
||||
if (class44_1 != null && s.length() > 0) {
|
||||
int j4 = s.lastIndexOf(",");
|
||||
component.aImage_260 = method207(Integer.parseInt(s.substring(j4 + 1)), class44_1, s.substring(0, j4));
|
||||
}
|
||||
}
|
||||
if (component.anInt262 == 6) {
|
||||
int l = buffer.method408();
|
||||
if (l != 0) {
|
||||
component.anInt233 = 1;
|
||||
component.anInt234 = (l - 1 << 8) + buffer.method408();
|
||||
}
|
||||
l = buffer.method408();
|
||||
if (l != 0) {
|
||||
component.anInt255 = 1;
|
||||
component.anInt256 = (l - 1 << 8) + buffer.method408();
|
||||
}
|
||||
l = buffer.method408();
|
||||
if (l != 0) {
|
||||
component.anInt257 = (l - 1 << 8) + buffer.method408();
|
||||
} else {
|
||||
component.anInt257 = -1;
|
||||
}
|
||||
l = buffer.method408();
|
||||
if (l != 0) {
|
||||
component.anInt258 = (l - 1 << 8) + buffer.method408();
|
||||
} else {
|
||||
component.anInt258 = -1;
|
||||
}
|
||||
component.anInt269 = buffer.method410();
|
||||
component.anInt270 = buffer.method410();
|
||||
component.anInt271 = buffer.method410();
|
||||
}
|
||||
if (component.anInt262 == 7) {
|
||||
component.anIntArray253 = new int[component.anInt220 * component.anInt267];
|
||||
component.anIntArray252 = new int[component.anInt220 * component.anInt267];
|
||||
component.aBoolean223 = buffer.method408() == 1;
|
||||
int l2 = buffer.method408();
|
||||
if (aclass30_sub2_sub1_sub4 != null) {
|
||||
component.aFont_243 = aclass30_sub2_sub1_sub4[l2];
|
||||
}
|
||||
component.aBoolean268 = buffer.method408() == 1;
|
||||
component.anInt232 = buffer.method413();
|
||||
component.anInt231 = buffer.method411();
|
||||
component.anInt244 = buffer.method411();
|
||||
component.aBoolean249 = buffer.method408() == 1;
|
||||
component.aStringArray225 = new String[5];
|
||||
for (int k4 = 0; k4 < 5; k4++) {
|
||||
component.aStringArray225[k4] = buffer.method415();
|
||||
if (component.aStringArray225[k4].length() == 0) {
|
||||
component.aStringArray225[k4] = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (component.anInt217 == 2 || component.anInt262 == 2) {
|
||||
component.aString222 = buffer.method415();
|
||||
component.aString218 = buffer.method415();
|
||||
component.anInt237 = buffer.method410();
|
||||
}
|
||||
if (component.anInt217 == 1 || component.anInt217 == 4 || component.anInt217 == 5 || component.anInt217 == 6) {
|
||||
component.aString221 = buffer.method415();
|
||||
if (component.aString221.length() == 0) {
|
||||
if (component.anInt217 == 1) {
|
||||
component.aString221 = "Ok";
|
||||
}
|
||||
if (component.anInt217 == 4) {
|
||||
component.aString221 = "Select";
|
||||
}
|
||||
if (component.anInt217 == 5) {
|
||||
component.aString221 = "Select";
|
||||
}
|
||||
if (component.anInt217 == 6) {
|
||||
component.aString221 = "Continue";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
aCache_238 = null;
|
||||
}
|
||||
|
||||
public static Image24 method207(int i, Class44 class44, String s) {
|
||||
long l = (Class50.method585(s) << 8) + (long) i;
|
||||
Image24 image = (Image24) aCache_238.method222(l);
|
||||
if (image != null) {
|
||||
return image;
|
||||
}
|
||||
try {
|
||||
image = new Image24(class44, s, i);
|
||||
aCache_238.method223(image, l);
|
||||
} catch (Exception _ex) {
|
||||
return null;
|
||||
}
|
||||
return image;
|
||||
}
|
||||
|
||||
public static void method208(int i, int j, Model model) {
|
||||
A_CACHE___264.method224();
|
||||
if (model != null && j != 4) {
|
||||
A_CACHE___264.method223(model, (j << 16) + i);
|
||||
}
|
||||
}
|
||||
|
||||
public void method204(int i, int j) {
|
||||
int k = anIntArray253[i];
|
||||
anIntArray253[i] = anIntArray253[j];
|
||||
anIntArray253[j] = k;
|
||||
k = anIntArray252[i];
|
||||
anIntArray252[i] = anIntArray252[j];
|
||||
anIntArray252[j] = k;
|
||||
}
|
||||
|
||||
public Model method206(int i, int j) {
|
||||
Model model = (Model) A_CACHE___264.method222((i << 16) + j);
|
||||
if (model != null) {
|
||||
return model;
|
||||
}
|
||||
if (i == 1) {
|
||||
model = Model.method462(j);
|
||||
}
|
||||
if (i == 2) {
|
||||
model = NPCType.method159(j).method160();
|
||||
}
|
||||
if (i == 3) {
|
||||
model = Game.aPlayer_1126.method453();
|
||||
}
|
||||
if (i == 4) {
|
||||
model = ObjType.method198(j).method202(50);
|
||||
}
|
||||
if (i == 5) {
|
||||
model = null;
|
||||
}
|
||||
if (model != null) {
|
||||
A_CACHE___264.method223(model, (i << 16) + j);
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
public Model method209(int j, int k, boolean flag) {
|
||||
Model model;
|
||||
if (flag) {
|
||||
model = method206(anInt255, anInt256);
|
||||
} else {
|
||||
model = method206(anInt233, anInt234);
|
||||
}
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
if (k == -1 && j == -1 && model.anIntArray1640 == null) {
|
||||
return model;
|
||||
}
|
||||
Model model_1 = new Model(true, Class36.method532(k) & Class36.method532(j), false, model);
|
||||
if (k != -1 || j != -1) {
|
||||
model_1.method469();
|
||||
}
|
||||
if (k != -1) {
|
||||
model_1.method470(k);
|
||||
}
|
||||
if (j != -1) {
|
||||
model_1.method470(j);
|
||||
}
|
||||
model_1.method479(64, 768, -50, -10, -50, true);
|
||||
return model_1;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -7,21 +7,21 @@ import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.net.Socket;
|
||||
|
||||
public class Class24 implements Runnable {
|
||||
public class Connection implements Runnable {
|
||||
|
||||
public InputStream anInputStream419;
|
||||
public OutputStream anOutputStream420;
|
||||
public final Socket aSocket421;
|
||||
public boolean aBoolean422 = false;
|
||||
public final Applet_Sub1 anApplet_Sub1_423;
|
||||
public final GameShell anShell_423;
|
||||
public byte[] aByteArray424;
|
||||
public int anInt425;
|
||||
public int anInt426;
|
||||
public boolean aBoolean427 = false;
|
||||
public boolean aBoolean428 = false;
|
||||
|
||||
public Class24(Applet_Sub1 applet_sub1, Socket socket) throws IOException {
|
||||
anApplet_Sub1_423 = applet_sub1;
|
||||
public Connection(GameShell shell, Socket socket) throws IOException {
|
||||
anShell_423 = shell;
|
||||
aSocket421 = socket;
|
||||
aSocket421.setSoTimeout(30000);
|
||||
aSocket421.setTcpNoDelay(true);
|
||||
@@ -102,7 +102,7 @@ public class Class24 implements Runnable {
|
||||
}
|
||||
if (!aBoolean427) {
|
||||
aBoolean427 = true;
|
||||
anApplet_Sub1_423.method12(this, 3);
|
||||
anShell_423.method12(this, 3);
|
||||
}
|
||||
notify();
|
||||
}
|
||||
@@ -2,12 +2,12 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class19 {
|
||||
public class DoublyLinkedList {
|
||||
|
||||
public final Class30 aClass30_346;
|
||||
public Class30 aClass30_347;
|
||||
|
||||
public Class19() {
|
||||
public DoublyLinkedList() {
|
||||
aClass30_346 = new Class30();
|
||||
aClass30_346.aClass30_549 = aClass30_346;
|
||||
aClass30_346.aClass30_550 = aClass30_346;
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub1 extends Class30_Sub2 {
|
||||
public class Draw2D extends Class30_Sub2 {
|
||||
|
||||
public static int[] anIntArray1378;
|
||||
public static int anInt1379;
|
||||
@@ -15,7 +15,7 @@ public class Class30_Sub2_Sub1 extends Class30_Sub2 {
|
||||
public static int anInt1386;
|
||||
public static int anInt1387;
|
||||
|
||||
public Class30_Sub2_Sub1() {
|
||||
public Draw2D() {
|
||||
}
|
||||
|
||||
public static void method331(int i, int j, int[] ai) {
|
||||
File diff suppressed because it is too large.
Load diff
@@ -5,16 +5,16 @@
|
||||
import java.awt.*;
|
||||
import java.awt.image.*;
|
||||
|
||||
public class Class15 implements ImageProducer, ImageObserver {
|
||||
public class DrawArea implements ImageProducer, ImageObserver {
|
||||
|
||||
public final int[] anIntArray315;
|
||||
public final int anInt316;
|
||||
public final int anInt317;
|
||||
public final ColorModel aColorModel318;
|
||||
public ImageConsumer anImageConsumer319;
|
||||
public final Image anImage320;
|
||||
public ImageConsumer anImageConsumer319;
|
||||
|
||||
public Class15(int i, int j, Component component) {
|
||||
public DrawArea(int i, int j, java.awt.Component component) {
|
||||
anInt316 = i;
|
||||
anInt317 = j;
|
||||
anIntArray315 = new int[i * j];
|
||||
@@ -30,7 +30,7 @@ public class Class15 implements ImageProducer, ImageObserver {
|
||||
}
|
||||
|
||||
public void method237() {
|
||||
Class30_Sub2_Sub1.method331(anInt317, anInt316, anIntArray315);
|
||||
Draw2D.method331(anInt317, anInt316, anIntArray315);
|
||||
}
|
||||
|
||||
public void method238(int i, Graphics g, int k) {
|
||||
@@ -0,0 +1,25 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Entity extends Class30_Sub2 {
|
||||
|
||||
public Class33[] aClass33Array1425;
|
||||
public int anInt1426 = 1000;
|
||||
|
||||
public Entity() {
|
||||
}
|
||||
|
||||
public void method443(int i, int j, int k, int l, int i1, int j1, int k1, int l1, int i2) {
|
||||
Model model = method444();
|
||||
if (model != null) {
|
||||
anInt1426 = model.anInt1426;
|
||||
model.method443(i, j, k, l, i1, j1, k1, l1, i2);
|
||||
}
|
||||
}
|
||||
|
||||
public Model method444() {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
import java.io.IOException;
|
||||
import java.io.RandomAccessFile;
|
||||
|
||||
public class Class14 {
|
||||
public class FileStore {
|
||||
|
||||
public static final byte[] aByteArray308 = new byte[520];
|
||||
public final RandomAccessFile aRandomAccessFile309;
|
||||
@@ -13,7 +13,7 @@ public class Class14 {
|
||||
public final int anInt311;
|
||||
public int anInt312;
|
||||
|
||||
public Class14(int i, RandomAccessFile randomaccessfile, RandomAccessFile randomaccessfile1, int j) {
|
||||
public FileStore(int i, RandomAccessFile randomaccessfile, RandomAccessFile randomaccessfile1, int j) {
|
||||
anInt312 = 65000;
|
||||
anInt311 = j;
|
||||
aRandomAccessFile309 = randomaccessfile;
|
||||
@@ -2,10 +2,10 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class22 {
|
||||
public class FloType {
|
||||
|
||||
public static int anInt387;
|
||||
public static Class22[] aClass22Array388;
|
||||
public static FloType[] aTypeArray388;
|
||||
public String unusedString;
|
||||
public int anInt390;
|
||||
public int anInt391 = -1;
|
||||
@@ -18,46 +18,46 @@ public class Class22 {
|
||||
public int anInt398;
|
||||
public int anInt399;
|
||||
|
||||
public Class22() {
|
||||
public FloType() {
|
||||
}
|
||||
|
||||
public static void method260(Class44 class44) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("flo.dat", null));
|
||||
anInt387 = class30_sub2_sub2.method410();
|
||||
if (aClass22Array388 == null) {
|
||||
aClass22Array388 = new Class22[anInt387];
|
||||
Buffer buffer = new Buffer(class44.method571("flo.dat", null));
|
||||
anInt387 = buffer.method410();
|
||||
if (aTypeArray388 == null) {
|
||||
aTypeArray388 = new FloType[anInt387];
|
||||
}
|
||||
for (int j = 0; j < anInt387; j++) {
|
||||
if (aClass22Array388[j] == null) {
|
||||
aClass22Array388[j] = new Class22();
|
||||
if (aTypeArray388[j] == null) {
|
||||
aTypeArray388[j] = new FloType();
|
||||
}
|
||||
aClass22Array388[j].method261(class30_sub2_sub2);
|
||||
aTypeArray388[j].method261(buffer);
|
||||
}
|
||||
}
|
||||
|
||||
public void method261(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
public void method261(Buffer buffer) {
|
||||
do {
|
||||
int i = class30_sub2_sub2.method408();
|
||||
int i = buffer.method408();
|
||||
if (i == 0) {
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
anInt390 = class30_sub2_sub2.method412();
|
||||
anInt390 = buffer.method412();
|
||||
method262(anInt390);
|
||||
} else if (i == 2) {
|
||||
anInt391 = class30_sub2_sub2.method408();
|
||||
anInt391 = buffer.method408();
|
||||
} else if (i == 3) {
|
||||
unusedBool = true;
|
||||
} else if (i == 5) {
|
||||
aBoolean393 = false;
|
||||
} else if (i == 6) {
|
||||
unusedString = class30_sub2_sub2.method415();
|
||||
unusedString = buffer.method415();
|
||||
} else if (i == 7) {
|
||||
int j = anInt394;
|
||||
int k = anInt395;
|
||||
int l = anInt396;
|
||||
int i1 = anInt397;
|
||||
int j1 = class30_sub2_sub2.method412();
|
||||
int j1 = buffer.method412();
|
||||
method262(j1);
|
||||
anInt394 = j;
|
||||
anInt395 = k;
|
||||
File diff suppressed because it is too large.
Load diff
@@ -4,12 +4,12 @@
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
public class Frame_Sub1 extends Frame {
|
||||
public class GameFrame extends Frame {
|
||||
|
||||
public final Applet_Sub1 anApplet_Sub1_36;
|
||||
public final GameShell anShell_36;
|
||||
|
||||
public Frame_Sub1(Applet_Sub1 applet_sub1, int i, int j) {
|
||||
anApplet_Sub1_36 = applet_sub1;
|
||||
public GameFrame(GameShell shell, int i, int j) {
|
||||
anShell_36 = shell;
|
||||
setTitle("Jagex");
|
||||
setResizable(false);
|
||||
show();
|
||||
@@ -26,12 +26,12 @@ public class Frame_Sub1 extends Frame {
|
||||
|
||||
@Override
|
||||
public void update(Graphics g) {
|
||||
anApplet_Sub1_36.update(g);
|
||||
anShell_36.update(g);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void paint(Graphics g) {
|
||||
anApplet_Sub1_36.paint(g);
|
||||
anShell_36.paint(g);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -6,18 +6,20 @@ import java.applet.Applet;
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
|
||||
public class Applet_Sub1 extends Applet implements Runnable, MouseListener, MouseMotionListener, KeyListener, FocusListener, WindowListener {
|
||||
public class GameShell extends Applet implements Runnable, MouseListener, MouseMotionListener, KeyListener, FocusListener, WindowListener {
|
||||
|
||||
public final long[] aLongArray7 = new long[10];
|
||||
public final int[] anIntArray30 = new int[128];
|
||||
public final int[] anIntArray31 = new int[128];
|
||||
public int anInt4;
|
||||
public int anInt5 = 20;
|
||||
public int anInt6 = 1;
|
||||
public final long[] aLongArray7 = new long[10];
|
||||
public int anInt8;
|
||||
public boolean aBoolean9 = false;
|
||||
public int anInt10;
|
||||
public int anInt11;
|
||||
public Graphics aGraphics12;
|
||||
public Frame_Sub1 aFrame_Sub1_15;
|
||||
public GameFrame aGameFrame__15;
|
||||
public boolean aBoolean16 = true;
|
||||
public boolean aBoolean17 = true;
|
||||
public int anInt18;
|
||||
@@ -32,18 +34,16 @@ public class Applet_Sub1 extends Applet implements Runnable, MouseListener, Mous
|
||||
public int anInt27;
|
||||
public int anInt28;
|
||||
public long aLong29;
|
||||
public final int[] anIntArray30 = new int[128];
|
||||
public final int[] anIntArray31 = new int[128];
|
||||
public int anInt32;
|
||||
public int anInt33;
|
||||
|
||||
public Applet_Sub1() {
|
||||
public GameShell() {
|
||||
}
|
||||
|
||||
public void method1(int i, int j) {
|
||||
anInt10 = j;
|
||||
anInt11 = i;
|
||||
aFrame_Sub1_15 = new Frame_Sub1(this, anInt10, anInt11);
|
||||
aGameFrame__15 = new GameFrame(this, anInt10, anInt11);
|
||||
aGraphics12 = method11().getGraphics();
|
||||
method12(this, 1);
|
||||
}
|
||||
@@ -60,8 +60,8 @@ public class Applet_Sub1 extends Applet implements Runnable, MouseListener, Mous
|
||||
method11().addMouseMotionListener(this);
|
||||
method11().addKeyListener(this);
|
||||
method11().addFocusListener(this);
|
||||
if (aFrame_Sub1_15 != null) {
|
||||
aFrame_Sub1_15.addWindowListener(this);
|
||||
if (aGameFrame__15 != null) {
|
||||
aGameFrame__15.addWindowListener(this);
|
||||
}
|
||||
method13(0, "Loading...");
|
||||
method6();
|
||||
@@ -154,7 +154,7 @@ public class Applet_Sub1 extends Applet implements Runnable, MouseListener, Mous
|
||||
public void method3() {
|
||||
anInt4 = -2;
|
||||
method8();
|
||||
if (aFrame_Sub1_15 != null) {
|
||||
if (aGameFrame__15 != null) {
|
||||
try {
|
||||
Thread.sleep(1000L);
|
||||
} catch (Exception ignored) {
|
||||
@@ -217,7 +217,7 @@ public class Applet_Sub1 extends Applet implements Runnable, MouseListener, Mous
|
||||
public void mousePressed(MouseEvent mouseevent) {
|
||||
int i = mouseevent.getX();
|
||||
int j = mouseevent.getY();
|
||||
if (aFrame_Sub1_15 != null) {
|
||||
if (aGameFrame__15 != null) {
|
||||
i -= 4;
|
||||
j -= 22;
|
||||
}
|
||||
@@ -254,7 +254,7 @@ public class Applet_Sub1 extends Applet implements Runnable, MouseListener, Mous
|
||||
public void mouseDragged(MouseEvent mouseevent) {
|
||||
int i = mouseevent.getX();
|
||||
int j = mouseevent.getY();
|
||||
if (aFrame_Sub1_15 != null) {
|
||||
if (aGameFrame__15 != null) {
|
||||
i -= 4;
|
||||
j -= 22;
|
||||
}
|
||||
@@ -266,7 +266,7 @@ public class Applet_Sub1 extends Applet implements Runnable, MouseListener, Mous
|
||||
public void mouseMoved(MouseEvent mouseevent) {
|
||||
int i = mouseevent.getX();
|
||||
int j = mouseevent.getY();
|
||||
if (aFrame_Sub1_15 != null) {
|
||||
if (aGameFrame__15 != null) {
|
||||
i -= 4;
|
||||
j -= 22;
|
||||
}
|
||||
@@ -434,9 +434,9 @@ public class Applet_Sub1 extends Applet implements Runnable, MouseListener, Mous
|
||||
public void method10() {
|
||||
}
|
||||
|
||||
public Component method11() {
|
||||
if (aFrame_Sub1_15 != null) {
|
||||
return aFrame_Sub1_15;
|
||||
public java.awt.Component method11() {
|
||||
if (aGameFrame__15 != null) {
|
||||
return aGameFrame__15;
|
||||
} else {
|
||||
return this;
|
||||
}
|
||||
@@ -460,9 +460,9 @@ public class Applet_Sub1 extends Applet implements Runnable, MouseListener, Mous
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
Font font = new Font("Helvetica", Font.BOLD, 13);
|
||||
java.awt.Font font = new java.awt.Font("Helvetica", java.awt.Font.BOLD, 13);
|
||||
FontMetrics fontmetrics = method11().getFontMetrics(font);
|
||||
Font font1 = new Font("Helvetica", Font.PLAIN, 13);
|
||||
java.awt.Font font1 = new java.awt.Font("Helvetica", java.awt.Font.PLAIN, 13);
|
||||
method11().getFontMetrics(font1);
|
||||
if (aBoolean16) {
|
||||
aGraphics12.setColor(Color.black);
|
||||
@@ -2,12 +2,12 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class1 {
|
||||
public class Hashtable {
|
||||
|
||||
public final int anInt39;
|
||||
public final Class30[] aClass30Array40;
|
||||
|
||||
public Class1(int j) {
|
||||
public Hashtable(int j) {
|
||||
anInt39 = j;
|
||||
aClass30Array40 = new Class30[j];
|
||||
for (int k = 0; k < j; k++) {
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class17 {
|
||||
public class ISAACCipher {
|
||||
|
||||
public int anInt334;
|
||||
public final int[] anIntArray335;
|
||||
@@ -11,7 +11,7 @@ public class Class17 {
|
||||
public int anInt338;
|
||||
public int anInt339;
|
||||
|
||||
public Class17(int[] ai) {
|
||||
public ISAACCipher(int[] ai) {
|
||||
anIntArray336 = new int[256];
|
||||
anIntArray335 = new int[256];
|
||||
for (int j = 0; j < ai.length; j++) {
|
||||
@@ -5,7 +5,7 @@
|
||||
import java.awt.*;
|
||||
import java.awt.image.PixelGrabber;
|
||||
|
||||
public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
public class Image24 extends Draw2D {
|
||||
|
||||
public int[] anIntArray1439;
|
||||
public int anInt1440;
|
||||
@@ -15,16 +15,16 @@ public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
public int anInt1444;
|
||||
public int anInt1445;
|
||||
|
||||
public Class30_Sub2_Sub1_Sub1(int i, int j) {
|
||||
public Image24(int i, int j) {
|
||||
anIntArray1439 = new int[i * j];
|
||||
anInt1440 = anInt1444 = i;
|
||||
anInt1441 = anInt1445 = j;
|
||||
anInt1442 = anInt1443 = 0;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub1_Sub1(byte[] abyte0, Component component) {
|
||||
public Image24(byte[] abyte0, java.awt.Component component) {
|
||||
try {
|
||||
Image image = Toolkit.getDefaultToolkit().createImage(abyte0);
|
||||
java.awt.Image image = Toolkit.getDefaultToolkit().createImage(abyte0);
|
||||
MediaTracker mediatracker = new MediaTracker(component);
|
||||
mediatracker.addImage(image, 0);
|
||||
mediatracker.waitForAll();
|
||||
@@ -42,49 +42,49 @@ public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
}
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub1_Sub1(Class44 class44, String s, int i) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571(s + ".dat", null));
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_1 = new Class30_Sub2_Sub2(class44.method571("index.dat", null));
|
||||
class30_sub2_sub2_1.anInt1406 = class30_sub2_sub2.method410();
|
||||
anInt1444 = class30_sub2_sub2_1.method410();
|
||||
anInt1445 = class30_sub2_sub2_1.method410();
|
||||
int j = class30_sub2_sub2_1.method408();
|
||||
public Image24(Class44 class44, String s, int i) {
|
||||
Buffer buffer = new Buffer(class44.method571(s + ".dat", null));
|
||||
Buffer buffer_1 = new Buffer(class44.method571("index.dat", null));
|
||||
buffer_1.anInt1406 = buffer.method410();
|
||||
anInt1444 = buffer_1.method410();
|
||||
anInt1445 = buffer_1.method410();
|
||||
int j = buffer_1.method408();
|
||||
int[] ai = new int[j];
|
||||
for (int k = 0; k < j - 1; k++) {
|
||||
ai[k + 1] = class30_sub2_sub2_1.method412();
|
||||
ai[k + 1] = buffer_1.method412();
|
||||
if (ai[k + 1] == 0) {
|
||||
ai[k + 1] = 1;
|
||||
}
|
||||
}
|
||||
for (int l = 0; l < i; l++) {
|
||||
class30_sub2_sub2_1.anInt1406 += 2;
|
||||
class30_sub2_sub2.anInt1406 += class30_sub2_sub2_1.method410() * class30_sub2_sub2_1.method410();
|
||||
class30_sub2_sub2_1.anInt1406++;
|
||||
buffer_1.anInt1406 += 2;
|
||||
buffer.anInt1406 += buffer_1.method410() * buffer_1.method410();
|
||||
buffer_1.anInt1406++;
|
||||
}
|
||||
anInt1442 = class30_sub2_sub2_1.method408();
|
||||
anInt1443 = class30_sub2_sub2_1.method408();
|
||||
anInt1440 = class30_sub2_sub2_1.method410();
|
||||
anInt1441 = class30_sub2_sub2_1.method410();
|
||||
int i1 = class30_sub2_sub2_1.method408();
|
||||
anInt1442 = buffer_1.method408();
|
||||
anInt1443 = buffer_1.method408();
|
||||
anInt1440 = buffer_1.method410();
|
||||
anInt1441 = buffer_1.method410();
|
||||
int i1 = buffer_1.method408();
|
||||
int j1 = anInt1440 * anInt1441;
|
||||
anIntArray1439 = new int[j1];
|
||||
if (i1 == 0) {
|
||||
for (int k1 = 0; k1 < j1; k1++) {
|
||||
anIntArray1439[k1] = ai[class30_sub2_sub2.method408()];
|
||||
anIntArray1439[k1] = ai[buffer.method408()];
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (i1 == 1) {
|
||||
for (int l1 = 0; l1 < anInt1440; l1++) {
|
||||
for (int i2 = 0; i2 < anInt1441; i2++) {
|
||||
anIntArray1439[l1 + i2 * anInt1440] = ai[class30_sub2_sub2.method408()];
|
||||
anIntArray1439[l1 + i2 * anInt1440] = ai[buffer.method408()];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void method343() {
|
||||
Class30_Sub2_Sub1.method331(anInt1441, anInt1440, anIntArray1439);
|
||||
Draw2D.method331(anInt1441, anInt1440, anIntArray1439);
|
||||
}
|
||||
|
||||
public void method344(int i, int j, int k) {
|
||||
@@ -134,40 +134,40 @@ public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
public void method346(int i, int j) {
|
||||
i += anInt1442;
|
||||
j += anInt1443;
|
||||
int l = i + j * Class30_Sub2_Sub1.anInt1379;
|
||||
int l = i + j * Draw2D.anInt1379;
|
||||
int i1 = 0;
|
||||
int j1 = anInt1441;
|
||||
int k1 = anInt1440;
|
||||
int l1 = Class30_Sub2_Sub1.anInt1379 - k1;
|
||||
int l1 = Draw2D.anInt1379 - k1;
|
||||
int i2 = 0;
|
||||
if (j < Class30_Sub2_Sub1.anInt1381) {
|
||||
int j2 = Class30_Sub2_Sub1.anInt1381 - j;
|
||||
if (j < Draw2D.anInt1381) {
|
||||
int j2 = Draw2D.anInt1381 - j;
|
||||
j1 -= j2;
|
||||
j = Class30_Sub2_Sub1.anInt1381;
|
||||
j = Draw2D.anInt1381;
|
||||
i1 += j2 * k1;
|
||||
l += j2 * Class30_Sub2_Sub1.anInt1379;
|
||||
l += j2 * Draw2D.anInt1379;
|
||||
}
|
||||
if (j + j1 > Class30_Sub2_Sub1.anInt1382) {
|
||||
j1 -= (j + j1) - Class30_Sub2_Sub1.anInt1382;
|
||||
if (j + j1 > Draw2D.anInt1382) {
|
||||
j1 -= (j + j1) - Draw2D.anInt1382;
|
||||
}
|
||||
if (i < Class30_Sub2_Sub1.anInt1383) {
|
||||
int k2 = Class30_Sub2_Sub1.anInt1383 - i;
|
||||
if (i < Draw2D.anInt1383) {
|
||||
int k2 = Draw2D.anInt1383 - i;
|
||||
k1 -= k2;
|
||||
i = Class30_Sub2_Sub1.anInt1383;
|
||||
i = Draw2D.anInt1383;
|
||||
i1 += k2;
|
||||
l += k2;
|
||||
i2 += k2;
|
||||
l1 += k2;
|
||||
}
|
||||
if (i + k1 > Class30_Sub2_Sub1.anInt1384) {
|
||||
int l2 = (i + k1) - Class30_Sub2_Sub1.anInt1384;
|
||||
if (i + k1 > Draw2D.anInt1384) {
|
||||
int l2 = (i + k1) - Draw2D.anInt1384;
|
||||
k1 -= l2;
|
||||
i2 += l2;
|
||||
l1 += l2;
|
||||
}
|
||||
if (k1 <= 0 || j1 <= 0) {
|
||||
} else {
|
||||
method347(l, k1, j1, i2, i1, l1, anIntArray1439, Class30_Sub2_Sub1.anIntArray1378);
|
||||
method347(l, k1, j1, i2, i1, l1, anIntArray1439, Draw2D.anIntArray1378);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,40 +192,40 @@ public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
public void method348(int i, int k) {
|
||||
i += anInt1442;
|
||||
k += anInt1443;
|
||||
int l = i + k * Class30_Sub2_Sub1.anInt1379;
|
||||
int l = i + k * Draw2D.anInt1379;
|
||||
int i1 = 0;
|
||||
int j1 = anInt1441;
|
||||
int k1 = anInt1440;
|
||||
int l1 = Class30_Sub2_Sub1.anInt1379 - k1;
|
||||
int l1 = Draw2D.anInt1379 - k1;
|
||||
int i2 = 0;
|
||||
if (k < Class30_Sub2_Sub1.anInt1381) {
|
||||
int j2 = Class30_Sub2_Sub1.anInt1381 - k;
|
||||
if (k < Draw2D.anInt1381) {
|
||||
int j2 = Draw2D.anInt1381 - k;
|
||||
j1 -= j2;
|
||||
k = Class30_Sub2_Sub1.anInt1381;
|
||||
k = Draw2D.anInt1381;
|
||||
i1 += j2 * k1;
|
||||
l += j2 * Class30_Sub2_Sub1.anInt1379;
|
||||
l += j2 * Draw2D.anInt1379;
|
||||
}
|
||||
if (k + j1 > Class30_Sub2_Sub1.anInt1382) {
|
||||
j1 -= (k + j1) - Class30_Sub2_Sub1.anInt1382;
|
||||
if (k + j1 > Draw2D.anInt1382) {
|
||||
j1 -= (k + j1) - Draw2D.anInt1382;
|
||||
}
|
||||
if (i < Class30_Sub2_Sub1.anInt1383) {
|
||||
int k2 = Class30_Sub2_Sub1.anInt1383 - i;
|
||||
if (i < Draw2D.anInt1383) {
|
||||
int k2 = Draw2D.anInt1383 - i;
|
||||
k1 -= k2;
|
||||
i = Class30_Sub2_Sub1.anInt1383;
|
||||
i = Draw2D.anInt1383;
|
||||
i1 += k2;
|
||||
l += k2;
|
||||
i2 += k2;
|
||||
l1 += k2;
|
||||
}
|
||||
if (i + k1 > Class30_Sub2_Sub1.anInt1384) {
|
||||
int l2 = (i + k1) - Class30_Sub2_Sub1.anInt1384;
|
||||
if (i + k1 > Draw2D.anInt1384) {
|
||||
int l2 = (i + k1) - Draw2D.anInt1384;
|
||||
k1 -= l2;
|
||||
i2 += l2;
|
||||
l1 += l2;
|
||||
}
|
||||
if (k1 <= 0 || j1 <= 0) {
|
||||
} else {
|
||||
method349(Class30_Sub2_Sub1.anIntArray1378, anIntArray1439, i1, l, k1, j1, l1, i2);
|
||||
method349(Draw2D.anIntArray1378, anIntArray1439, i1, l, k1, j1, l1, i2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -276,40 +276,40 @@ public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
public void method350(int i, int j, int k) {
|
||||
i += anInt1442;
|
||||
j += anInt1443;
|
||||
int i1 = i + j * Class30_Sub2_Sub1.anInt1379;
|
||||
int i1 = i + j * Draw2D.anInt1379;
|
||||
int j1 = 0;
|
||||
int k1 = anInt1441;
|
||||
int l1 = anInt1440;
|
||||
int i2 = Class30_Sub2_Sub1.anInt1379 - l1;
|
||||
int i2 = Draw2D.anInt1379 - l1;
|
||||
int j2 = 0;
|
||||
if (j < Class30_Sub2_Sub1.anInt1381) {
|
||||
int k2 = Class30_Sub2_Sub1.anInt1381 - j;
|
||||
if (j < Draw2D.anInt1381) {
|
||||
int k2 = Draw2D.anInt1381 - j;
|
||||
k1 -= k2;
|
||||
j = Class30_Sub2_Sub1.anInt1381;
|
||||
j = Draw2D.anInt1381;
|
||||
j1 += k2 * l1;
|
||||
i1 += k2 * Class30_Sub2_Sub1.anInt1379;
|
||||
i1 += k2 * Draw2D.anInt1379;
|
||||
}
|
||||
if (j + k1 > Class30_Sub2_Sub1.anInt1382) {
|
||||
k1 -= (j + k1) - Class30_Sub2_Sub1.anInt1382;
|
||||
if (j + k1 > Draw2D.anInt1382) {
|
||||
k1 -= (j + k1) - Draw2D.anInt1382;
|
||||
}
|
||||
if (i < Class30_Sub2_Sub1.anInt1383) {
|
||||
int l2 = Class30_Sub2_Sub1.anInt1383 - i;
|
||||
if (i < Draw2D.anInt1383) {
|
||||
int l2 = Draw2D.anInt1383 - i;
|
||||
l1 -= l2;
|
||||
i = Class30_Sub2_Sub1.anInt1383;
|
||||
i = Draw2D.anInt1383;
|
||||
j1 += l2;
|
||||
i1 += l2;
|
||||
j2 += l2;
|
||||
i2 += l2;
|
||||
}
|
||||
if (i + l1 > Class30_Sub2_Sub1.anInt1384) {
|
||||
int i3 = (i + l1) - Class30_Sub2_Sub1.anInt1384;
|
||||
if (i + l1 > Draw2D.anInt1384) {
|
||||
int i3 = (i + l1) - Draw2D.anInt1384;
|
||||
l1 -= i3;
|
||||
j2 += i3;
|
||||
i2 += i3;
|
||||
}
|
||||
if (l1 <= 0 || k1 <= 0) {
|
||||
} else {
|
||||
method351(j1, l1, Class30_Sub2_Sub1.anIntArray1378, anIntArray1439, j2, k1, i2, k, i1);
|
||||
method351(j1, l1, Draw2D.anIntArray1378, anIntArray1439, j2, k1, i2, k, i1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -340,20 +340,20 @@ public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
i3 = i3 * k >> 8;
|
||||
int j3 = (i2 << 16) + (k2 * l2 + j2 * i3);
|
||||
int k3 = (i1 << 16) + (k2 * i3 - j2 * l2);
|
||||
int l3 = k1 + j1 * Class30_Sub2_Sub1.anInt1379;
|
||||
int l3 = k1 + j1 * Draw2D.anInt1379;
|
||||
for (j1 = 0; j1 < i; j1++) {
|
||||
int i4 = ai1[j1];
|
||||
int j4 = l3 + i4;
|
||||
int k4 = j3 + i3 * i4;
|
||||
int l4 = k3 - l2 * i4;
|
||||
for (k1 = -ai[j1]; k1 < 0; k1++) {
|
||||
Class30_Sub2_Sub1.anIntArray1378[j4++] = anIntArray1439[(k4 >> 16) + (l4 >> 16) * anInt1440];
|
||||
Draw2D.anIntArray1378[j4++] = anIntArray1439[(k4 >> 16) + (l4 >> 16) * anInt1440];
|
||||
k4 += i3;
|
||||
l4 -= l2;
|
||||
}
|
||||
j3 += l2;
|
||||
k3 += i3;
|
||||
l3 += Class30_Sub2_Sub1.anInt1379;
|
||||
l3 += Draw2D.anInt1379;
|
||||
}
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
@@ -369,7 +369,7 @@ public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
l2 = l2 * j1 >> 8;
|
||||
int i3 = (l << 16) + (j2 * k2 + i2 * l2);
|
||||
int j3 = (j << 16) + (j2 * l2 - i2 * k2);
|
||||
int k3 = l1 + i * Class30_Sub2_Sub1.anInt1379;
|
||||
int k3 = l1 + i * Draw2D.anInt1379;
|
||||
for (i = 0; i < k1; i++) {
|
||||
int l3 = k3;
|
||||
int i4 = i3;
|
||||
@@ -377,7 +377,7 @@ public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
for (l1 = -k; l1 < 0; l1++) {
|
||||
int k4 = anIntArray1439[(i4 >> 16) + (j4 >> 16) * anInt1440];
|
||||
if (k4 != 0) {
|
||||
Class30_Sub2_Sub1.anIntArray1378[l3++] = k4;
|
||||
Draw2D.anIntArray1378[l3++] = k4;
|
||||
} else {
|
||||
l3++;
|
||||
}
|
||||
@@ -386,49 +386,49 @@ public class Class30_Sub2_Sub1_Sub1 extends Class30_Sub2_Sub1 {
|
||||
}
|
||||
i3 += k2;
|
||||
j3 += l2;
|
||||
k3 += Class30_Sub2_Sub1.anInt1379;
|
||||
k3 += Draw2D.anInt1379;
|
||||
}
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
public void method354(Class30_Sub2_Sub1_Sub2 class30_sub2_sub1_sub2, int i, int j) {
|
||||
public void method354(Image8 image, int i, int j) {
|
||||
j += anInt1442;
|
||||
i += anInt1443;
|
||||
int k = j + i * Class30_Sub2_Sub1.anInt1379;
|
||||
int k = j + i * Draw2D.anInt1379;
|
||||
int l = 0;
|
||||
int i1 = anInt1441;
|
||||
int j1 = anInt1440;
|
||||
int k1 = Class30_Sub2_Sub1.anInt1379 - j1;
|
||||
int k1 = Draw2D.anInt1379 - j1;
|
||||
int l1 = 0;
|
||||
if (i < Class30_Sub2_Sub1.anInt1381) {
|
||||
int i2 = Class30_Sub2_Sub1.anInt1381 - i;
|
||||
if (i < Draw2D.anInt1381) {
|
||||
int i2 = Draw2D.anInt1381 - i;
|
||||
i1 -= i2;
|
||||
i = Class30_Sub2_Sub1.anInt1381;
|
||||
i = Draw2D.anInt1381;
|
||||
l += i2 * j1;
|
||||
k += i2 * Class30_Sub2_Sub1.anInt1379;
|
||||
k += i2 * Draw2D.anInt1379;
|
||||
}
|
||||
if (i + i1 > Class30_Sub2_Sub1.anInt1382) {
|
||||
i1 -= (i + i1) - Class30_Sub2_Sub1.anInt1382;
|
||||
if (i + i1 > Draw2D.anInt1382) {
|
||||
i1 -= (i + i1) - Draw2D.anInt1382;
|
||||
}
|
||||
if (j < Class30_Sub2_Sub1.anInt1383) {
|
||||
int j2 = Class30_Sub2_Sub1.anInt1383 - j;
|
||||
if (j < Draw2D.anInt1383) {
|
||||
int j2 = Draw2D.anInt1383 - j;
|
||||
j1 -= j2;
|
||||
j = Class30_Sub2_Sub1.anInt1383;
|
||||
j = Draw2D.anInt1383;
|
||||
l += j2;
|
||||
k += j2;
|
||||
l1 += j2;
|
||||
k1 += j2;
|
||||
}
|
||||
if (j + j1 > Class30_Sub2_Sub1.anInt1384) {
|
||||
int k2 = (j + j1) - Class30_Sub2_Sub1.anInt1384;
|
||||
if (j + j1 > Draw2D.anInt1384) {
|
||||
int k2 = (j + j1) - Draw2D.anInt1384;
|
||||
j1 -= k2;
|
||||
l1 += k2;
|
||||
k1 += k2;
|
||||
}
|
||||
if (j1 <= 0 || i1 <= 0) {
|
||||
} else {
|
||||
method355(anIntArray1439, j1, class30_sub2_sub1_sub2.aByteArray1450, i1, Class30_Sub2_Sub1.anIntArray1378, k1, k, l1, l);
|
||||
method355(anIntArray1439, j1, image.aByteArray1450, i1, Draw2D.anIntArray1378, k1, k, l1, l);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub1_Sub2 extends Class30_Sub2_Sub1 {
|
||||
public class Image8 extends Draw2D {
|
||||
|
||||
public final int[] anIntArray1451;
|
||||
public byte[] aByteArray1450;
|
||||
@@ -13,39 +13,39 @@ public class Class30_Sub2_Sub1_Sub2 extends Class30_Sub2_Sub1 {
|
||||
public int anInt1456;
|
||||
public int anInt1457;
|
||||
|
||||
public Class30_Sub2_Sub1_Sub2(Class44 class44, String s, int i) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571(s + ".dat", null));
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2_1 = new Class30_Sub2_Sub2(class44.method571("index.dat", null));
|
||||
class30_sub2_sub2_1.anInt1406 = class30_sub2_sub2.method410();
|
||||
anInt1456 = class30_sub2_sub2_1.method410();
|
||||
anInt1457 = class30_sub2_sub2_1.method410();
|
||||
int j = class30_sub2_sub2_1.method408();
|
||||
public Image8(Class44 class44, String s, int i) {
|
||||
Buffer buffer = new Buffer(class44.method571(s + ".dat", null));
|
||||
Buffer buffer_1 = new Buffer(class44.method571("index.dat", null));
|
||||
buffer_1.anInt1406 = buffer.method410();
|
||||
anInt1456 = buffer_1.method410();
|
||||
anInt1457 = buffer_1.method410();
|
||||
int j = buffer_1.method408();
|
||||
anIntArray1451 = new int[j];
|
||||
for (int k = 0; k < j - 1; k++) {
|
||||
anIntArray1451[k + 1] = class30_sub2_sub2_1.method412();
|
||||
anIntArray1451[k + 1] = buffer_1.method412();
|
||||
}
|
||||
for (int l = 0; l < i; l++) {
|
||||
class30_sub2_sub2_1.anInt1406 += 2;
|
||||
class30_sub2_sub2.anInt1406 += class30_sub2_sub2_1.method410() * class30_sub2_sub2_1.method410();
|
||||
class30_sub2_sub2_1.anInt1406++;
|
||||
buffer_1.anInt1406 += 2;
|
||||
buffer.anInt1406 += buffer_1.method410() * buffer_1.method410();
|
||||
buffer_1.anInt1406++;
|
||||
}
|
||||
anInt1454 = class30_sub2_sub2_1.method408();
|
||||
anInt1455 = class30_sub2_sub2_1.method408();
|
||||
anInt1452 = class30_sub2_sub2_1.method410();
|
||||
anInt1453 = class30_sub2_sub2_1.method410();
|
||||
int i1 = class30_sub2_sub2_1.method408();
|
||||
anInt1454 = buffer_1.method408();
|
||||
anInt1455 = buffer_1.method408();
|
||||
anInt1452 = buffer_1.method410();
|
||||
anInt1453 = buffer_1.method410();
|
||||
int i1 = buffer_1.method408();
|
||||
int j1 = anInt1452 * anInt1453;
|
||||
aByteArray1450 = new byte[j1];
|
||||
if (i1 == 0) {
|
||||
for (int k1 = 0; k1 < j1; k1++) {
|
||||
aByteArray1450[k1] = class30_sub2_sub2.method409();
|
||||
aByteArray1450[k1] = buffer.method409();
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (i1 == 1) {
|
||||
for (int l1 = 0; l1 < anInt1452; l1++) {
|
||||
for (int i2 = 0; i2 < anInt1453; i2++) {
|
||||
aByteArray1450[l1 + i2 * anInt1452] = class30_sub2_sub2.method409();
|
||||
aByteArray1450[l1 + i2 * anInt1452] = buffer.method409();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -140,39 +140,39 @@ public class Class30_Sub2_Sub1_Sub2 extends Class30_Sub2_Sub1 {
|
||||
public void method361(int i, int k) {
|
||||
i += anInt1454;
|
||||
k += anInt1455;
|
||||
int l = i + k * Class30_Sub2_Sub1.anInt1379;
|
||||
int l = i + k * Draw2D.anInt1379;
|
||||
int i1 = 0;
|
||||
int j1 = anInt1453;
|
||||
int k1 = anInt1452;
|
||||
int l1 = Class30_Sub2_Sub1.anInt1379 - k1;
|
||||
int l1 = Draw2D.anInt1379 - k1;
|
||||
int i2 = 0;
|
||||
if (k < Class30_Sub2_Sub1.anInt1381) {
|
||||
int j2 = Class30_Sub2_Sub1.anInt1381 - k;
|
||||
if (k < Draw2D.anInt1381) {
|
||||
int j2 = Draw2D.anInt1381 - k;
|
||||
j1 -= j2;
|
||||
k = Class30_Sub2_Sub1.anInt1381;
|
||||
k = Draw2D.anInt1381;
|
||||
i1 += j2 * k1;
|
||||
l += j2 * Class30_Sub2_Sub1.anInt1379;
|
||||
l += j2 * Draw2D.anInt1379;
|
||||
}
|
||||
if (k + j1 > Class30_Sub2_Sub1.anInt1382) {
|
||||
j1 -= (k + j1) - Class30_Sub2_Sub1.anInt1382;
|
||||
if (k + j1 > Draw2D.anInt1382) {
|
||||
j1 -= (k + j1) - Draw2D.anInt1382;
|
||||
}
|
||||
if (i < Class30_Sub2_Sub1.anInt1383) {
|
||||
int k2 = Class30_Sub2_Sub1.anInt1383 - i;
|
||||
if (i < Draw2D.anInt1383) {
|
||||
int k2 = Draw2D.anInt1383 - i;
|
||||
k1 -= k2;
|
||||
i = Class30_Sub2_Sub1.anInt1383;
|
||||
i = Draw2D.anInt1383;
|
||||
i1 += k2;
|
||||
l += k2;
|
||||
i2 += k2;
|
||||
l1 += k2;
|
||||
}
|
||||
if (i + k1 > Class30_Sub2_Sub1.anInt1384) {
|
||||
int l2 = (i + k1) - Class30_Sub2_Sub1.anInt1384;
|
||||
if (i + k1 > Draw2D.anInt1384) {
|
||||
int l2 = (i + k1) - Draw2D.anInt1384;
|
||||
k1 -= l2;
|
||||
i2 += l2;
|
||||
l1 += l2;
|
||||
}
|
||||
if (k1 > 0 && j1 > 0) {
|
||||
method362(j1, Class30_Sub2_Sub1.anIntArray1378, aByteArray1450, l1, l, k1, i1, anIntArray1451, i2);
|
||||
method362(j1, Draw2D.anIntArray1378, aByteArray1450, l1, l, k1, i1, anIntArray1451, i2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,25 +2,25 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class12 {
|
||||
public class LRUCache {
|
||||
|
||||
public int anInt298;
|
||||
public int anInt299;
|
||||
public final Class30_Sub2 aClass30_Sub2_300 = new Class30_Sub2();
|
||||
public final int anInt301;
|
||||
public int anInt302;
|
||||
public final Class1 aClass1_303 = new Class1(1024);
|
||||
public final Class2 aClass2_304 = new Class2();
|
||||
public final Hashtable aHashtable_303 = new Hashtable(1024);
|
||||
public final LinkedList aLinkedList_304 = new LinkedList();
|
||||
|
||||
public Class12(int i) {
|
||||
public LRUCache(int i) {
|
||||
anInt301 = i;
|
||||
anInt302 = i;
|
||||
}
|
||||
|
||||
public Class30_Sub2 method222(long l) {
|
||||
Class30_Sub2 class30_sub2 = (Class30_Sub2) aClass1_303.method148(l);
|
||||
Class30_Sub2 class30_sub2 = (Class30_Sub2) aHashtable_303.method148(l);
|
||||
if (class30_sub2 != null) {
|
||||
aClass2_304.method150(class30_sub2);
|
||||
aLinkedList_304.method150(class30_sub2);
|
||||
anInt299++;
|
||||
} else {
|
||||
anInt298++;
|
||||
@@ -30,24 +30,24 @@ public class Class12 {
|
||||
|
||||
public void method223(Class30_Sub2 class30_sub2, long l) {
|
||||
if (anInt302 == 0) {
|
||||
Class30_Sub2 class30_sub2_1 = aClass2_304.method151();
|
||||
Class30_Sub2 class30_sub2_1 = aLinkedList_304.method151();
|
||||
class30_sub2_1.method329();
|
||||
class30_sub2_1.method330();
|
||||
if (class30_sub2_1 == aClass30_Sub2_300) {
|
||||
Class30_Sub2 class30_sub2_2 = aClass2_304.method151();
|
||||
Class30_Sub2 class30_sub2_2 = aLinkedList_304.method151();
|
||||
class30_sub2_2.method329();
|
||||
class30_sub2_2.method330();
|
||||
}
|
||||
} else {
|
||||
anInt302--;
|
||||
}
|
||||
aClass1_303.method149(class30_sub2, l);
|
||||
aClass2_304.method150(class30_sub2);
|
||||
aHashtable_303.method149(class30_sub2, l);
|
||||
aLinkedList_304.method150(class30_sub2);
|
||||
}
|
||||
|
||||
public void method224() {
|
||||
do {
|
||||
Class30_Sub2 class30_sub2 = aClass2_304.method151();
|
||||
Class30_Sub2 class30_sub2 = aLinkedList_304.method151();
|
||||
if (class30_sub2 != null) {
|
||||
class30_sub2.method329();
|
||||
class30_sub2.method330();
|
||||
@@ -2,12 +2,12 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class2 {
|
||||
public class LinkedList {
|
||||
|
||||
public final Class30_Sub2 aClass30_Sub2_43;
|
||||
public Class30_Sub2 aClass30_Sub2_44;
|
||||
|
||||
public Class2() {
|
||||
public LinkedList() {
|
||||
aClass30_Sub2_43 = new Class30_Sub2();
|
||||
aClass30_Sub2_43.aClass30_Sub2_1303 = aClass30_Sub2_43;
|
||||
aClass30_Sub2_43.aClass30_Sub2_1304 = aClass30_Sub2_43;
|
||||
@@ -2,9 +2,9 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub4_Sub5 extends Class30_Sub2_Sub4 {
|
||||
public class LocEntity extends Entity {
|
||||
|
||||
public static client aClient1609;
|
||||
public static Game aGame1609;
|
||||
public int anInt1599;
|
||||
public final int[] anIntArray1600;
|
||||
public final int anInt1601;
|
||||
@@ -13,13 +13,13 @@ public class Class30_Sub2_Sub4_Sub5 extends Class30_Sub2_Sub4 {
|
||||
public final int anInt1604;
|
||||
public final int anInt1605;
|
||||
public final int anInt1606;
|
||||
public Class20 aClass20_1607;
|
||||
public SeqType aType_1607;
|
||||
public int anInt1608;
|
||||
public final int anInt1610;
|
||||
public final int anInt1611;
|
||||
public final int anInt1612;
|
||||
|
||||
public Class30_Sub2_Sub4_Sub5(int i, int j, int k, int l, int i1, int j1, int k1, int l1, boolean flag) {
|
||||
public LocEntity(int i, int j, int k, int l, int i1, int j1, int k1, int l1, boolean flag) {
|
||||
anInt1610 = i;
|
||||
anInt1611 = k;
|
||||
anInt1612 = j;
|
||||
@@ -28,12 +28,12 @@ public class Class30_Sub2_Sub4_Sub5 extends Class30_Sub2_Sub4 {
|
||||
anInt1605 = i1;
|
||||
anInt1606 = k1;
|
||||
if (l1 != -1) {
|
||||
aClass20_1607 = Class20.aClass20Array351[l1];
|
||||
aType_1607 = SeqType.aTypeArray351[l1];
|
||||
anInt1599 = 0;
|
||||
anInt1608 = client.anInt1161;
|
||||
if (flag && aClass20_1607.anInt356 != -1) {
|
||||
anInt1599 = (int) (Math.random() * (double) aClass20_1607.anInt352);
|
||||
anInt1608 -= (int) (Math.random() * (double) aClass20_1607.method258(anInt1599));
|
||||
anInt1608 = Game.anInt1161;
|
||||
if (flag && aType_1607.anInt356 != -1) {
|
||||
anInt1599 = (int) (Math.random() * (double) aType_1607.anInt352);
|
||||
anInt1608 -= (int) (Math.random() * (double) aType_1607.method258(anInt1599));
|
||||
}
|
||||
}
|
||||
Class46 class46 = Class46.method572(anInt1610);
|
||||
@@ -43,29 +43,29 @@ public class Class30_Sub2_Sub4_Sub5 extends Class30_Sub2_Sub4 {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class30_Sub2_Sub4_Sub6 method444() {
|
||||
public Model method444() {
|
||||
int j = -1;
|
||||
if (aClass20_1607 != null) {
|
||||
int k = client.anInt1161 - anInt1608;
|
||||
if (k > 100 && aClass20_1607.anInt356 > 0) {
|
||||
if (aType_1607 != null) {
|
||||
int k = Game.anInt1161 - anInt1608;
|
||||
if (k > 100 && aType_1607.anInt356 > 0) {
|
||||
k = 100;
|
||||
}
|
||||
while (k > aClass20_1607.method258(anInt1599)) {
|
||||
k -= aClass20_1607.method258(anInt1599);
|
||||
while (k > aType_1607.method258(anInt1599)) {
|
||||
k -= aType_1607.method258(anInt1599);
|
||||
anInt1599++;
|
||||
if (anInt1599 < aClass20_1607.anInt352) {
|
||||
if (anInt1599 < aType_1607.anInt352) {
|
||||
continue;
|
||||
}
|
||||
anInt1599 -= aClass20_1607.anInt356;
|
||||
if (anInt1599 >= 0 && anInt1599 < aClass20_1607.anInt352) {
|
||||
anInt1599 -= aType_1607.anInt356;
|
||||
if (anInt1599 >= 0 && anInt1599 < aType_1607.anInt352) {
|
||||
continue;
|
||||
}
|
||||
aClass20_1607 = null;
|
||||
aType_1607 = null;
|
||||
break;
|
||||
}
|
||||
anInt1608 = client.anInt1161 - k;
|
||||
if (aClass20_1607 != null) {
|
||||
j = aClass20_1607.anIntArray353[anInt1599];
|
||||
anInt1608 = Game.anInt1161 - k;
|
||||
if (aType_1607 != null) {
|
||||
j = aType_1607.anIntArray353[anInt1599];
|
||||
}
|
||||
}
|
||||
Class46 class46;
|
||||
@@ -88,10 +88,10 @@ public class Class30_Sub2_Sub4_Sub5 extends Class30_Sub2_Sub4 {
|
||||
int k = class37.anInt648;
|
||||
int l = class37.anInt649;
|
||||
int i1 = class37.anInt650;
|
||||
int j1 = client.anIntArray1232[i1 - l];
|
||||
i = aClient1609.anIntArray971[k] >> l & j1;
|
||||
int j1 = Game.anIntArray1232[i1 - l];
|
||||
i = aGame1609.anIntArray971[k] >> l & j1;
|
||||
} else if (anInt1602 != -1) {
|
||||
i = aClient1609.anIntArray971[anInt1602];
|
||||
i = aGame1609.anIntArray971[anInt1602];
|
||||
}
|
||||
if (i < 0 || i >= anIntArray1600.length || anIntArray1600[i] == -1) {
|
||||
return null;
|
||||
File diff suppressed because it is too large.
Load diff
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class21 {
|
||||
public class ModelHeader {
|
||||
|
||||
public byte[] aByteArray368;
|
||||
public int anInt369;
|
||||
@@ -22,7 +22,7 @@ public class Class21 {
|
||||
public int anInt383;
|
||||
public int anInt384;
|
||||
|
||||
public Class21() {
|
||||
public ModelHeader() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class NPCEntity extends PathingEntity {
|
||||
|
||||
public NPCType aType_1696;
|
||||
|
||||
public NPCEntity() {
|
||||
}
|
||||
|
||||
public Model method450() {
|
||||
if (super.anInt1526 >= 0 && super.anInt1529 == 0) {
|
||||
int k = SeqType.aTypeArray351[super.anInt1526].anIntArray353[super.anInt1527];
|
||||
int i1 = -1;
|
||||
if (super.anInt1517 >= 0 && super.anInt1517 != super.anInt1511) {
|
||||
i1 = SeqType.aTypeArray351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
return aType_1696.method164(i1, k, SeqType.aTypeArray351[super.anInt1526].anIntArray357);
|
||||
}
|
||||
int l = -1;
|
||||
if (super.anInt1517 >= 0) {
|
||||
l = SeqType.aTypeArray351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
return aType_1696.method164(-1, l, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Model method444() {
|
||||
if (aType_1696 == null) {
|
||||
return null;
|
||||
}
|
||||
Model model = method450();
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
super.anInt1507 = model.anInt1426;
|
||||
if (super.anInt1520 != -1 && super.anInt1521 != -1) {
|
||||
SpotAnimType type = SpotAnimType.aTypeArray403[super.anInt1520];
|
||||
Model model_1 = type.method266();
|
||||
if (model_1 != null) {
|
||||
int j = type.aType_407.anIntArray353[super.anInt1521];
|
||||
Model class30_sub2_sub4_sub6_2 = new Model(true, Class36.method532(j), false, model_1);
|
||||
class30_sub2_sub4_sub6_2.method475(0, -super.anInt1524, 0);
|
||||
class30_sub2_sub4_sub6_2.method469();
|
||||
class30_sub2_sub4_sub6_2.method470(j);
|
||||
class30_sub2_sub4_sub6_2.anIntArrayArray1658 = null;
|
||||
class30_sub2_sub4_sub6_2.anIntArrayArray1657 = null;
|
||||
if (type.anInt410 != 128 || type.anInt411 != 128) {
|
||||
class30_sub2_sub4_sub6_2.method478(type.anInt410, type.anInt410, type.anInt411);
|
||||
}
|
||||
class30_sub2_sub4_sub6_2.method479(64 + type.anInt413, 850 + type.anInt414, -30, -50, -30, true);
|
||||
Model[] aclass30_sub2_sub4_sub6 = {model, class30_sub2_sub4_sub6_2};
|
||||
model = new Model(2, -819, aclass30_sub2_sub4_sub6);
|
||||
}
|
||||
}
|
||||
if (aType_1696.aByte68 == 1) {
|
||||
model.aBoolean1659 = true;
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean method449() {
|
||||
return aType_1696 != null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,296 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class NPCType {
|
||||
|
||||
public static int anInt56;
|
||||
public static Buffer aBuffer_60;
|
||||
public static int anInt62;
|
||||
public static int[] anIntArray72;
|
||||
public static NPCType[] aTypeArray80;
|
||||
public static Game aGame82;
|
||||
public static LRUCache aCache_95 = new LRUCache(30);
|
||||
public int anInt55 = -1;
|
||||
public int anInt57 = -1;
|
||||
public int anInt58 = -1;
|
||||
public int anInt59 = -1;
|
||||
public int anInt61 = -1;
|
||||
public String aString65;
|
||||
public String[] aStringArray66;
|
||||
public int anInt67 = -1;
|
||||
public byte aByte68 = 1;
|
||||
public int[] anIntArray70;
|
||||
public int unusedInt0 = -1;
|
||||
public int[] anIntArray73;
|
||||
public int anInt75 = -1;
|
||||
public int[] anIntArray76;
|
||||
public int anInt77 = -1;
|
||||
public long aLong78 = -1L;
|
||||
public int anInt79 = 32;
|
||||
public int anInt83 = -1;
|
||||
public boolean aBoolean84 = true;
|
||||
public int anInt85;
|
||||
public int anInt86 = 128;
|
||||
public boolean aBoolean87 = true;
|
||||
public int[] anIntArray88;
|
||||
public byte[] aByteArray89;
|
||||
public int unusedInt1 = -1;
|
||||
public int anInt91 = 128;
|
||||
public int anInt92;
|
||||
public boolean aBoolean93 = false;
|
||||
public int[] anIntArray94;
|
||||
public int unusedInt2 = -1;
|
||||
|
||||
public NPCType() {
|
||||
}
|
||||
|
||||
public static NPCType method159(int i) {
|
||||
for (int j = 0; j < 20; j++) {
|
||||
if (aTypeArray80[j].aLong78 == (long) i) {
|
||||
return aTypeArray80[j];
|
||||
}
|
||||
}
|
||||
anInt56 = (anInt56 + 1) % 20;
|
||||
NPCType type = aTypeArray80[anInt56] = new NPCType();
|
||||
aBuffer_60.anInt1406 = anIntArray72[i];
|
||||
type.aLong78 = i;
|
||||
type.method165(aBuffer_60);
|
||||
return type;
|
||||
}
|
||||
|
||||
public static void method162(Class44 class44) {
|
||||
aBuffer_60 = new Buffer(class44.method571("npc.dat", null));
|
||||
Buffer buffer = new Buffer(class44.method571("npc.idx", null));
|
||||
anInt62 = buffer.method410();
|
||||
anIntArray72 = new int[anInt62];
|
||||
int i = 2;
|
||||
for (int j = 0; j < anInt62; j++) {
|
||||
anIntArray72[j] = i;
|
||||
i += buffer.method410();
|
||||
}
|
||||
aTypeArray80 = new NPCType[20];
|
||||
for (int k = 0; k < 20; k++) {
|
||||
aTypeArray80[k] = new NPCType();
|
||||
}
|
||||
}
|
||||
|
||||
public static void method163() {
|
||||
aCache_95 = null;
|
||||
anIntArray72 = null;
|
||||
aTypeArray80 = null;
|
||||
aBuffer_60 = null;
|
||||
}
|
||||
|
||||
public Model method160() {
|
||||
if (anIntArray88 != null) {
|
||||
NPCType type = method161();
|
||||
if (type == null) {
|
||||
return null;
|
||||
} else {
|
||||
return type.method160();
|
||||
}
|
||||
}
|
||||
if (anIntArray73 == null) {
|
||||
return null;
|
||||
}
|
||||
boolean flag1 = false;
|
||||
for (int value : anIntArray73) {
|
||||
if (!Model.method463(value)) {
|
||||
flag1 = true;
|
||||
}
|
||||
}
|
||||
if (flag1) {
|
||||
return null;
|
||||
}
|
||||
Model[] aclass30_sub2_sub4_sub6 = new Model[anIntArray73.length];
|
||||
for (int j = 0; j < anIntArray73.length; j++) {
|
||||
aclass30_sub2_sub4_sub6[j] = Model.method462(anIntArray73[j]);
|
||||
}
|
||||
Model model;
|
||||
if (aclass30_sub2_sub4_sub6.length == 1) {
|
||||
model = aclass30_sub2_sub4_sub6[0];
|
||||
} else {
|
||||
model = new Model(aclass30_sub2_sub4_sub6.length, aclass30_sub2_sub4_sub6);
|
||||
}
|
||||
if (anIntArray76 != null) {
|
||||
for (int k = 0; k < anIntArray76.length; k++) {
|
||||
model.method476(anIntArray76[k], anIntArray70[k]);
|
||||
}
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
public NPCType method161() {
|
||||
int j = -1;
|
||||
if (anInt57 != -1) {
|
||||
Class37 class37 = Class37.aClass37Array646[anInt57];
|
||||
int k = class37.anInt648;
|
||||
int l = class37.anInt649;
|
||||
int i1 = class37.anInt650;
|
||||
int j1 = Game.anIntArray1232[i1 - l];
|
||||
j = aGame82.anIntArray971[k] >> l & j1;
|
||||
} else if (anInt59 != -1) {
|
||||
j = aGame82.anIntArray971[anInt59];
|
||||
}
|
||||
if (j < 0 || j >= anIntArray88.length || anIntArray88[j] == -1) {
|
||||
return null;
|
||||
} else {
|
||||
return method159(anIntArray88[j]);
|
||||
}
|
||||
}
|
||||
|
||||
public Model method164(int j, int k, int[] ai) {
|
||||
if (anIntArray88 != null) {
|
||||
NPCType type = method161();
|
||||
if (type == null) {
|
||||
return null;
|
||||
} else {
|
||||
return type.method164(j, k, ai);
|
||||
}
|
||||
}
|
||||
Model model = (Model) aCache_95.method222(aLong78);
|
||||
if (model == null) {
|
||||
boolean flag = false;
|
||||
for (int value : anIntArray94) {
|
||||
if (!Model.method463(value)) {
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
return null;
|
||||
}
|
||||
Model[] aclass30_sub2_sub4_sub6 = new Model[anIntArray94.length];
|
||||
for (int j1 = 0; j1 < anIntArray94.length; j1++) {
|
||||
aclass30_sub2_sub4_sub6[j1] = Model.method462(anIntArray94[j1]);
|
||||
}
|
||||
if (aclass30_sub2_sub4_sub6.length == 1) {
|
||||
model = aclass30_sub2_sub4_sub6[0];
|
||||
} else {
|
||||
model = new Model(aclass30_sub2_sub4_sub6.length, aclass30_sub2_sub4_sub6);
|
||||
}
|
||||
if (anIntArray76 != null) {
|
||||
for (int k1 = 0; k1 < anIntArray76.length; k1++) {
|
||||
model.method476(anIntArray76[k1], anIntArray70[k1]);
|
||||
}
|
||||
}
|
||||
model.method469();
|
||||
model.method479(64 + anInt85, 850 + anInt92, -30, -50, -30, true);
|
||||
aCache_95.method223(model, aLong78);
|
||||
}
|
||||
Model model_1 = Model.A_MODEL___1621;
|
||||
model_1.method464(model, Class36.method532(k) & Class36.method532(j));
|
||||
if (k != -1 && j != -1) {
|
||||
model_1.method471(ai, j, k);
|
||||
} else if (k != -1) {
|
||||
model_1.method470(k);
|
||||
}
|
||||
if (anInt91 != 128 || anInt86 != 128) {
|
||||
model_1.method478(anInt91, anInt91, anInt86);
|
||||
}
|
||||
model_1.method466();
|
||||
model_1.anIntArrayArray1658 = null;
|
||||
model_1.anIntArrayArray1657 = null;
|
||||
if (aByte68 == 1) {
|
||||
model_1.aBoolean1659 = true;
|
||||
}
|
||||
return model_1;
|
||||
}
|
||||
|
||||
public void method165(Buffer buffer) {
|
||||
do {
|
||||
int i = buffer.method408();
|
||||
if (i == 0) {
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
int j = buffer.method408();
|
||||
anIntArray94 = new int[j];
|
||||
for (int j1 = 0; j1 < j; j1++) {
|
||||
anIntArray94[j1] = buffer.method410();
|
||||
}
|
||||
} else if (i == 2) {
|
||||
aString65 = buffer.method415();
|
||||
} else if (i == 3) {
|
||||
aByteArray89 = buffer.method416();
|
||||
} else if (i == 12) {
|
||||
aByte68 = buffer.method409();
|
||||
} else if (i == 13) {
|
||||
anInt77 = buffer.method410();
|
||||
} else if (i == 14) {
|
||||
anInt67 = buffer.method410();
|
||||
} else if (i == 17) {
|
||||
anInt67 = buffer.method410();
|
||||
anInt58 = buffer.method410();
|
||||
anInt83 = buffer.method410();
|
||||
anInt55 = buffer.method410();
|
||||
} else if (i >= 30 && i < 40) {
|
||||
if (aStringArray66 == null) {
|
||||
aStringArray66 = new String[5];
|
||||
}
|
||||
aStringArray66[i - 30] = buffer.method415();
|
||||
if (aStringArray66[i - 30].equalsIgnoreCase("hidden")) {
|
||||
aStringArray66[i - 30] = null;
|
||||
}
|
||||
} else if (i == 40) {
|
||||
int k = buffer.method408();
|
||||
anIntArray76 = new int[k];
|
||||
anIntArray70 = new int[k];
|
||||
for (int k1 = 0; k1 < k; k1++) {
|
||||
anIntArray76[k1] = buffer.method410();
|
||||
anIntArray70[k1] = buffer.method410();
|
||||
}
|
||||
} else if (i == 60) {
|
||||
int l = buffer.method408();
|
||||
anIntArray73 = new int[l];
|
||||
for (int l1 = 0; l1 < l; l1++) {
|
||||
anIntArray73[l1] = buffer.method410();
|
||||
}
|
||||
} else if (i == 90) {
|
||||
unusedInt2 = buffer.method410();
|
||||
} else if (i == 91) {
|
||||
unusedInt0 = buffer.method410();
|
||||
} else if (i == 92) {
|
||||
unusedInt1 = buffer.method410();
|
||||
} else if (i == 93) {
|
||||
aBoolean87 = false;
|
||||
} else if (i == 95) {
|
||||
anInt61 = buffer.method410();
|
||||
} else if (i == 97) {
|
||||
anInt91 = buffer.method410();
|
||||
} else if (i == 98) {
|
||||
anInt86 = buffer.method410();
|
||||
} else if (i == 99) {
|
||||
aBoolean93 = true;
|
||||
} else if (i == 100) {
|
||||
anInt85 = buffer.method409();
|
||||
} else if (i == 101) {
|
||||
anInt92 = buffer.method409() * 5;
|
||||
} else if (i == 102) {
|
||||
anInt75 = buffer.method410();
|
||||
} else if (i == 103) {
|
||||
anInt79 = buffer.method410();
|
||||
} else if (i == 106) {
|
||||
anInt57 = buffer.method410();
|
||||
if (anInt57 == 65535) {
|
||||
anInt57 = -1;
|
||||
}
|
||||
anInt59 = buffer.method410();
|
||||
if (anInt59 == 65535) {
|
||||
anInt59 = -1;
|
||||
}
|
||||
int i1 = buffer.method408();
|
||||
anIntArray88 = new int[i1 + 1];
|
||||
for (int i2 = 0; i2 <= i1; i2++) {
|
||||
anIntArray88[i2] = buffer.method410();
|
||||
if (anIntArray88[i2] == 65535) {
|
||||
anIntArray88[i2] = -1;
|
||||
}
|
||||
}
|
||||
} else if (i == 107) {
|
||||
aBoolean84 = false;
|
||||
}
|
||||
} while (true);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class ObjStackEntity extends Entity {
|
||||
|
||||
public int anInt1558;
|
||||
public int anInt1559;
|
||||
|
||||
public ObjStackEntity() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Model method444() {
|
||||
ObjType type = ObjType.method198(anInt1558);
|
||||
return type.method201(anInt1559);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,14 +2,14 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class8 {
|
||||
public class ObjType {
|
||||
|
||||
public static Class12 aClass12_158 = new Class12(100);
|
||||
public static Class12 aClass12_159 = new Class12(50);
|
||||
public static Class8[] aClass8Array172;
|
||||
public static LRUCache aCache_158 = new LRUCache(100);
|
||||
public static LRUCache aCache_159 = new LRUCache(50);
|
||||
public static ObjType[] aTypeArray172;
|
||||
public static int anInt180;
|
||||
public static boolean aBoolean182 = true;
|
||||
public static Class30_Sub2_Sub2 aClass30_Sub2_Sub2_183;
|
||||
public static Buffer aBuffer_183;
|
||||
public static int[] anIntArray195;
|
||||
public static int anInt203;
|
||||
public byte aByte154;
|
||||
@@ -53,120 +53,120 @@ public class Class8 {
|
||||
public int anInt204;
|
||||
public byte aByte205;
|
||||
|
||||
public Class8() {
|
||||
public ObjType() {
|
||||
}
|
||||
|
||||
public static void method191() {
|
||||
aClass12_159 = null;
|
||||
aClass12_158 = null;
|
||||
aCache_159 = null;
|
||||
aCache_158 = null;
|
||||
anIntArray195 = null;
|
||||
aClass8Array172 = null;
|
||||
aClass30_Sub2_Sub2_183 = null;
|
||||
aTypeArray172 = null;
|
||||
aBuffer_183 = null;
|
||||
}
|
||||
|
||||
public static void method193(Class44 class44) {
|
||||
aClass30_Sub2_Sub2_183 = new Class30_Sub2_Sub2(class44.method571("obj.dat", null));
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("obj.idx", null));
|
||||
anInt203 = class30_sub2_sub2.method410();
|
||||
aBuffer_183 = new Buffer(class44.method571("obj.dat", null));
|
||||
Buffer buffer = new Buffer(class44.method571("obj.idx", null));
|
||||
anInt203 = buffer.method410();
|
||||
anIntArray195 = new int[anInt203];
|
||||
int i = 2;
|
||||
for (int j = 0; j < anInt203; j++) {
|
||||
anIntArray195[j] = i;
|
||||
i += class30_sub2_sub2.method410();
|
||||
i += buffer.method410();
|
||||
}
|
||||
aClass8Array172 = new Class8[10];
|
||||
aTypeArray172 = new ObjType[10];
|
||||
for (int k = 0; k < 10; k++) {
|
||||
aClass8Array172[k] = new Class8();
|
||||
aTypeArray172[k] = new ObjType();
|
||||
}
|
||||
}
|
||||
|
||||
public static Class8 method198(int i) {
|
||||
public static ObjType method198(int i) {
|
||||
for (int j = 0; j < 10; j++) {
|
||||
if (aClass8Array172[j].anInt157 == i) {
|
||||
return aClass8Array172[j];
|
||||
if (aTypeArray172[j].anInt157 == i) {
|
||||
return aTypeArray172[j];
|
||||
}
|
||||
}
|
||||
anInt180 = (anInt180 + 1) % 10;
|
||||
Class8 class8 = aClass8Array172[anInt180];
|
||||
aClass30_Sub2_Sub2_183.anInt1406 = anIntArray195[i];
|
||||
class8.anInt157 = i;
|
||||
class8.method197();
|
||||
class8.method203(aClass30_Sub2_Sub2_183);
|
||||
if (class8.anInt163 != -1) {
|
||||
class8.method199();
|
||||
ObjType type = aTypeArray172[anInt180];
|
||||
aBuffer_183.anInt1406 = anIntArray195[i];
|
||||
type.anInt157 = i;
|
||||
type.method197();
|
||||
type.method203(aBuffer_183);
|
||||
if (type.anInt163 != -1) {
|
||||
type.method199();
|
||||
}
|
||||
if (!aBoolean182 && class8.aBoolean161) {
|
||||
class8.aString170 = "Members Object";
|
||||
class8.aByteArray178 = "Login to a members' server to use this object.".getBytes();
|
||||
class8.aStringArray168 = null;
|
||||
class8.aStringArray189 = null;
|
||||
class8.anInt202 = 0;
|
||||
if (!aBoolean182 && type.aBoolean161) {
|
||||
type.aString170 = "Members Object";
|
||||
type.aByteArray178 = "Login to a members' server to use this object.".getBytes();
|
||||
type.aStringArray168 = null;
|
||||
type.aStringArray189 = null;
|
||||
type.anInt202 = 0;
|
||||
}
|
||||
return class8;
|
||||
return type;
|
||||
}
|
||||
|
||||
public static Class30_Sub2_Sub1_Sub1 method200(int i, int j, int k) {
|
||||
public static Image24 method200(int i, int j, int k) {
|
||||
if (k == 0) {
|
||||
Class30_Sub2_Sub1_Sub1 class30_sub2_sub1_sub1 = (Class30_Sub2_Sub1_Sub1) aClass12_158.method222(i);
|
||||
if (class30_sub2_sub1_sub1 != null && class30_sub2_sub1_sub1.anInt1445 != j && class30_sub2_sub1_sub1.anInt1445 != -1) {
|
||||
class30_sub2_sub1_sub1.method329();
|
||||
class30_sub2_sub1_sub1 = null;
|
||||
Image24 image = (Image24) aCache_158.method222(i);
|
||||
if (image != null && image.anInt1445 != j && image.anInt1445 != -1) {
|
||||
image.method329();
|
||||
image = null;
|
||||
}
|
||||
if (class30_sub2_sub1_sub1 != null) {
|
||||
return class30_sub2_sub1_sub1;
|
||||
if (image != null) {
|
||||
return image;
|
||||
}
|
||||
}
|
||||
Class8 class8 = method198(i);
|
||||
if (class8.anIntArray193 == null) {
|
||||
ObjType type = method198(i);
|
||||
if (type.anIntArray193 == null) {
|
||||
j = -1;
|
||||
}
|
||||
if (j > 1) {
|
||||
int i1 = -1;
|
||||
for (int j1 = 0; j1 < 10; j1++) {
|
||||
if (j >= class8.anIntArray201[j1] && class8.anIntArray201[j1] != 0) {
|
||||
i1 = class8.anIntArray193[j1];
|
||||
if (j >= type.anIntArray201[j1] && type.anIntArray201[j1] != 0) {
|
||||
i1 = type.anIntArray193[j1];
|
||||
}
|
||||
}
|
||||
if (i1 != -1) {
|
||||
class8 = method198(i1);
|
||||
type = method198(i1);
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = class8.method201(1);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
Model model = type.method201(1);
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
Class30_Sub2_Sub1_Sub1 class30_sub2_sub1_sub1_2 = null;
|
||||
if (class8.anInt163 != -1) {
|
||||
class30_sub2_sub1_sub1_2 = method200(class8.anInt179, 10, -1);
|
||||
Image24 class30_sub2_sub1_sub1_2 = null;
|
||||
if (type.anInt163 != -1) {
|
||||
class30_sub2_sub1_sub1_2 = method200(type.anInt179, 10, -1);
|
||||
if (class30_sub2_sub1_sub1_2 == null) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub1_Sub1 class30_sub2_sub1_sub1_1 = new Class30_Sub2_Sub1_Sub1(32, 32);
|
||||
int k1 = Class30_Sub2_Sub1_Sub3.anInt1466;
|
||||
int l1 = Class30_Sub2_Sub1_Sub3.anInt1467;
|
||||
int[] ai = Class30_Sub2_Sub1_Sub3.anIntArray1472;
|
||||
int[] ai1 = Class30_Sub2_Sub1.anIntArray1378;
|
||||
int i2 = Class30_Sub2_Sub1.anInt1379;
|
||||
int j2 = Class30_Sub2_Sub1.anInt1380;
|
||||
int k2 = Class30_Sub2_Sub1.anInt1383;
|
||||
int l2 = Class30_Sub2_Sub1.anInt1384;
|
||||
int i3 = Class30_Sub2_Sub1.anInt1381;
|
||||
int j3 = Class30_Sub2_Sub1.anInt1382;
|
||||
Class30_Sub2_Sub1_Sub3.aBoolean1464 = false;
|
||||
Class30_Sub2_Sub1.method331(32, 32, class30_sub2_sub1_sub1_1.anIntArray1439);
|
||||
Class30_Sub2_Sub1.method336(32, 0, 0, 0, 32);
|
||||
Class30_Sub2_Sub1_Sub3.method364();
|
||||
int k3 = class8.anInt181;
|
||||
Image24 class30_sub2_sub1_sub1_1 = new Image24(32, 32);
|
||||
int k1 = Draw3D.anInt1466;
|
||||
int l1 = Draw3D.anInt1467;
|
||||
int[] ai = Draw3D.anIntArray1472;
|
||||
int[] ai1 = Draw2D.anIntArray1378;
|
||||
int i2 = Draw2D.anInt1379;
|
||||
int j2 = Draw2D.anInt1380;
|
||||
int k2 = Draw2D.anInt1383;
|
||||
int l2 = Draw2D.anInt1384;
|
||||
int i3 = Draw2D.anInt1381;
|
||||
int j3 = Draw2D.anInt1382;
|
||||
Draw3D.aBoolean1464 = false;
|
||||
Draw2D.method331(32, 32, class30_sub2_sub1_sub1_1.anIntArray1439);
|
||||
Draw2D.method336(32, 0, 0, 0, 32);
|
||||
Draw3D.method364();
|
||||
int k3 = type.anInt181;
|
||||
if (k == -1) {
|
||||
k3 = (int) ((double) k3 * 1.5D);
|
||||
}
|
||||
if (k > 0) {
|
||||
k3 = (int) ((double) k3 * 1.04D);
|
||||
}
|
||||
int l3 = Class30_Sub2_Sub1_Sub3.anIntArray1470[class8.anInt190] * k3 >> 16;
|
||||
int i4 = Class30_Sub2_Sub1_Sub3.anIntArray1471[class8.anInt190] * k3 >> 16;
|
||||
class30_sub2_sub4_sub6.method482(0, class8.anInt198, class8.anInt204, class8.anInt190, class8.anInt169, l3 + class30_sub2_sub4_sub6.anInt1426 / 2 + class8.anInt194, i4 + class8.anInt194);
|
||||
int l3 = Draw3D.anIntArray1470[type.anInt190] * k3 >> 16;
|
||||
int i4 = Draw3D.anIntArray1471[type.anInt190] * k3 >> 16;
|
||||
model.method482(0, type.anInt198, type.anInt204, type.anInt190, type.anInt169, l3 + model.anInt1426 / 2 + type.anInt194, i4 + type.anInt194);
|
||||
for (int i5 = 31; i5 >= 0; i5--) {
|
||||
for (int j4 = 31; j4 >= 0; j4--) {
|
||||
if (class30_sub2_sub1_sub1_1.anIntArray1439[i5 + j4 * 32] == 0) {
|
||||
@@ -207,7 +207,7 @@ public class Class8 {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (class8.anInt163 != -1) {
|
||||
if (type.anInt163 != -1) {
|
||||
int l5 = class30_sub2_sub1_sub1_2.anInt1444;
|
||||
int j6 = class30_sub2_sub1_sub1_2.anInt1445;
|
||||
class30_sub2_sub1_sub1_2.anInt1444 = 32;
|
||||
@@ -217,15 +217,15 @@ public class Class8 {
|
||||
class30_sub2_sub1_sub1_2.anInt1445 = j6;
|
||||
}
|
||||
if (k == 0) {
|
||||
aClass12_158.method223(class30_sub2_sub1_sub1_1, i);
|
||||
aCache_158.method223(class30_sub2_sub1_sub1_1, i);
|
||||
}
|
||||
Class30_Sub2_Sub1.method331(j2, i2, ai1);
|
||||
Class30_Sub2_Sub1.method333(j3, k2, l2, i3);
|
||||
Class30_Sub2_Sub1_Sub3.anInt1466 = k1;
|
||||
Class30_Sub2_Sub1_Sub3.anInt1467 = l1;
|
||||
Class30_Sub2_Sub1_Sub3.anIntArray1472 = ai;
|
||||
Class30_Sub2_Sub1_Sub3.aBoolean1464 = true;
|
||||
if (class8.aBoolean176) {
|
||||
Draw2D.method331(j2, i2, ai1);
|
||||
Draw2D.method333(j3, k2, l2, i3);
|
||||
Draw3D.anInt1466 = k1;
|
||||
Draw3D.anInt1467 = l1;
|
||||
Draw3D.anIntArray1472 = ai;
|
||||
Draw3D.aBoolean1464 = true;
|
||||
if (type.aBoolean176) {
|
||||
class30_sub2_sub1_sub1_1.anInt1444 = 33;
|
||||
} else {
|
||||
class30_sub2_sub1_sub1_1.anInt1444 = 32;
|
||||
@@ -245,16 +245,16 @@ public class Class8 {
|
||||
return true;
|
||||
}
|
||||
boolean flag = true;
|
||||
if (!Class30_Sub2_Sub4_Sub6.method463(k)) {
|
||||
if (!Model.method463(k)) {
|
||||
flag = false;
|
||||
}
|
||||
if (l != -1 && !Class30_Sub2_Sub4_Sub6.method463(l)) {
|
||||
if (l != -1 && !Model.method463(l)) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method194(int j) {
|
||||
public Model method194(int j) {
|
||||
int k = anInt175;
|
||||
int l = anInt166;
|
||||
if (j == 1) {
|
||||
@@ -264,18 +264,18 @@ public class Class8 {
|
||||
if (k == -1) {
|
||||
return null;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = Class30_Sub2_Sub4_Sub6.method462(k);
|
||||
Model model = Model.method462(k);
|
||||
if (l != -1) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = Class30_Sub2_Sub4_Sub6.method462(l);
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = {class30_sub2_sub4_sub6, class30_sub2_sub4_sub6_1};
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(2, aclass30_sub2_sub4_sub6);
|
||||
Model model_1 = Model.method462(l);
|
||||
Model[] aclass30_sub2_sub4_sub6 = {model, model_1};
|
||||
model = new Model(2, aclass30_sub2_sub4_sub6);
|
||||
}
|
||||
if (anIntArray156 != null) {
|
||||
for (int i1 = 0; i1 < anIntArray156.length; i1++) {
|
||||
class30_sub2_sub4_sub6.method476(anIntArray156[i1], anIntArray160[i1]);
|
||||
model.method476(anIntArray156[i1], anIntArray160[i1]);
|
||||
}
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
return model;
|
||||
}
|
||||
|
||||
public boolean method195(int j) {
|
||||
@@ -291,19 +291,19 @@ public class Class8 {
|
||||
return true;
|
||||
}
|
||||
boolean flag = true;
|
||||
if (!Class30_Sub2_Sub4_Sub6.method463(k)) {
|
||||
if (!Model.method463(k)) {
|
||||
flag = false;
|
||||
}
|
||||
if (l != -1 && !Class30_Sub2_Sub4_Sub6.method463(l)) {
|
||||
if (l != -1 && !Model.method463(l)) {
|
||||
flag = false;
|
||||
}
|
||||
if (i1 != -1 && !Class30_Sub2_Sub4_Sub6.method463(i1)) {
|
||||
if (i1 != -1 && !Model.method463(i1)) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method196(int i) {
|
||||
public Model method196(int i) {
|
||||
int j = anInt165;
|
||||
int k = anInt188;
|
||||
int l = anInt185;
|
||||
@@ -315,31 +315,31 @@ public class Class8 {
|
||||
if (j == -1) {
|
||||
return null;
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = Class30_Sub2_Sub4_Sub6.method462(j);
|
||||
Model model = Model.method462(j);
|
||||
if (k != -1) {
|
||||
if (l != -1) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = Class30_Sub2_Sub4_Sub6.method462(k);
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_3 = Class30_Sub2_Sub4_Sub6.method462(l);
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6_1 = {class30_sub2_sub4_sub6, class30_sub2_sub4_sub6_1, class30_sub2_sub4_sub6_3};
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(3, aclass30_sub2_sub4_sub6_1);
|
||||
Model model_1 = Model.method462(k);
|
||||
Model model_3 = Model.method462(l);
|
||||
Model[] aclass30_sub2_sub4_sub6_1 = {model, model_1, model_3};
|
||||
model = new Model(3, aclass30_sub2_sub4_sub6_1);
|
||||
} else {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_2 = Class30_Sub2_Sub4_Sub6.method462(k);
|
||||
Class30_Sub2_Sub4_Sub6[] aclass30_sub2_sub4_sub6 = {class30_sub2_sub4_sub6, class30_sub2_sub4_sub6_2};
|
||||
class30_sub2_sub4_sub6 = new Class30_Sub2_Sub4_Sub6(2, aclass30_sub2_sub4_sub6);
|
||||
Model class30_sub2_sub4_sub6_2 = Model.method462(k);
|
||||
Model[] aclass30_sub2_sub4_sub6 = {model, class30_sub2_sub4_sub6_2};
|
||||
model = new Model(2, aclass30_sub2_sub4_sub6);
|
||||
}
|
||||
}
|
||||
if (i == 0 && aByte205 != 0) {
|
||||
class30_sub2_sub4_sub6.method475(0, aByte205, 0);
|
||||
model.method475(0, aByte205, 0);
|
||||
}
|
||||
if (i == 1 && aByte154 != 0) {
|
||||
class30_sub2_sub4_sub6.method475(0, aByte154, 0);
|
||||
model.method475(0, aByte154, 0);
|
||||
}
|
||||
if (anIntArray156 != null) {
|
||||
for (int i1 = 0; i1 < anIntArray156.length; i1++) {
|
||||
class30_sub2_sub4_sub6.method476(anIntArray156[i1], anIntArray160[i1]);
|
||||
model.method476(anIntArray156[i1], anIntArray160[i1]);
|
||||
}
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
return model;
|
||||
}
|
||||
|
||||
public void method197() {
|
||||
@@ -385,30 +385,30 @@ public class Class8 {
|
||||
}
|
||||
|
||||
public void method199() {
|
||||
Class8 class8 = method198(anInt163);
|
||||
anInt174 = class8.anInt174;
|
||||
anInt181 = class8.anInt181;
|
||||
anInt190 = class8.anInt190;
|
||||
anInt198 = class8.anInt198;
|
||||
anInt204 = class8.anInt204;
|
||||
anInt169 = class8.anInt169;
|
||||
anInt194 = class8.anInt194;
|
||||
anIntArray156 = class8.anIntArray156;
|
||||
anIntArray160 = class8.anIntArray160;
|
||||
Class8 class8_1 = method198(anInt179);
|
||||
aString170 = class8_1.aString170;
|
||||
aBoolean161 = class8_1.aBoolean161;
|
||||
anInt155 = class8_1.anInt155;
|
||||
ObjType type = method198(anInt163);
|
||||
anInt174 = type.anInt174;
|
||||
anInt181 = type.anInt181;
|
||||
anInt190 = type.anInt190;
|
||||
anInt198 = type.anInt198;
|
||||
anInt204 = type.anInt204;
|
||||
anInt169 = type.anInt169;
|
||||
anInt194 = type.anInt194;
|
||||
anIntArray156 = type.anIntArray156;
|
||||
anIntArray160 = type.anIntArray160;
|
||||
ObjType type_1 = method198(anInt179);
|
||||
aString170 = type_1.aString170;
|
||||
aBoolean161 = type_1.aBoolean161;
|
||||
anInt155 = type_1.anInt155;
|
||||
String s = "a";
|
||||
char c = class8_1.aString170.charAt(0);
|
||||
char c = type_1.aString170.charAt(0);
|
||||
if (c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U') {
|
||||
s = "an";
|
||||
}
|
||||
aByteArray178 = ("Swap this note at any bank for " + s + " " + class8_1.aString170 + ".").getBytes();
|
||||
aByteArray178 = ("Swap this note at any bank for " + s + " " + type_1.aString170 + ".").getBytes();
|
||||
aBoolean176 = true;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method201(int i) {
|
||||
public Model method201(int i) {
|
||||
if (anIntArray193 != null && i > 1) {
|
||||
int j = -1;
|
||||
for (int k = 0; k < 10; k++) {
|
||||
@@ -420,29 +420,29 @@ public class Class8 {
|
||||
return method198(j).method201(1);
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = (Class30_Sub2_Sub4_Sub6) aClass12_159.method222(anInt157);
|
||||
if (class30_sub2_sub4_sub6 != null) {
|
||||
return class30_sub2_sub4_sub6;
|
||||
Model model = (Model) aCache_159.method222(anInt157);
|
||||
if (model != null) {
|
||||
return model;
|
||||
}
|
||||
class30_sub2_sub4_sub6 = Class30_Sub2_Sub4_Sub6.method462(anInt174);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
model = Model.method462(anInt174);
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
if (anInt167 != 128 || anInt192 != 128 || anInt191 != 128) {
|
||||
class30_sub2_sub4_sub6.method478(anInt167, anInt191, anInt192);
|
||||
model.method478(anInt167, anInt191, anInt192);
|
||||
}
|
||||
if (anIntArray156 != null) {
|
||||
for (int l = 0; l < anIntArray156.length; l++) {
|
||||
class30_sub2_sub4_sub6.method476(anIntArray156[l], anIntArray160[l]);
|
||||
model.method476(anIntArray156[l], anIntArray160[l]);
|
||||
}
|
||||
}
|
||||
class30_sub2_sub4_sub6.method479(64 + anInt196, 768 + anInt184, -50, -10, -50, true);
|
||||
class30_sub2_sub4_sub6.aBoolean1659 = true;
|
||||
aClass12_159.method223(class30_sub2_sub4_sub6, anInt157);
|
||||
return class30_sub2_sub4_sub6;
|
||||
model.method479(64 + anInt196, 768 + anInt184, -50, -10, -50, true);
|
||||
model.aBoolean1659 = true;
|
||||
aCache_159.method223(model, anInt157);
|
||||
return model;
|
||||
}
|
||||
|
||||
public Class30_Sub2_Sub4_Sub6 method202(int i) {
|
||||
public Model method202(int i) {
|
||||
if (anIntArray193 != null && i > 1) {
|
||||
int j = -1;
|
||||
for (int k = 0; k < 10; k++) {
|
||||
@@ -454,69 +454,69 @@ public class Class8 {
|
||||
return method198(j).method202(1);
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = Class30_Sub2_Sub4_Sub6.method462(anInt174);
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
Model model = Model.method462(anInt174);
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
if (anIntArray156 != null) {
|
||||
for (int l = 0; l < anIntArray156.length; l++) {
|
||||
class30_sub2_sub4_sub6.method476(anIntArray156[l], anIntArray160[l]);
|
||||
model.method476(anIntArray156[l], anIntArray160[l]);
|
||||
}
|
||||
}
|
||||
return class30_sub2_sub4_sub6;
|
||||
return model;
|
||||
}
|
||||
|
||||
public void method203(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
public void method203(Buffer buffer) {
|
||||
do {
|
||||
int i = class30_sub2_sub2.method408();
|
||||
int i = buffer.method408();
|
||||
if (i == 0) {
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
anInt174 = class30_sub2_sub2.method410();
|
||||
anInt174 = buffer.method410();
|
||||
} else if (i == 2) {
|
||||
aString170 = class30_sub2_sub2.method415();
|
||||
aString170 = buffer.method415();
|
||||
} else if (i == 3) {
|
||||
aByteArray178 = class30_sub2_sub2.method416();
|
||||
aByteArray178 = buffer.method416();
|
||||
} else if (i == 4) {
|
||||
anInt181 = class30_sub2_sub2.method410();
|
||||
anInt181 = buffer.method410();
|
||||
} else if (i == 5) {
|
||||
anInt190 = class30_sub2_sub2.method410();
|
||||
anInt190 = buffer.method410();
|
||||
} else if (i == 6) {
|
||||
anInt198 = class30_sub2_sub2.method410();
|
||||
anInt198 = buffer.method410();
|
||||
} else if (i == 7) {
|
||||
anInt169 = class30_sub2_sub2.method410();
|
||||
anInt169 = buffer.method410();
|
||||
if (anInt169 > 32767) {
|
||||
anInt169 -= 0x10000;
|
||||
}
|
||||
} else if (i == 8) {
|
||||
anInt194 = class30_sub2_sub2.method410();
|
||||
anInt194 = buffer.method410();
|
||||
if (anInt194 > 32767) {
|
||||
anInt194 -= 0x10000;
|
||||
}
|
||||
} else if (i == 10) {
|
||||
unusedInt = class30_sub2_sub2.method410();
|
||||
unusedInt = buffer.method410();
|
||||
} else if (i == 11) {
|
||||
aBoolean176 = true;
|
||||
} else if (i == 12) {
|
||||
anInt155 = class30_sub2_sub2.method413();
|
||||
anInt155 = buffer.method413();
|
||||
} else if (i == 16) {
|
||||
aBoolean161 = true;
|
||||
} else if (i == 23) {
|
||||
anInt165 = class30_sub2_sub2.method410();
|
||||
aByte205 = class30_sub2_sub2.method409();
|
||||
anInt165 = buffer.method410();
|
||||
aByte205 = buffer.method409();
|
||||
} else if (i == 24) {
|
||||
anInt188 = class30_sub2_sub2.method410();
|
||||
anInt188 = buffer.method410();
|
||||
} else if (i == 25) {
|
||||
anInt200 = class30_sub2_sub2.method410();
|
||||
aByte154 = class30_sub2_sub2.method409();
|
||||
anInt200 = buffer.method410();
|
||||
aByte154 = buffer.method409();
|
||||
} else if (i == 26) {
|
||||
anInt164 = class30_sub2_sub2.method410();
|
||||
anInt164 = buffer.method410();
|
||||
} else if (i >= 30 && i < 35) {
|
||||
if (aStringArray168 == null) {
|
||||
aStringArray168 = new String[5];
|
||||
}
|
||||
aStringArray168[i - 30] = class30_sub2_sub2.method415();
|
||||
aStringArray168[i - 30] = buffer.method415();
|
||||
if (aStringArray168[i - 30].equalsIgnoreCase("hidden")) {
|
||||
aStringArray168[i - 30] = null;
|
||||
}
|
||||
@@ -524,52 +524,52 @@ public class Class8 {
|
||||
if (aStringArray189 == null) {
|
||||
aStringArray189 = new String[5];
|
||||
}
|
||||
aStringArray189[i - 35] = class30_sub2_sub2.method415();
|
||||
aStringArray189[i - 35] = buffer.method415();
|
||||
} else if (i == 40) {
|
||||
int j = class30_sub2_sub2.method408();
|
||||
int j = buffer.method408();
|
||||
anIntArray156 = new int[j];
|
||||
anIntArray160 = new int[j];
|
||||
for (int k = 0; k < j; k++) {
|
||||
anIntArray156[k] = class30_sub2_sub2.method410();
|
||||
anIntArray160[k] = class30_sub2_sub2.method410();
|
||||
anIntArray156[k] = buffer.method410();
|
||||
anIntArray160[k] = buffer.method410();
|
||||
}
|
||||
} else if (i == 78) {
|
||||
anInt185 = class30_sub2_sub2.method410();
|
||||
anInt185 = buffer.method410();
|
||||
} else if (i == 79) {
|
||||
anInt162 = class30_sub2_sub2.method410();
|
||||
anInt162 = buffer.method410();
|
||||
} else if (i == 90) {
|
||||
anInt175 = class30_sub2_sub2.method410();
|
||||
anInt175 = buffer.method410();
|
||||
} else if (i == 91) {
|
||||
anInt197 = class30_sub2_sub2.method410();
|
||||
anInt197 = buffer.method410();
|
||||
} else if (i == 92) {
|
||||
anInt166 = class30_sub2_sub2.method410();
|
||||
anInt166 = buffer.method410();
|
||||
} else if (i == 93) {
|
||||
anInt173 = class30_sub2_sub2.method410();
|
||||
anInt173 = buffer.method410();
|
||||
} else if (i == 95) {
|
||||
anInt204 = class30_sub2_sub2.method410();
|
||||
anInt204 = buffer.method410();
|
||||
} else if (i == 97) {
|
||||
anInt179 = class30_sub2_sub2.method410();
|
||||
anInt179 = buffer.method410();
|
||||
} else if (i == 98) {
|
||||
anInt163 = class30_sub2_sub2.method410();
|
||||
anInt163 = buffer.method410();
|
||||
} else if (i >= 100 && i < 110) {
|
||||
if (anIntArray193 == null) {
|
||||
anIntArray193 = new int[10];
|
||||
anIntArray201 = new int[10];
|
||||
}
|
||||
anIntArray193[i - 100] = class30_sub2_sub2.method410();
|
||||
anIntArray201[i - 100] = class30_sub2_sub2.method410();
|
||||
anIntArray193[i - 100] = buffer.method410();
|
||||
anIntArray201[i - 100] = buffer.method410();
|
||||
} else if (i == 110) {
|
||||
anInt167 = class30_sub2_sub2.method410();
|
||||
anInt167 = buffer.method410();
|
||||
} else if (i == 111) {
|
||||
anInt192 = class30_sub2_sub2.method410();
|
||||
anInt192 = buffer.method410();
|
||||
} else if (i == 112) {
|
||||
anInt191 = class30_sub2_sub2.method410();
|
||||
anInt191 = buffer.method410();
|
||||
} else if (i == 113) {
|
||||
anInt196 = class30_sub2_sub2.method409();
|
||||
anInt196 = buffer.method409();
|
||||
} else if (i == 114) {
|
||||
anInt184 = class30_sub2_sub2.method409() * 5;
|
||||
anInt184 = buffer.method409() * 5;
|
||||
} else if (i == 115) {
|
||||
anInt202 = class30_sub2_sub2.method408();
|
||||
anInt202 = buffer.method408();
|
||||
}
|
||||
} while (true);
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub3 extends Class30_Sub2 {
|
||||
public class OnDemandRequest extends Class30_Sub2 {
|
||||
|
||||
public int anInt1419;
|
||||
public byte[] aByteArray1420;
|
||||
@@ -10,7 +10,7 @@ public class Class30_Sub2_Sub3 extends Class30_Sub2 {
|
||||
public boolean aBoolean1422;
|
||||
public int anInt1423;
|
||||
|
||||
public Class30_Sub2_Sub3() {
|
||||
public OnDemandRequest() {
|
||||
aBoolean1422 = true;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub4_Sub1 extends Class30_Sub2_Sub4 {
|
||||
public class PathingEntity extends Entity {
|
||||
|
||||
public final int[] anIntArray1500 = new int[10];
|
||||
public final int[] anIntArray1501 = new int[10];
|
||||
@@ -60,11 +60,11 @@ public class Class30_Sub2_Sub4_Sub1 extends Class30_Sub2_Sub4 {
|
||||
public int anInt1556 = -1;
|
||||
public int anInt1557 = -1;
|
||||
|
||||
public Class30_Sub2_Sub4_Sub1() {
|
||||
public PathingEntity() {
|
||||
}
|
||||
|
||||
public void method445(int i, int j, boolean flag) {
|
||||
if (anInt1526 != -1 && Class20.aClass20Array351[anInt1526].anInt364 == 1) {
|
||||
if (anInt1526 != -1 && SeqType.aTypeArray351[anInt1526].anInt364 == 1) {
|
||||
anInt1526 = -1;
|
||||
}
|
||||
if (!flag) {
|
||||
@@ -141,7 +141,7 @@ public class Class30_Sub2_Sub4_Sub1 extends Class30_Sub2_Sub4 {
|
||||
j++;
|
||||
k--;
|
||||
}
|
||||
if (anInt1526 != -1 && Class20.aClass20Array351[anInt1526].anInt364 == 1) {
|
||||
if (anInt1526 != -1 && SeqType.aTypeArray351[anInt1526].anInt364 == 1) {
|
||||
anInt1526 = -1;
|
||||
}
|
||||
if (anInt1525 < 9) {
|
||||
@@ -0,0 +1,356 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class PlayerEntity extends PathingEntity {
|
||||
|
||||
public static LRUCache aCache_1704 = new LRUCache(260);
|
||||
public long aLong1697 = -1L;
|
||||
public NPCType aType_1698;
|
||||
public boolean aBoolean1699 = false;
|
||||
public final int[] anIntArray1700 = new int[5];
|
||||
public int anInt1701;
|
||||
public int anInt1702;
|
||||
public String aString1703;
|
||||
public int anInt1705;
|
||||
public int anInt1706;
|
||||
public int anInt1707;
|
||||
public int anInt1708;
|
||||
public int anInt1709;
|
||||
public boolean aBoolean1710 = false;
|
||||
public int anInt1711;
|
||||
public int anInt1712;
|
||||
public int anInt1713;
|
||||
public Model aModel_1714;
|
||||
public final int[] anIntArray1717 = new int[12];
|
||||
public long aLong1718;
|
||||
public int anInt1719;
|
||||
public int anInt1720;
|
||||
public int anInt1721;
|
||||
public int anInt1722;
|
||||
public int anInt1723;
|
||||
|
||||
public PlayerEntity() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Model method444() {
|
||||
if (!aBoolean1710) {
|
||||
return null;
|
||||
}
|
||||
Model model = method452();
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
super.anInt1507 = model.anInt1426;
|
||||
model.aBoolean1659 = true;
|
||||
if (aBoolean1699) {
|
||||
return model;
|
||||
}
|
||||
if (super.anInt1520 != -1 && super.anInt1521 != -1) {
|
||||
SpotAnimType type = SpotAnimType.aTypeArray403[super.anInt1520];
|
||||
Model class30_sub2_sub4_sub6_2 = type.method266();
|
||||
if (class30_sub2_sub4_sub6_2 != null) {
|
||||
Model model_3 = new Model(true, Class36.method532(super.anInt1521), false, class30_sub2_sub4_sub6_2);
|
||||
model_3.method475(0, -super.anInt1524, 0);
|
||||
model_3.method469();
|
||||
model_3.method470(type.aType_407.anIntArray353[super.anInt1521]);
|
||||
model_3.anIntArrayArray1658 = null;
|
||||
model_3.anIntArrayArray1657 = null;
|
||||
if (type.anInt410 != 128 || type.anInt411 != 128) {
|
||||
model_3.method478(type.anInt410, type.anInt410, type.anInt411);
|
||||
}
|
||||
model_3.method479(64 + type.anInt413, 850 + type.anInt414, -30, -50, -30, true);
|
||||
Model[] aclass30_sub2_sub4_sub6_1 = {model, model_3};
|
||||
model = new Model(2, -819, aclass30_sub2_sub4_sub6_1);
|
||||
}
|
||||
}
|
||||
if (aModel_1714 != null) {
|
||||
if (Game.anInt1161 >= anInt1708) {
|
||||
aModel_1714 = null;
|
||||
}
|
||||
if (Game.anInt1161 >= anInt1707 && Game.anInt1161 < anInt1708) {
|
||||
Model model_1 = aModel_1714;
|
||||
model_1.method475(anInt1711 - super.anInt1550, anInt1712 - anInt1709, anInt1713 - super.anInt1551);
|
||||
if (super.anInt1510 == 512) {
|
||||
model_1.method473();
|
||||
model_1.method473();
|
||||
model_1.method473();
|
||||
} else if (super.anInt1510 == 1024) {
|
||||
model_1.method473();
|
||||
model_1.method473();
|
||||
} else if (super.anInt1510 == 1536) {
|
||||
model_1.method473();
|
||||
}
|
||||
Model[] aclass30_sub2_sub4_sub6 = {model, model_1};
|
||||
model = new Model(2, -819, aclass30_sub2_sub4_sub6);
|
||||
if (super.anInt1510 == 512) {
|
||||
model_1.method473();
|
||||
} else if (super.anInt1510 == 1024) {
|
||||
model_1.method473();
|
||||
model_1.method473();
|
||||
} else if (super.anInt1510 == 1536) {
|
||||
model_1.method473();
|
||||
model_1.method473();
|
||||
model_1.method473();
|
||||
}
|
||||
model_1.method475(super.anInt1550 - anInt1711, anInt1709 - anInt1712, super.anInt1551 - anInt1713);
|
||||
}
|
||||
}
|
||||
model.aBoolean1659 = true;
|
||||
return model;
|
||||
}
|
||||
|
||||
public void method451(Buffer buffer) {
|
||||
buffer.anInt1406 = 0;
|
||||
anInt1702 = buffer.method408();
|
||||
anInt1706 = buffer.method408();
|
||||
aType_1698 = null;
|
||||
anInt1701 = 0;
|
||||
for (int j = 0; j < 12; j++) {
|
||||
int k = buffer.method408();
|
||||
if (k == 0) {
|
||||
anIntArray1717[j] = 0;
|
||||
continue;
|
||||
}
|
||||
int i1 = buffer.method408();
|
||||
anIntArray1717[j] = (k << 8) + i1;
|
||||
if (j == 0 && anIntArray1717[0] == 65535) {
|
||||
aType_1698 = NPCType.method159(buffer.method410());
|
||||
break;
|
||||
}
|
||||
if (anIntArray1717[j] >= 512 && anIntArray1717[j] - 512 < ObjType.anInt203) {
|
||||
int l1 = ObjType.method198(anIntArray1717[j] - 512).anInt202;
|
||||
if (l1 != 0) {
|
||||
anInt1701 = l1;
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int l = 0; l < 5; l++) {
|
||||
int j1 = buffer.method408();
|
||||
if (j1 < 0 || j1 >= Game.anIntArrayArray1003[l].length) {
|
||||
j1 = 0;
|
||||
}
|
||||
anIntArray1700[l] = j1;
|
||||
}
|
||||
super.anInt1511 = buffer.method410();
|
||||
if (super.anInt1511 == 65535) {
|
||||
super.anInt1511 = -1;
|
||||
}
|
||||
super.anInt1512 = buffer.method410();
|
||||
if (super.anInt1512 == 65535) {
|
||||
super.anInt1512 = -1;
|
||||
}
|
||||
super.anInt1554 = buffer.method410();
|
||||
if (super.anInt1554 == 65535) {
|
||||
super.anInt1554 = -1;
|
||||
}
|
||||
super.anInt1555 = buffer.method410();
|
||||
if (super.anInt1555 == 65535) {
|
||||
super.anInt1555 = -1;
|
||||
}
|
||||
super.anInt1556 = buffer.method410();
|
||||
if (super.anInt1556 == 65535) {
|
||||
super.anInt1556 = -1;
|
||||
}
|
||||
super.anInt1557 = buffer.method410();
|
||||
if (super.anInt1557 == 65535) {
|
||||
super.anInt1557 = -1;
|
||||
}
|
||||
super.anInt1505 = buffer.method410();
|
||||
if (super.anInt1505 == 65535) {
|
||||
super.anInt1505 = -1;
|
||||
}
|
||||
aString1703 = Class50.method587(Class50.method584(buffer.method414()));
|
||||
anInt1705 = buffer.method408();
|
||||
anInt1723 = buffer.method410();
|
||||
aBoolean1710 = true;
|
||||
aLong1718 = 0L;
|
||||
for (int k1 = 0; k1 < 12; k1++) {
|
||||
aLong1718 <<= 4;
|
||||
if (anIntArray1717[k1] >= 256) {
|
||||
aLong1718 += anIntArray1717[k1] - 256;
|
||||
}
|
||||
}
|
||||
if (anIntArray1717[0] >= 256) {
|
||||
aLong1718 += anIntArray1717[0] - 256 >> 4;
|
||||
}
|
||||
if (anIntArray1717[1] >= 256) {
|
||||
aLong1718 += anIntArray1717[1] - 256 >> 8;
|
||||
}
|
||||
for (int i2 = 0; i2 < 5; i2++) {
|
||||
aLong1718 <<= 3;
|
||||
aLong1718 += anIntArray1700[i2];
|
||||
}
|
||||
aLong1718 <<= 1;
|
||||
aLong1718 += anInt1702;
|
||||
}
|
||||
|
||||
public Model method452() {
|
||||
if (aType_1698 != null) {
|
||||
int j = -1;
|
||||
if (super.anInt1526 >= 0 && super.anInt1529 == 0) {
|
||||
j = SeqType.aTypeArray351[super.anInt1526].anIntArray353[super.anInt1527];
|
||||
} else if (super.anInt1517 >= 0) {
|
||||
j = SeqType.aTypeArray351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
return aType_1698.method164(-1, j, null);
|
||||
}
|
||||
long l = aLong1718;
|
||||
int k = -1;
|
||||
int i1 = -1;
|
||||
int j1 = -1;
|
||||
int k1 = -1;
|
||||
if (super.anInt1526 >= 0 && super.anInt1529 == 0) {
|
||||
SeqType type = SeqType.aTypeArray351[super.anInt1526];
|
||||
k = type.anIntArray353[super.anInt1527];
|
||||
if (super.anInt1517 >= 0 && super.anInt1517 != super.anInt1511) {
|
||||
i1 = SeqType.aTypeArray351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
if (type.anInt360 >= 0) {
|
||||
j1 = type.anInt360;
|
||||
l += j1 - anIntArray1717[5] << 8;
|
||||
}
|
||||
if (type.anInt361 >= 0) {
|
||||
k1 = type.anInt361;
|
||||
l += k1 - anIntArray1717[3] << 16;
|
||||
}
|
||||
} else if (super.anInt1517 >= 0) {
|
||||
k = SeqType.aTypeArray351[super.anInt1517].anIntArray353[super.anInt1518];
|
||||
}
|
||||
Model model_1 = (Model) aCache_1704.method222(l);
|
||||
if (model_1 == null) {
|
||||
boolean flag = false;
|
||||
for (int i2 = 0; i2 < 12; i2++) {
|
||||
int k2 = anIntArray1717[i2];
|
||||
if (k1 >= 0 && i2 == 3) {
|
||||
k2 = k1;
|
||||
}
|
||||
if (j1 >= 0 && i2 == 5) {
|
||||
k2 = j1;
|
||||
}
|
||||
if (k2 >= 256 && k2 < 512 && !Class38.aClass38Array656[k2 - 256].method537()) {
|
||||
flag = true;
|
||||
}
|
||||
if (k2 >= 512 && !ObjType.method198(k2 - 512).method195(anInt1702)) {
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
if (aLong1697 != -1L) {
|
||||
model_1 = (Model) aCache_1704.method222(aLong1697);
|
||||
}
|
||||
if (model_1 == null) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (model_1 == null) {
|
||||
Model[] aclass30_sub2_sub4_sub6 = new Model[12];
|
||||
int j2 = 0;
|
||||
for (int l2 = 0; l2 < 12; l2++) {
|
||||
int i3 = anIntArray1717[l2];
|
||||
if (k1 >= 0 && l2 == 3) {
|
||||
i3 = k1;
|
||||
}
|
||||
if (j1 >= 0 && l2 == 5) {
|
||||
i3 = j1;
|
||||
}
|
||||
if (i3 >= 256 && i3 < 512) {
|
||||
Model model_3 = Class38.aClass38Array656[i3 - 256].method538();
|
||||
if (model_3 != null) {
|
||||
aclass30_sub2_sub4_sub6[j2++] = model_3;
|
||||
}
|
||||
}
|
||||
if (i3 >= 512) {
|
||||
Model class30_sub2_sub4_sub6_4 = ObjType.method198(i3 - 512).method196(anInt1702);
|
||||
if (class30_sub2_sub4_sub6_4 != null) {
|
||||
aclass30_sub2_sub4_sub6[j2++] = class30_sub2_sub4_sub6_4;
|
||||
}
|
||||
}
|
||||
}
|
||||
model_1 = new Model(j2, aclass30_sub2_sub4_sub6);
|
||||
for (int j3 = 0; j3 < 5; j3++) {
|
||||
if (anIntArray1700[j3] != 0) {
|
||||
model_1.method476(Game.anIntArrayArray1003[j3][0], Game.anIntArrayArray1003[j3][anIntArray1700[j3]]);
|
||||
if (j3 == 1) {
|
||||
model_1.method476(Game.anIntArray1204[0], Game.anIntArray1204[anIntArray1700[j3]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
model_1.method469();
|
||||
model_1.method479(64, 850, -30, -50, -30, true);
|
||||
aCache_1704.method223(model_1, l);
|
||||
aLong1697 = l;
|
||||
}
|
||||
if (aBoolean1699) {
|
||||
return model_1;
|
||||
}
|
||||
Model class30_sub2_sub4_sub6_2 = Model.A_MODEL___1621;
|
||||
class30_sub2_sub4_sub6_2.method464(model_1, Class36.method532(k) & Class36.method532(i1));
|
||||
if (k != -1 && i1 != -1) {
|
||||
class30_sub2_sub4_sub6_2.method471(SeqType.aTypeArray351[super.anInt1526].anIntArray357, i1, k);
|
||||
} else if (k != -1) {
|
||||
class30_sub2_sub4_sub6_2.method470(k);
|
||||
}
|
||||
class30_sub2_sub4_sub6_2.method466();
|
||||
class30_sub2_sub4_sub6_2.anIntArrayArray1658 = null;
|
||||
class30_sub2_sub4_sub6_2.anIntArrayArray1657 = null;
|
||||
return class30_sub2_sub4_sub6_2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean method449() {
|
||||
return aBoolean1710;
|
||||
}
|
||||
|
||||
public Model method453() {
|
||||
if (!aBoolean1710) {
|
||||
return null;
|
||||
}
|
||||
if (aType_1698 != null) {
|
||||
return aType_1698.method160();
|
||||
}
|
||||
boolean flag = false;
|
||||
for (int i = 0; i < 12; i++) {
|
||||
int j = anIntArray1717[i];
|
||||
if (j >= 256 && j < 512 && !Class38.aClass38Array656[j - 256].method539()) {
|
||||
flag = true;
|
||||
}
|
||||
if (j >= 512 && !ObjType.method198(j - 512).method192(anInt1702)) {
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
return null;
|
||||
}
|
||||
Model[] aclass30_sub2_sub4_sub6 = new Model[12];
|
||||
int k = 0;
|
||||
for (int l = 0; l < 12; l++) {
|
||||
int i1 = anIntArray1717[l];
|
||||
if (i1 >= 256 && i1 < 512) {
|
||||
Model model_1 = Class38.aClass38Array656[i1 - 256].method540();
|
||||
if (model_1 != null) {
|
||||
aclass30_sub2_sub4_sub6[k++] = model_1;
|
||||
}
|
||||
}
|
||||
if (i1 >= 512) {
|
||||
Model class30_sub2_sub4_sub6_2 = ObjType.method198(i1 - 512).method194(anInt1702);
|
||||
if (class30_sub2_sub4_sub6_2 != null) {
|
||||
aclass30_sub2_sub4_sub6[k++] = class30_sub2_sub4_sub6_2;
|
||||
}
|
||||
}
|
||||
}
|
||||
Model model = new Model(k, aclass30_sub2_sub4_sub6);
|
||||
for (int j1 = 0; j1 < 5; j1++) {
|
||||
if (anIntArray1700[j1] != 0) {
|
||||
model.method476(Game.anIntArrayArray1003[j1][0], Game.anIntArrayArray1003[j1][anIntArray1700[j1]]);
|
||||
if (j1 == 1) {
|
||||
model.method476(Game.anIntArray1204[0], Game.anIntArray1204[anIntArray1700[j1]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class30_Sub2_Sub4_Sub4 extends Class30_Sub2_Sub4 {
|
||||
public class ProjectileEntity extends Entity {
|
||||
|
||||
public final int anInt1571;
|
||||
public final int anInt1572;
|
||||
@@ -22,15 +22,15 @@ public class Class30_Sub2_Sub4_Sub4 extends Class30_Sub2_Sub4 {
|
||||
public final int anInt1588;
|
||||
public final int anInt1589;
|
||||
public final int anInt1590;
|
||||
public final Class23 aClass23_1592;
|
||||
public final SpotAnimType aType_1592;
|
||||
public int anInt1593;
|
||||
public int anInt1594;
|
||||
public int anInt1595;
|
||||
public int anInt1596;
|
||||
public final int anInt1597;
|
||||
|
||||
public Class30_Sub2_Sub4_Sub4(int i, int j, int l, int i1, int j1, int k1, int l1, int i2, int j2, int k2, int l2) {
|
||||
aClass23_1592 = Class23.aClass23Array403[l2];
|
||||
public ProjectileEntity(int i, int j, int l, int i1, int j1, int k1, int l1, int i2, int j2, int k2, int l2) {
|
||||
aType_1592 = SpotAnimType.aTypeArray403[l2];
|
||||
anInt1597 = k1;
|
||||
anInt1580 = j2;
|
||||
anInt1581 = i2;
|
||||
@@ -63,28 +63,28 @@ public class Class30_Sub2_Sub4_Sub4 extends Class30_Sub2_Sub4 {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class30_Sub2_Sub4_Sub6 method444() {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6 = aClass23_1592.method266();
|
||||
if (class30_sub2_sub4_sub6 == null) {
|
||||
public Model method444() {
|
||||
Model model = aType_1592.method266();
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
int j = -1;
|
||||
if (aClass23_1592.aClass20_407 != null) {
|
||||
j = aClass23_1592.aClass20_407.anIntArray353[anInt1593];
|
||||
if (aType_1592.aType_407 != null) {
|
||||
j = aType_1592.aType_407.anIntArray353[anInt1593];
|
||||
}
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6_1 = new Class30_Sub2_Sub4_Sub6(true, Class36.method532(j), false, class30_sub2_sub4_sub6);
|
||||
Model model_1 = new Model(true, Class36.method532(j), false, model);
|
||||
if (j != -1) {
|
||||
class30_sub2_sub4_sub6_1.method469();
|
||||
class30_sub2_sub4_sub6_1.method470(j);
|
||||
class30_sub2_sub4_sub6_1.anIntArrayArray1658 = null;
|
||||
class30_sub2_sub4_sub6_1.anIntArrayArray1657 = null;
|
||||
model_1.method469();
|
||||
model_1.method470(j);
|
||||
model_1.anIntArrayArray1658 = null;
|
||||
model_1.anIntArrayArray1657 = null;
|
||||
}
|
||||
if (aClass23_1592.anInt410 != 128 || aClass23_1592.anInt411 != 128) {
|
||||
class30_sub2_sub4_sub6_1.method478(aClass23_1592.anInt410, aClass23_1592.anInt410, aClass23_1592.anInt411);
|
||||
if (aType_1592.anInt410 != 128 || aType_1592.anInt411 != 128) {
|
||||
model_1.method478(aType_1592.anInt410, aType_1592.anInt410, aType_1592.anInt411);
|
||||
}
|
||||
class30_sub2_sub4_sub6_1.method474(anInt1596);
|
||||
class30_sub2_sub4_sub6_1.method479(64 + aClass23_1592.anInt413, 850 + aClass23_1592.anInt414, -30, -50, -30, true);
|
||||
return class30_sub2_sub4_sub6_1;
|
||||
model_1.method474(anInt1596);
|
||||
model_1.method479(64 + aType_1592.anInt413, 850 + aType_1592.anInt414, -30, -50, -30, true);
|
||||
return model_1;
|
||||
}
|
||||
|
||||
public void method456(int i) {
|
||||
@@ -95,11 +95,11 @@ public class Class30_Sub2_Sub4_Sub4 extends Class30_Sub2_Sub4 {
|
||||
aDouble1577 += aDouble1578 * (double) i;
|
||||
anInt1595 = (int) (Math.atan2(aDouble1574, aDouble1575) * 325.94900000000001D) + 1024 & 0x7ff;
|
||||
anInt1596 = (int) (Math.atan2(aDouble1577, aDouble1576) * 325.94900000000001D) & 0x7ff;
|
||||
if (aClass23_1592.aClass20_407 != null) {
|
||||
for (anInt1594 += i; anInt1594 > aClass23_1592.aClass20_407.method258(anInt1593); ) {
|
||||
anInt1594 -= aClass23_1592.aClass20_407.method258(anInt1593) + 1;
|
||||
if (aType_1592.aType_407 != null) {
|
||||
for (anInt1594 += i; anInt1594 > aType_1592.aType_407.method258(anInt1593); ) {
|
||||
anInt1594 -= aType_1592.aType_407.method258(anInt1593) + 1;
|
||||
anInt1593++;
|
||||
if (anInt1593 >= aClass23_1592.aClass20_407.anInt352) {
|
||||
if (anInt1593 >= aType_1592.aType_407.anInt352) {
|
||||
anInt1593 = 0;
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
* Visit http://jode.sourceforge.net/
|
||||
*/
|
||||
|
||||
public class Class7 {
|
||||
public class SceneBuilder {
|
||||
|
||||
public static final int[] anIntArray137 = {1, 0, -1, 0};
|
||||
public static final int[] anIntArray140 = {16, 32, 64, 128};
|
||||
@@ -30,7 +30,7 @@ public class Class7 {
|
||||
public final byte[][][] aByteArrayArrayArray148;
|
||||
public final byte[][][] aByteArrayArrayArray149;
|
||||
|
||||
public Class7(byte[][][] is, int i_0_, int i_1_, int[][][] is_2_) {
|
||||
public SceneBuilder(byte[][][] is, int i_0_, int i_1_, int[][][] is_2_) {
|
||||
anInt145 = 99;
|
||||
anInt146 = i_1_;
|
||||
anInt147 = i_0_;
|
||||
@@ -68,10 +68,10 @@ public class Class7 {
|
||||
return i_109_;
|
||||
}
|
||||
|
||||
public static void method173(Class30_Sub2_Sub2 class30_sub2_sub2, Class42_Sub1 class42_sub1) {
|
||||
public static void method173(Buffer buffer, Class42_Sub1 class42_sub1) {
|
||||
int i_110_ = -1;
|
||||
for (; ; ) {
|
||||
int i_111_ = class30_sub2_sub2.method422();
|
||||
int i_111_ = buffer.method422();
|
||||
if (i_111_ == 0) {
|
||||
break;
|
||||
}
|
||||
@@ -79,11 +79,11 @@ public class Class7 {
|
||||
Class46 class46 = Class46.method572(i_110_);
|
||||
class46.method574(class42_sub1);
|
||||
for (; ; ) {
|
||||
int i_112_ = class30_sub2_sub2.method422();
|
||||
int i_112_ = buffer.method422();
|
||||
if (i_112_ == 0) {
|
||||
break;
|
||||
}
|
||||
class30_sub2_sub2.method408();
|
||||
buffer.method408();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -114,7 +114,7 @@ public class Class7 {
|
||||
}
|
||||
|
||||
public static int method184(int i, int i_216_, int i_217_, int i_218_) {
|
||||
int i_219_ = (65536 - Class30_Sub2_Sub1_Sub3.anIntArray1471[i_217_ * 1024 / i_218_] >> 1);
|
||||
int i_219_ = (65536 - Draw3D.anIntArray1471[i_217_ * 1024 / i_218_] >> 1);
|
||||
return (i * (65536 - i_219_) >> 16) + (i_216_ * i_219_ >> 16);
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ public class Class7 {
|
||||
return (i & 0xff80) + i_225_;
|
||||
}
|
||||
|
||||
public static void method188(Class25 class25, int i, int i_226_, int i_227_, int i_228_, Class11 class11, int[][][] is, int i_229_, int i_230_, int i_231_) {
|
||||
public static void method188(SceneGraph graph, int i, int i_226_, int i_227_, int i_228_, SceneCollisionMap collisionMap, int[][][] is, int i_229_, int i_230_, int i_231_) {
|
||||
int i_233_ = is[i_228_][i_229_][i_226_];
|
||||
int i_234_ = is[i_228_][i_229_ + 1][i_226_];
|
||||
int i_235_ = is[i_228_][i_229_ + 1][i_226_ + 1];
|
||||
@@ -151,24 +151,24 @@ public class Class7 {
|
||||
}
|
||||
byte i_239_ = (byte) ((i << 6) + i_227_);
|
||||
if (i_227_ == 22) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(22, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(22, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, i, 22, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, i, 22, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method280(i_231_, i_237_, i_226_, class30_sub2_sub4, i_239_, i_238_, i_229_);
|
||||
graph.method280(i_231_, i_237_, i_226_, entity, i_239_, i_238_, i_229_);
|
||||
if (class46.aBoolean767 && class46.aBoolean778) {
|
||||
class11.method213(i_226_, i_229_);
|
||||
collisionMap.method213(i_226_, i_229_);
|
||||
}
|
||||
} else if (i_227_ == 10 || i_227_ == 11) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(10, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(10, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, i, 10, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, i, 10, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
if (class30_sub2_sub4 != null) {
|
||||
if (entity != null) {
|
||||
int i_240_ = 0;
|
||||
if (i_227_ == 11) {
|
||||
i_240_ += 256;
|
||||
@@ -182,80 +182,80 @@ public class Class7 {
|
||||
i_241_ = class46.anInt744;
|
||||
i_242_ = class46.anInt761;
|
||||
}
|
||||
class25.method284(i_238_, i_239_, i_237_, i_242_, class30_sub2_sub4, i_241_, i_231_, i_240_, i_226_, i_229_);
|
||||
graph.method284(i_238_, i_239_, i_237_, i_242_, entity, i_241_, i_231_, i_240_, i_226_, i_229_);
|
||||
}
|
||||
if (class46.aBoolean767) {
|
||||
class11.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_229_, i_226_, i);
|
||||
collisionMap.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_229_, i_226_, i);
|
||||
}
|
||||
} else if (i_227_ >= 12) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(i_227_, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(i_227_, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, i, i_227_, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, i, i_227_, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method284(i_238_, i_239_, i_237_, 1, class30_sub2_sub4, 1, i_231_, 0, i_226_, i_229_);
|
||||
graph.method284(i_238_, i_239_, i_237_, 1, entity, 1, i_231_, 0, i_226_, i_229_);
|
||||
if (class46.aBoolean767) {
|
||||
class11.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_229_, i_226_, i);
|
||||
collisionMap.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_229_, i_226_, i);
|
||||
}
|
||||
} else if (i_227_ == 0) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(0, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(0, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, i, 0, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, i, 0, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method282(anIntArray152[i], class30_sub2_sub4, i_238_, i_226_, i_239_, i_229_, null, i_237_, 0, i_231_);
|
||||
graph.method282(anIntArray152[i], entity, i_238_, i_226_, i_239_, i_229_, null, i_237_, 0, i_231_);
|
||||
if (class46.aBoolean767) {
|
||||
class11.method211(i_226_, i, i_229_, i_227_, class46.aBoolean757);
|
||||
collisionMap.method211(i_226_, i, i_229_, i_227_, class46.aBoolean757);
|
||||
}
|
||||
} else if (i_227_ == 1) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(1, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(1, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, i, 1, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, i, 1, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method282(anIntArray140[i], class30_sub2_sub4, i_238_, i_226_, i_239_, i_229_, null, i_237_, 0, i_231_);
|
||||
graph.method282(anIntArray140[i], entity, i_238_, i_226_, i_239_, i_229_, null, i_237_, 0, i_231_);
|
||||
if (class46.aBoolean767) {
|
||||
class11.method211(i_226_, i, i_229_, i_227_, class46.aBoolean757);
|
||||
collisionMap.method211(i_226_, i, i_229_, i_227_, class46.aBoolean757);
|
||||
}
|
||||
} else if (i_227_ == 2) {
|
||||
int i_243_ = i + 1 & 0x3;
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4_244_;
|
||||
Entity entity;
|
||||
Entity entity_244_;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(2, 4 + i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
class30_sub2_sub4_244_ = class46.method578(2, i_243_, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(2, 4 + i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity_244_ = class46.method578(2, i_243_, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, 4 + i, 2, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
class30_sub2_sub4_244_ = new Class30_Sub2_Sub4_Sub5(i_230_, i_243_, 2, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, 4 + i, 2, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity_244_ = new LocEntity(i_230_, i_243_, 2, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method282(anIntArray152[i], class30_sub2_sub4, i_238_, i_226_, i_239_, i_229_, class30_sub2_sub4_244_, i_237_, anIntArray152[i_243_], i_231_);
|
||||
graph.method282(anIntArray152[i], entity, i_238_, i_226_, i_239_, i_229_, entity_244_, i_237_, anIntArray152[i_243_], i_231_);
|
||||
if (class46.aBoolean767) {
|
||||
class11.method211(i_226_, i, i_229_, i_227_, class46.aBoolean757);
|
||||
collisionMap.method211(i_226_, i, i_229_, i_227_, class46.aBoolean757);
|
||||
}
|
||||
} else if (i_227_ == 3) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(3, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(3, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, i, 3, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, i, 3, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method282(anIntArray140[i], class30_sub2_sub4, i_238_, i_226_, i_239_, i_229_, null, i_237_, 0, i_231_);
|
||||
graph.method282(anIntArray140[i], entity, i_238_, i_226_, i_239_, i_229_, null, i_237_, 0, i_231_);
|
||||
if (class46.aBoolean767) {
|
||||
class11.method211(i_226_, i, i_229_, i_227_, class46.aBoolean757);
|
||||
collisionMap.method211(i_226_, i, i_229_, i_227_, class46.aBoolean757);
|
||||
}
|
||||
} else if (i_227_ == 9) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(i_227_, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(i_227_, i, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, i, i_227_, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, i, i_227_, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method284(i_238_, i_239_, i_237_, 1, class30_sub2_sub4, 1, i_231_, 0, i_226_, i_229_);
|
||||
graph.method284(i_238_, i_239_, i_237_, 1, entity, 1, i_231_, 0, i_226_, i_229_);
|
||||
if (class46.aBoolean767) {
|
||||
class11.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_229_, i_226_, i);
|
||||
collisionMap.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_229_, i_226_, i);
|
||||
}
|
||||
} else {
|
||||
if (class46.aBoolean762) {
|
||||
@@ -281,60 +281,60 @@ public class Class7 {
|
||||
}
|
||||
}
|
||||
if (i_227_ == 4) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_238_, i_226_, i * 512, i_231_, 0, i_237_, class30_sub2_sub4, i_229_, i_239_, 0, anIntArray152[i]);
|
||||
graph.method283(i_238_, i_226_, i * 512, i_231_, 0, i_237_, entity, i_229_, i_239_, 0, anIntArray152[i]);
|
||||
} else if (i_227_ == 5) {
|
||||
int i_248_ = 16;
|
||||
int i_249_ = class25.method300(i_231_, i_229_, i_226_);
|
||||
int i_249_ = graph.method300(i_231_, i_229_, i_226_);
|
||||
if (i_249_ > 0) {
|
||||
i_248_ = Class46.method572(i_249_ >> 14 & 0x7fff).anInt775;
|
||||
}
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_238_, i_226_, i * 512, i_231_, anIntArray137[i] * i_248_, i_237_, class30_sub2_sub4, i_229_, i_239_, anIntArray144[i] * i_248_, anIntArray152[i]);
|
||||
graph.method283(i_238_, i_226_, i * 512, i_231_, anIntArray137[i] * i_248_, i_237_, entity, i_229_, i_239_, anIntArray144[i] * i_248_, anIntArray152[i]);
|
||||
} else if (i_227_ == 6) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_238_, i_226_, i, i_231_, 0, i_237_, class30_sub2_sub4, i_229_, i_239_, 0, 256);
|
||||
graph.method283(i_238_, i_226_, i, i_231_, 0, i_237_, entity, i_229_, i_239_, 0, 256);
|
||||
} else if (i_227_ == 7) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_238_, i_226_, i, i_231_, 0, i_237_, class30_sub2_sub4, i_229_, i_239_, 0, 512);
|
||||
graph.method283(i_238_, i_226_, i, i_231_, 0, i_237_, entity, i_229_, i_239_, 0, 512);
|
||||
} else if (i_227_ == 8) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
entity = class46.method578(4, 0, i_233_, i_234_, i_235_, i_236_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_230_, 0, 4, i_234_, i_235_, i_233_, i_236_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_238_, i_226_, i, i_231_, 0, i_237_, class30_sub2_sub4, i_229_, i_239_, 0, 768);
|
||||
graph.method283(i_238_, i_226_, i, i_231_, 0, i_237_, entity, i_229_, i_239_, 0, 768);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean method189(int i, byte[] is, int i_250_) {
|
||||
boolean bool = true;
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(is);
|
||||
Buffer buffer = new Buffer(is);
|
||||
int i_252_ = -1;
|
||||
for (; ; ) {
|
||||
int i_253_ = class30_sub2_sub2.method422();
|
||||
int i_253_ = buffer.method422();
|
||||
if (i_253_ == 0) {
|
||||
break;
|
||||
}
|
||||
@@ -343,20 +343,20 @@ public class Class7 {
|
||||
boolean bool_255_ = false;
|
||||
for (; ; ) {
|
||||
if (bool_255_) {
|
||||
int i_256_ = class30_sub2_sub2.method422();
|
||||
int i_256_ = buffer.method422();
|
||||
if (i_256_ == 0) {
|
||||
break;
|
||||
}
|
||||
class30_sub2_sub2.method408();
|
||||
buffer.method408();
|
||||
} else {
|
||||
int i_257_ = class30_sub2_sub2.method422();
|
||||
int i_257_ = buffer.method422();
|
||||
if (i_257_ == 0) {
|
||||
break;
|
||||
}
|
||||
i_254_ += i_257_ - 1;
|
||||
int i_258_ = i_254_ & 0x3f;
|
||||
int i_259_ = i_254_ >> 6 & 0x3f;
|
||||
int i_260_ = class30_sub2_sub2.method408() >> 2;
|
||||
int i_260_ = buffer.method408() >> 2;
|
||||
int i_261_ = i_259_ + i;
|
||||
int i_262_ = i_258_ + i_250_;
|
||||
if (i_261_ > 0 && i_262_ > 0 && i_261_ < 103 && i_262_ < 103) {
|
||||
@@ -372,7 +372,7 @@ public class Class7 {
|
||||
return bool;
|
||||
}
|
||||
|
||||
public void method171(Class11[] class11s, Class25 class25) {
|
||||
public void method171(SceneCollisionMap[] collisionMaps, SceneGraph graph) {
|
||||
for (int i_6_ = 0; i_6_ < 4; i_6_++) {
|
||||
for (int i_7_ = 0; i_7_ < 104; i_7_++) {
|
||||
for (int i_8_ = 0; i_8_ < 104; i_8_++) {
|
||||
@@ -382,7 +382,7 @@ public class Class7 {
|
||||
i_9_--;
|
||||
}
|
||||
if (i_9_ >= 0) {
|
||||
class11s[i_9_].method213(i_8_, i_7_);
|
||||
collisionMaps[i_9_].method213(i_8_, i_7_);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -437,11 +437,11 @@ public class Class7 {
|
||||
if (i_31_ >= 0 && i_31_ < anInt146) {
|
||||
int i_32_ = aByteArrayArrayArray142[i_10_][i_31_][i_30_] & 0xff;
|
||||
if (i_32_ > 0) {
|
||||
Class22 class22 = Class22.aClass22Array388[i_32_ - 1];
|
||||
anIntArray124[i_30_] += class22.anInt397;
|
||||
anIntArray125[i_30_] += class22.anInt395;
|
||||
anIntArray126[i_30_] += class22.anInt396;
|
||||
anIntArray127[i_30_] += class22.anInt398;
|
||||
FloType type = FloType.aTypeArray388[i_32_ - 1];
|
||||
anIntArray124[i_30_] += type.anInt397;
|
||||
anIntArray125[i_30_] += type.anInt395;
|
||||
anIntArray126[i_30_] += type.anInt396;
|
||||
anIntArray127[i_30_] += type.anInt398;
|
||||
anIntArray128[i_30_]++;
|
||||
}
|
||||
}
|
||||
@@ -449,11 +449,11 @@ public class Class7 {
|
||||
if (i_33_ >= 0 && i_33_ < anInt146) {
|
||||
int i_34_ = aByteArrayArrayArray142[i_10_][i_33_][i_30_] & 0xff;
|
||||
if (i_34_ > 0) {
|
||||
Class22 class22 = Class22.aClass22Array388[i_34_ - 1];
|
||||
anIntArray124[i_30_] -= class22.anInt397;
|
||||
anIntArray125[i_30_] -= class22.anInt395;
|
||||
anIntArray126[i_30_] -= class22.anInt396;
|
||||
anIntArray127[i_30_] -= class22.anInt398;
|
||||
FloType type = FloType.aTypeArray388[i_34_ - 1];
|
||||
anIntArray124[i_30_] -= type.anInt397;
|
||||
anIntArray125[i_30_] -= type.anInt395;
|
||||
anIntArray126[i_30_] -= type.anInt396;
|
||||
anIntArray127[i_30_] -= type.anInt398;
|
||||
anIntArray128[i_30_]--;
|
||||
}
|
||||
}
|
||||
@@ -517,7 +517,7 @@ public class Class7 {
|
||||
if (i_43_ == 0 && (aByteArrayArrayArray136[i_10_][i_29_][i_40_]) != 0) {
|
||||
bool = false;
|
||||
}
|
||||
if (i_44_ > 0 && !(Class22.aClass22Array388[i_44_ - 1].aBoolean393)) {
|
||||
if (i_44_ > 0 && !(FloType.aTypeArray388[i_44_ - 1].aBoolean393)) {
|
||||
bool = false;
|
||||
}
|
||||
if (bool && i_45_ == i_46_ && i_45_ == i_47_ && i_45_ == i_48_) {
|
||||
@@ -526,29 +526,29 @@ public class Class7 {
|
||||
}
|
||||
int i_58_ = 0;
|
||||
if (i_53_ != -1) {
|
||||
i_58_ = (Class30_Sub2_Sub1_Sub3.anIntArray1482[method187(i_54_, 96)]);
|
||||
i_58_ = (Draw3D.anIntArray1482[method187(i_54_, 96)]);
|
||||
}
|
||||
if (i_44_ == 0) {
|
||||
class25.method279(i_10_, i_29_, i_40_, 0, 0, -1, i_45_, i_46_, i_47_, i_48_, method187(i_53_, i_49_), method187(i_53_, i_50_), method187(i_53_, i_51_), method187(i_53_, i_52_), 0, 0, 0, 0, i_58_, 0);
|
||||
graph.method279(i_10_, i_29_, i_40_, 0, 0, -1, i_45_, i_46_, i_47_, i_48_, method187(i_53_, i_49_), method187(i_53_, i_50_), method187(i_53_, i_51_), method187(i_53_, i_52_), 0, 0, 0, 0, i_58_, 0);
|
||||
} else {
|
||||
int i_59_ = ((aByteArrayArrayArray136[i_10_][i_29_][i_40_]) + 1);
|
||||
byte i_60_ = (aByteArrayArrayArray148[i_10_][i_29_][i_40_]);
|
||||
Class22 class22 = Class22.aClass22Array388[i_44_ - 1];
|
||||
int i_61_ = class22.anInt391;
|
||||
FloType type = FloType.aTypeArray388[i_44_ - 1];
|
||||
int i_61_ = type.anInt391;
|
||||
int i_62_;
|
||||
int i_63_;
|
||||
if (i_61_ >= 0) {
|
||||
i_62_ = Class30_Sub2_Sub1_Sub3.method369(i_61_);
|
||||
i_62_ = Draw3D.method369(i_61_);
|
||||
i_63_ = -1;
|
||||
} else if (class22.anInt390 == 16711935) {
|
||||
} else if (type.anInt390 == 16711935) {
|
||||
i_62_ = 0;
|
||||
i_63_ = -2;
|
||||
i_61_ = -1;
|
||||
} else {
|
||||
i_63_ = method177(class22.anInt394, class22.anInt395, class22.anInt396);
|
||||
i_62_ = (Class30_Sub2_Sub1_Sub3.anIntArray1482[method185(class22.anInt399, 96)]);
|
||||
i_63_ = method177(type.anInt394, type.anInt395, type.anInt396);
|
||||
i_62_ = (Draw3D.anIntArray1482[method185(type.anInt399, 96)]);
|
||||
}
|
||||
class25.method279(i_10_, i_29_, i_40_, i_59_, i_60_, i_61_, i_45_, i_46_, i_47_, i_48_, method187(i_53_, i_49_), method187(i_53_, i_50_), method187(i_53_, i_51_), method187(i_53_, i_52_), method185(i_63_, i_49_), method185(i_63_, i_50_), method185(i_63_, i_51_), method185(i_63_, i_52_), i_58_, i_62_);
|
||||
graph.method279(i_10_, i_29_, i_40_, i_59_, i_60_, i_61_, i_45_, i_46_, i_47_, i_48_, method187(i_53_, i_49_), method187(i_53_, i_50_), method187(i_53_, i_51_), method187(i_53_, i_52_), method185(i_63_, i_49_), method185(i_63_, i_50_), method185(i_63_, i_51_), method185(i_63_, i_52_), i_58_, i_62_);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -557,15 +557,15 @@ public class Class7 {
|
||||
}
|
||||
for (int i_64_ = 1; i_64_ < anInt147 - 1; i_64_++) {
|
||||
for (int i_65_ = 1; i_65_ < anInt146 - 1; i_65_++) {
|
||||
class25.method278(i_10_, i_65_, i_64_, method182(i_64_, i_10_, i_65_, 0));
|
||||
graph.method278(i_10_, i_65_, i_64_, method182(i_64_, i_10_, i_65_, 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
class25.method305(-10, 64, -50, 768, -50);
|
||||
graph.method305(-10, 64, -50, 768, -50);
|
||||
for (int i_66_ = 0; i_66_ < anInt146; i_66_++) {
|
||||
for (int i_67_ = 0; i_67_ < anInt147; i_67_++) {
|
||||
if ((aByteArrayArrayArray149[1][i_66_][i_67_] & 0x2) == 2) {
|
||||
class25.method276(i_67_, i_66_);
|
||||
graph.method276(i_67_, i_66_);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -617,7 +617,7 @@ public class Class7 {
|
||||
int i_82_ = 240;
|
||||
int i_83_ = (anIntArrayArrayArray129[i_78_][i_74_][i_75_] - i_82_);
|
||||
int i_84_ = anIntArrayArrayArray129[i_77_][i_74_][i_75_];
|
||||
Class25.method277(i_71_, i_74_ * 128, i_84_, i_74_ * 128, i_76_ * 128 + 128, i_83_, i_75_ * 128, 1);
|
||||
SceneGraph.method277(i_71_, i_74_ * 128, i_84_, i_74_ * 128, i_76_ * 128 + 128, i_83_, i_75_ * 128, 1);
|
||||
for (int i_85_ = i_77_; i_85_ <= i_78_; i_85_++) {
|
||||
for (int i_86_ = i_75_; i_86_ <= i_76_; i_86_++) {
|
||||
anIntArrayArrayArray135[i_85_][i_74_][i_86_] &= ~i_68_;
|
||||
@@ -661,7 +661,7 @@ public class Class7 {
|
||||
int i_94_ = 240;
|
||||
int i_95_ = (anIntArrayArrayArray129[i_90_][i_87_][i_73_] - i_94_);
|
||||
int i_96_ = anIntArrayArrayArray129[i_89_][i_87_][i_73_];
|
||||
Class25.method277(i_71_, i_87_ * 128, i_96_, i_88_ * 128 + 128, i_73_ * 128, i_95_, i_73_ * 128, 2);
|
||||
SceneGraph.method277(i_71_, i_87_ * 128, i_96_, i_88_ * 128 + 128, i_73_ * 128, i_95_, i_73_ * 128, 2);
|
||||
for (int i_97_ = i_89_; i_97_ <= i_90_; i_97_++) {
|
||||
for (int i_98_ = i_87_; i_98_ <= i_88_; i_98_++) {
|
||||
anIntArrayArrayArray135[i_97_][i_98_][i_73_] &= ~i_69_;
|
||||
@@ -702,7 +702,7 @@ public class Class7 {
|
||||
}
|
||||
if ((i_100_ - i_99_ + 1) * (i_102_ - i_101_ + 1) >= 4) {
|
||||
int i_105_ = anIntArrayArrayArray129[i_72_][i_99_][i_101_];
|
||||
Class25.method277(i_71_, i_99_ * 128, i_105_, i_100_ * 128 + 128, i_102_ * 128 + 128, i_105_, i_101_ * 128, 4);
|
||||
SceneGraph.method277(i_71_, i_99_ * 128, i_105_, i_100_ * 128 + 128, i_102_ * 128 + 128, i_105_, i_101_ * 128, 4);
|
||||
for (int i_106_ = i_99_; i_106_ <= i_100_; i_106_++) {
|
||||
for (int i_107_ = i_101_; i_107_ <= i_102_; i_107_++) {
|
||||
anIntArrayArrayArray135[i_72_][i_106_][i_107_] &= ~i_70_;
|
||||
@@ -738,7 +738,7 @@ public class Class7 {
|
||||
}
|
||||
}
|
||||
|
||||
public void method175(int i, Class25 class25, Class11 class11, int i_119_, int i_120_, int i_121_, int i_122_, boolean bool, int i_123_) {
|
||||
public void method175(int i, SceneGraph graph, SceneCollisionMap collisionMap, int i_119_, int i_120_, int i_121_, int i_122_, boolean bool, int i_123_) {
|
||||
if (aBoolean151 && (aByteArrayArrayArray149[0][i_121_][i] & 0x2) == 0 && ((aByteArrayArrayArray149[i_120_][i_121_][i] & 0x10) != 0 || method182(i, i_120_, i_121_, 0) != anInt131)) {
|
||||
return;
|
||||
}
|
||||
@@ -759,25 +759,25 @@ public class Class7 {
|
||||
if (!bool) {
|
||||
if (i_119_ == 22) {
|
||||
if (!aBoolean151 || class46.aBoolean778 || class46.aBoolean736) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(22, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(22, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, i_123_, 22, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, i_123_, 22, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method280(i_120_, i_128_, i, class30_sub2_sub4, i_130_, i_129_, i_121_);
|
||||
if (class46.aBoolean767 && class46.aBoolean778 && class11 != null) {
|
||||
class11.method213(i, i_121_);
|
||||
graph.method280(i_120_, i_128_, i, entity, i_130_, i_129_, i_121_);
|
||||
if (class46.aBoolean767 && class46.aBoolean778 && collisionMap != null) {
|
||||
collisionMap.method213(i, i_121_);
|
||||
}
|
||||
}
|
||||
} else if (i_119_ == 10 || i_119_ == 11) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(10, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(10, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, i_123_, 10, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, i_123_, 10, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
if (class30_sub2_sub4 != null) {
|
||||
if (entity != null) {
|
||||
int i_131_ = 0;
|
||||
if (i_119_ == 11) {
|
||||
i_131_ += 256;
|
||||
@@ -791,17 +791,17 @@ public class Class7 {
|
||||
i_132_ = class46.anInt744;
|
||||
i_133_ = class46.anInt761;
|
||||
}
|
||||
if (class25.method284(i_129_, i_130_, i_128_, i_133_, class30_sub2_sub4, i_132_, i_120_, i_131_, i, i_121_) && class46.aBoolean779) {
|
||||
Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6;
|
||||
if (class30_sub2_sub4 instanceof Class30_Sub2_Sub4_Sub6) {
|
||||
class30_sub2_sub4_sub6 = (Class30_Sub2_Sub4_Sub6) class30_sub2_sub4;
|
||||
if (graph.method284(i_129_, i_130_, i_128_, i_133_, entity, i_132_, i_120_, i_131_, i, i_121_) && class46.aBoolean779) {
|
||||
Model model;
|
||||
if (entity instanceof Model) {
|
||||
model = (Model) entity;
|
||||
} else {
|
||||
class30_sub2_sub4_sub6 = class46.method578(10, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
model = class46.method578(10, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
}
|
||||
if (class30_sub2_sub4_sub6 != null) {
|
||||
if (model != null) {
|
||||
for (int i_134_ = 0; i_134_ <= i_132_; i_134_++) {
|
||||
for (int i_135_ = 0; i_135_ <= i_133_; i_135_++) {
|
||||
int i_136_ = class30_sub2_sub4_sub6.anInt1650 / 4;
|
||||
int i_136_ = model.anInt1650 / 4;
|
||||
if (i_136_ > 30) {
|
||||
i_136_ = 30;
|
||||
}
|
||||
@@ -813,31 +813,31 @@ public class Class7 {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (class46.aBoolean767 && class11 != null) {
|
||||
class11.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_121_, i, i_123_);
|
||||
if (class46.aBoolean767 && collisionMap != null) {
|
||||
collisionMap.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_121_, i, i_123_);
|
||||
}
|
||||
} else if (i_119_ >= 12) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(i_119_, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(i_119_, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, i_123_, i_119_, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, i_123_, i_119_, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method284(i_129_, i_130_, i_128_, 1, class30_sub2_sub4, 1, i_120_, 0, i, i_121_);
|
||||
graph.method284(i_129_, i_130_, i_128_, 1, entity, 1, i_120_, 0, i, i_121_);
|
||||
if (i_119_ >= 12 && i_119_ <= 17 && i_119_ != 13 && i_120_ > 0) {
|
||||
anIntArrayArrayArray135[i_120_][i_121_][i] |= 0x924;
|
||||
}
|
||||
if (class46.aBoolean767 && class11 != null) {
|
||||
class11.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_121_, i, i_123_);
|
||||
if (class46.aBoolean767 && collisionMap != null) {
|
||||
collisionMap.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_121_, i, i_123_);
|
||||
}
|
||||
} else if (i_119_ == 0) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(0, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(0, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, i_123_, 0, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, i_123_, 0, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method282(anIntArray152[i_123_], class30_sub2_sub4, i_129_, i, i_130_, i_121_, null, i_128_, 0, i_120_);
|
||||
graph.method282(anIntArray152[i_123_], entity, i_129_, i, i_130_, i_121_, null, i_128_, 0, i_120_);
|
||||
if (i_123_ == 0) {
|
||||
if (class46.aBoolean779) {
|
||||
aByteArrayArrayArray134[i_120_][i_121_][i] = (byte) 50;
|
||||
@@ -871,20 +871,20 @@ public class Class7 {
|
||||
anIntArrayArrayArray135[i_120_][i_121_][i] |= 0x492;
|
||||
}
|
||||
}
|
||||
if (class46.aBoolean767 && class11 != null) {
|
||||
class11.method211(i, i_123_, i_121_, i_119_, class46.aBoolean757);
|
||||
if (class46.aBoolean767 && collisionMap != null) {
|
||||
collisionMap.method211(i, i_123_, i_121_, i_119_, class46.aBoolean757);
|
||||
}
|
||||
if (class46.anInt775 != 16) {
|
||||
class25.method290(i, class46.anInt775, i_121_, i_120_);
|
||||
graph.method290(i, class46.anInt775, i_121_, i_120_);
|
||||
}
|
||||
} else if (i_119_ == 1) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(1, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(1, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, i_123_, 1, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, i_123_, 1, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method282(anIntArray140[i_123_], class30_sub2_sub4, i_129_, i, i_130_, i_121_, null, i_128_, 0, i_120_);
|
||||
graph.method282(anIntArray140[i_123_], entity, i_129_, i, i_130_, i_121_, null, i_128_, 0, i_120_);
|
||||
if (class46.aBoolean779) {
|
||||
if (i_123_ == 0) {
|
||||
aByteArrayArrayArray134[i_120_][i_121_][i + 1] = (byte) 50;
|
||||
@@ -896,21 +896,21 @@ public class Class7 {
|
||||
aByteArrayArrayArray134[i_120_][i_121_][i] = (byte) 50;
|
||||
}
|
||||
}
|
||||
if (class46.aBoolean767 && class11 != null) {
|
||||
class11.method211(i, i_123_, i_121_, i_119_, class46.aBoolean757);
|
||||
if (class46.aBoolean767 && collisionMap != null) {
|
||||
collisionMap.method211(i, i_123_, i_121_, i_119_, class46.aBoolean757);
|
||||
}
|
||||
} else if (i_119_ == 2) {
|
||||
int i_137_ = i_123_ + 1 & 0x3;
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4_138_;
|
||||
Entity entity;
|
||||
Entity entity_138_;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(2, 4 + i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
class30_sub2_sub4_138_ = class46.method578(2, i_137_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(2, 4 + i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity_138_ = class46.method578(2, i_137_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, 4 + i_123_, 2, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
class30_sub2_sub4_138_ = new Class30_Sub2_Sub4_Sub5(i_122_, i_137_, 2, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, 4 + i_123_, 2, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity_138_ = new LocEntity(i_122_, i_137_, 2, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method282(anIntArray152[i_123_], class30_sub2_sub4, i_129_, i, i_130_, i_121_, class30_sub2_sub4_138_, i_128_, anIntArray152[i_137_], i_120_);
|
||||
graph.method282(anIntArray152[i_123_], entity, i_129_, i, i_130_, i_121_, entity_138_, i_128_, anIntArray152[i_137_], i_120_);
|
||||
if (class46.aBoolean764) {
|
||||
if (i_123_ == 0) {
|
||||
anIntArrayArrayArray135[i_120_][i_121_][i] |= 0x249;
|
||||
@@ -926,20 +926,20 @@ public class Class7 {
|
||||
anIntArrayArrayArray135[i_120_][i_121_][i] |= 0x249;
|
||||
}
|
||||
}
|
||||
if (class46.aBoolean767 && class11 != null) {
|
||||
class11.method211(i, i_123_, i_121_, i_119_, class46.aBoolean757);
|
||||
if (class46.aBoolean767 && collisionMap != null) {
|
||||
collisionMap.method211(i, i_123_, i_121_, i_119_, class46.aBoolean757);
|
||||
}
|
||||
if (class46.anInt775 != 16) {
|
||||
class25.method290(i, class46.anInt775, i_121_, i_120_);
|
||||
graph.method290(i, class46.anInt775, i_121_, i_120_);
|
||||
}
|
||||
} else if (i_119_ == 3) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(3, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(3, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, i_123_, 3, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, i_123_, 3, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method282(anIntArray140[i_123_], class30_sub2_sub4, i_129_, i, i_130_, i_121_, null, i_128_, 0, i_120_);
|
||||
graph.method282(anIntArray140[i_123_], entity, i_129_, i, i_130_, i_121_, null, i_128_, 0, i_120_);
|
||||
if (class46.aBoolean779) {
|
||||
if (i_123_ == 0) {
|
||||
aByteArrayArrayArray134[i_120_][i_121_][i + 1] = (byte) 50;
|
||||
@@ -951,19 +951,19 @@ public class Class7 {
|
||||
aByteArrayArrayArray134[i_120_][i_121_][i] = (byte) 50;
|
||||
}
|
||||
}
|
||||
if (class46.aBoolean767 && class11 != null) {
|
||||
class11.method211(i, i_123_, i_121_, i_119_, class46.aBoolean757);
|
||||
if (class46.aBoolean767 && collisionMap != null) {
|
||||
collisionMap.method211(i, i_123_, i_121_, i_119_, class46.aBoolean757);
|
||||
}
|
||||
} else if (i_119_ == 9) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(i_119_, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(i_119_, i_123_, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, i_123_, i_119_, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, i_123_, i_119_, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method284(i_129_, i_130_, i_128_, 1, class30_sub2_sub4, 1, i_120_, 0, i, i_121_);
|
||||
if (class46.aBoolean767 && class11 != null) {
|
||||
class11.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_121_, i, i_123_);
|
||||
graph.method284(i_129_, i_130_, i_128_, 1, entity, 1, i_120_, 0, i, i_121_);
|
||||
if (class46.aBoolean767 && collisionMap != null) {
|
||||
collisionMap.method212(class46.aBoolean757, class46.anInt744, class46.anInt761, i_121_, i, i_123_);
|
||||
}
|
||||
} else {
|
||||
if (class46.aBoolean762) {
|
||||
@@ -989,50 +989,50 @@ public class Class7 {
|
||||
}
|
||||
}
|
||||
if (i_119_ == 4) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_129_, i, i_123_ * 512, i_120_, 0, i_128_, class30_sub2_sub4, i_121_, i_130_, 0, anIntArray152[i_123_]);
|
||||
graph.method283(i_129_, i, i_123_ * 512, i_120_, 0, i_128_, entity, i_121_, i_130_, 0, anIntArray152[i_123_]);
|
||||
} else if (i_119_ == 5) {
|
||||
int i_142_ = 16;
|
||||
int i_143_ = class25.method300(i_120_, i_121_, i);
|
||||
int i_143_ = graph.method300(i_120_, i_121_, i);
|
||||
if (i_143_ > 0) {
|
||||
i_142_ = Class46.method572(i_143_ >> 14 & 0x7fff).anInt775;
|
||||
}
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_129_, i, i_123_ * 512, i_120_, anIntArray137[i_123_] * i_142_, i_128_, class30_sub2_sub4, i_121_, i_130_, anIntArray144[i_123_] * i_142_, anIntArray152[i_123_]);
|
||||
graph.method283(i_129_, i, i_123_ * 512, i_120_, anIntArray137[i_123_] * i_142_, i_128_, entity, i_121_, i_130_, anIntArray144[i_123_] * i_142_, anIntArray152[i_123_]);
|
||||
} else if (i_119_ == 6) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_129_, i, i_123_, i_120_, 0, i_128_, class30_sub2_sub4, i_121_, i_130_, 0, 256);
|
||||
graph.method283(i_129_, i, i_123_, i_120_, 0, i_128_, entity, i_121_, i_130_, 0, 256);
|
||||
} else if (i_119_ == 7) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_129_, i, i_123_, i_120_, 0, i_128_, class30_sub2_sub4, i_121_, i_130_, 0, 512);
|
||||
graph.method283(i_129_, i, i_123_, i_120_, 0, i_128_, entity, i_121_, i_130_, 0, 512);
|
||||
} else if (i_119_ == 8) {
|
||||
Class30_Sub2_Sub4 class30_sub2_sub4;
|
||||
Entity entity;
|
||||
if (class46.anInt781 == -1 && class46.anIntArray759 == null) {
|
||||
class30_sub2_sub4 = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
entity = class46.method578(4, 0, i_124_, i_125_, i_126_, i_127_, -1);
|
||||
} else {
|
||||
class30_sub2_sub4 = new Class30_Sub2_Sub4_Sub5(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
entity = new LocEntity(i_122_, 0, 4, i_125_, i_126_, i_124_, i_127_, class46.anInt781, true);
|
||||
}
|
||||
class25.method283(i_129_, i, i_123_, i_120_, 0, i_128_, class30_sub2_sub4, i_121_, i_130_, 0, 768);
|
||||
graph.method283(i_129_, i, i_123_, i_120_, 0, i_128_, entity, i_121_, i_130_, 0, 768);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1054,53 +1054,53 @@ public class Class7 {
|
||||
return (i / 4 << 10) + (i_156_ / 32 << 7) + i_157_ / 2;
|
||||
}
|
||||
|
||||
public void method179(int i, int i_162_, Class11[] class11s, int i_164_, int i_165_, byte[] is, int i_166_, int i_167_, int i_168_) {
|
||||
public void method179(int i, int i_162_, SceneCollisionMap[] collisionMaps, int i_164_, int i_165_, byte[] is, int i_166_, int i_167_, int i_168_) {
|
||||
for (int i_169_ = 0; i_169_ < 8; i_169_++) {
|
||||
for (int i_170_ = 0; i_170_ < 8; i_170_++) {
|
||||
if (i_164_ + i_169_ > 0 && i_164_ + i_169_ < 103 && i_168_ + i_170_ > 0 && i_168_ + i_170_ < 103) {
|
||||
class11s[i_167_].anIntArrayArray294[i_164_ + i_169_][(i_168_ + i_170_)] &= ~0x1000000;
|
||||
collisionMaps[i_167_].anIntArrayArray294[i_164_ + i_169_][(i_168_ + i_170_)] &= ~0x1000000;
|
||||
}
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(is);
|
||||
Buffer buffer = new Buffer(is);
|
||||
for (int i_172_ = 0; i_172_ < 4; i_172_++) {
|
||||
for (int i_173_ = 0; i_173_ < 64; i_173_++) {
|
||||
for (int i_174_ = 0; i_174_ < 64; i_174_++) {
|
||||
if (i_172_ == i && i_173_ >= i_165_ && i_173_ < i_165_ + 8 && i_174_ >= i_166_ && i_174_ < i_166_ + 8) {
|
||||
method181(i_168_ + Class4.method156(i_174_ & 0x7, i_162_, i_173_ & 0x7), 0, class30_sub2_sub2, i_164_ + Class4.method155(i_162_, i_174_ & 0x7, i_173_ & 0x7), i_167_, i_162_, 0);
|
||||
method181(i_168_ + ChunkUtil.method156(i_174_ & 0x7, i_162_, i_173_ & 0x7), 0, buffer, i_164_ + ChunkUtil.method155(i_162_, i_174_ & 0x7, i_173_ & 0x7), i_167_, i_162_, 0);
|
||||
} else {
|
||||
method181(-1, 0, class30_sub2_sub2, -1, 0, 0, 0);
|
||||
method181(-1, 0, buffer, -1, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void method180(byte[] is, int i, int i_175_, int i_176_, int i_177_, Class11[] class11s) {
|
||||
public void method180(byte[] is, int i, int i_175_, int i_176_, int i_177_, SceneCollisionMap[] collisionMaps) {
|
||||
for (int i_179_ = 0; i_179_ < 4; i_179_++) {
|
||||
for (int i_180_ = 0; i_180_ < 64; i_180_++) {
|
||||
for (int i_181_ = 0; i_181_ < 64; i_181_++) {
|
||||
if (i_175_ + i_180_ > 0 && i_175_ + i_180_ < 103 && i + i_181_ > 0 && i + i_181_ < 103) {
|
||||
class11s[i_179_].anIntArrayArray294[i_175_ + i_180_][i + i_181_] &= ~0x1000000;
|
||||
collisionMaps[i_179_].anIntArrayArray294[i_175_ + i_180_][i + i_181_] &= ~0x1000000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(is);
|
||||
Buffer buffer = new Buffer(is);
|
||||
for (int i_182_ = 0; i_182_ < 4; i_182_++) {
|
||||
for (int i_183_ = 0; i_183_ < 64; i_183_++) {
|
||||
for (int i_184_ = 0; i_184_ < 64; i_184_++) {
|
||||
method181(i_184_ + i, i_177_, class30_sub2_sub2, i_183_ + i_175_, i_182_, 0, i_176_);
|
||||
method181(i_184_ + i, i_177_, buffer, i_183_ + i_175_, i_182_, 0, i_176_);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void method181(int i, int i_185_, Class30_Sub2_Sub2 class30_sub2_sub2, int i_186_, int i_187_, int i_188_, int i_190_) {
|
||||
public void method181(int i, int i_185_, Buffer buffer, int i_186_, int i_187_, int i_188_, int i_190_) {
|
||||
if (i_186_ >= 0 && i_186_ < 104 && i >= 0 && i < 104) {
|
||||
aByteArrayArrayArray149[i_187_][i_186_][i] = (byte) 0;
|
||||
for (; ; ) {
|
||||
int i_191_ = class30_sub2_sub2.method408();
|
||||
int i_191_ = buffer.method408();
|
||||
if (i_191_ == 0) {
|
||||
if (i_187_ == 0) {
|
||||
anIntArrayArrayArray129[0][i_186_][i] = -method172(932731 + i_186_ + i_190_, 556238 + i + i_185_) * 8;
|
||||
@@ -1111,7 +1111,7 @@ public class Class7 {
|
||||
break;
|
||||
}
|
||||
if (i_191_ == 1) {
|
||||
int i_192_ = class30_sub2_sub2.method408();
|
||||
int i_192_ = buffer.method408();
|
||||
if (i_192_ == 1) {
|
||||
i_192_ = 0;
|
||||
}
|
||||
@@ -1124,7 +1124,7 @@ public class Class7 {
|
||||
break;
|
||||
}
|
||||
if (i_191_ <= 49) {
|
||||
aByteArrayArrayArray130[i_187_][i_186_][i] = class30_sub2_sub2.method409();
|
||||
aByteArrayArrayArray130[i_187_][i_186_][i] = buffer.method409();
|
||||
aByteArrayArrayArray136[i_187_][i_186_][i] = (byte) ((i_191_ - 2) / 4);
|
||||
aByteArrayArrayArray148[i_187_][i_186_][i] = (byte) (i_191_ - 2 + i_188_ & 0x3);
|
||||
} else if (i_191_ <= 81) {
|
||||
@@ -1135,16 +1135,16 @@ public class Class7 {
|
||||
}
|
||||
} else {
|
||||
for (; ; ) {
|
||||
int i_193_ = class30_sub2_sub2.method408();
|
||||
int i_193_ = buffer.method408();
|
||||
if (i_193_ == 0) {
|
||||
break;
|
||||
}
|
||||
if (i_193_ == 1) {
|
||||
class30_sub2_sub2.method408();
|
||||
buffer.method408();
|
||||
break;
|
||||
}
|
||||
if (i_193_ <= 49) {
|
||||
class30_sub2_sub2.method408();
|
||||
buffer.method408();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1163,18 +1163,18 @@ public class Class7 {
|
||||
return i_194_;
|
||||
}
|
||||
|
||||
public void method183(Class11[] class11s, Class25 class25, int i, int i_197_, int i_198_, int i_199_, byte[] is, int i_200_, int i_201_, int i_202_) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(is);
|
||||
public void method183(SceneCollisionMap[] collisionMaps, SceneGraph graph, int i, int i_197_, int i_198_, int i_199_, byte[] is, int i_200_, int i_201_, int i_202_) {
|
||||
Buffer buffer = new Buffer(is);
|
||||
int i_203_ = -1;
|
||||
for (; ; ) {
|
||||
int i_204_ = class30_sub2_sub2.method422();
|
||||
int i_204_ = buffer.method422();
|
||||
if (i_204_ == 0) {
|
||||
break;
|
||||
}
|
||||
i_203_ += i_204_;
|
||||
int i_205_ = 0;
|
||||
for (; ; ) {
|
||||
int i_206_ = class30_sub2_sub2.method422();
|
||||
int i_206_ = buffer.method422();
|
||||
if (i_206_ == 0) {
|
||||
break;
|
||||
}
|
||||
@@ -1182,23 +1182,23 @@ public class Class7 {
|
||||
int i_207_ = i_205_ & 0x3f;
|
||||
int i_208_ = i_205_ >> 6 & 0x3f;
|
||||
int i_209_ = i_205_ >> 12;
|
||||
int i_210_ = class30_sub2_sub2.method408();
|
||||
int i_210_ = buffer.method408();
|
||||
int i_211_ = i_210_ >> 2;
|
||||
int i_212_ = i_210_ & 0x3;
|
||||
if (i_209_ == i && i_208_ >= i_200_ && i_208_ < i_200_ + 8 && i_207_ >= i_198_ && i_207_ < i_198_ + 8) {
|
||||
Class46 class46 = Class46.method572(i_203_);
|
||||
int i_213_ = i_197_ + Class4.method157(i_201_, class46.anInt761, i_208_ & 0x7, i_207_ & 0x7, class46.anInt744);
|
||||
int i_214_ = i_202_ + Class4.method158(i_207_ & 0x7, class46.anInt761, i_201_, class46.anInt744, i_208_ & 0x7);
|
||||
int i_213_ = i_197_ + ChunkUtil.method157(i_201_, class46.anInt761, i_208_ & 0x7, i_207_ & 0x7, class46.anInt744);
|
||||
int i_214_ = i_202_ + ChunkUtil.method158(i_207_ & 0x7, class46.anInt761, i_201_, class46.anInt744, i_208_ & 0x7);
|
||||
if (i_213_ > 0 && i_214_ > 0 && i_213_ < 103 && i_214_ < 103) {
|
||||
int i_215_ = i_209_;
|
||||
if ((aByteArrayArrayArray149[1][i_213_][i_214_] & 0x2) == 2) {
|
||||
i_215_--;
|
||||
}
|
||||
Class11 class11 = null;
|
||||
SceneCollisionMap collisionMap = null;
|
||||
if (i_215_ >= 0) {
|
||||
class11 = class11s[i_215_];
|
||||
collisionMap = collisionMaps[i_215_];
|
||||
}
|
||||
method175(i_214_, class25, class11, i_211_, i_199_, i_213_, i_203_, false, i_212_ + i_201_ & 0x3);
|
||||
method175(i_214_, graph, collisionMap, i_211_, i_199_, i_213_, i_203_, false, i_212_ + i_201_ & 0x3);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1227,18 +1227,18 @@ public class Class7 {
|
||||
return (i & 0xff80) + i_220_;
|
||||
}
|
||||
|
||||
public void method190(int i, Class11[] class11s, int i_263_, Class25 class25, byte[] is) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(is);
|
||||
public void method190(int i, SceneCollisionMap[] collisionMaps, int i_263_, SceneGraph graph, byte[] is) {
|
||||
Buffer buffer = new Buffer(is);
|
||||
int i_265_ = -1;
|
||||
for (; ; ) {
|
||||
int i_266_ = class30_sub2_sub2.method422();
|
||||
int i_266_ = buffer.method422();
|
||||
if (i_266_ == 0) {
|
||||
break;
|
||||
}
|
||||
i_265_ += i_266_;
|
||||
int i_267_ = 0;
|
||||
for (; ; ) {
|
||||
int i_268_ = class30_sub2_sub2.method422();
|
||||
int i_268_ = buffer.method422();
|
||||
if (i_268_ == 0) {
|
||||
break;
|
||||
}
|
||||
@@ -1246,7 +1246,7 @@ public class Class7 {
|
||||
int i_269_ = i_267_ & 0x3f;
|
||||
int i_270_ = i_267_ >> 6 & 0x3f;
|
||||
int i_271_ = i_267_ >> 12;
|
||||
int i_272_ = class30_sub2_sub2.method408();
|
||||
int i_272_ = buffer.method408();
|
||||
int i_273_ = i_272_ >> 2;
|
||||
int i_274_ = i_272_ & 0x3;
|
||||
int i_275_ = i_270_ + i;
|
||||
@@ -1256,11 +1256,11 @@ public class Class7 {
|
||||
if ((aByteArrayArrayArray149[1][i_275_][i_276_] & 0x2) == 2) {
|
||||
i_277_--;
|
||||
}
|
||||
Class11 class11 = null;
|
||||
SceneCollisionMap collisionMap = null;
|
||||
if (i_277_ >= 0) {
|
||||
class11 = class11s[i_277_];
|
||||
collisionMap = collisionMaps[i_277_];
|
||||
}
|
||||
method175(i_276_, class25, class11, i_273_, i_271_, i_275_, i_265_, false, i_274_);
|
||||
method175(i_276_, graph, collisionMap, i_273_, i_271_, i_275_, i_265_, false, i_274_);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class11 {
|
||||
public class SceneCollisionMap {
|
||||
|
||||
public final int anInt290 = 0;
|
||||
public final int anInt291 = 0;
|
||||
@@ -10,7 +10,7 @@ public class Class11 {
|
||||
public final int anInt293;
|
||||
public final int[][] anIntArrayArray294;
|
||||
|
||||
public Class11(int i, int j) {
|
||||
public SceneCollisionMap(int i, int j) {
|
||||
anInt292 = i;
|
||||
anInt293 = j;
|
||||
anIntArrayArray294 = new int[anInt292][anInt293];
|
||||
File diff suppressed because it is too large.
Load diff
@@ -2,13 +2,13 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class28 {
|
||||
public class SceneLoc {
|
||||
|
||||
public int anInt517;
|
||||
public int anInt518;
|
||||
public int anInt519;
|
||||
public int anInt520;
|
||||
public Class30_Sub2_Sub4 aClass30_Sub2_Sub4_521;
|
||||
public Entity aEntity_521;
|
||||
public int anInt522;
|
||||
public int anInt523;
|
||||
public int anInt524;
|
||||
@@ -19,7 +19,7 @@ public class Class28 {
|
||||
public int anInt529;
|
||||
public byte aByte530;
|
||||
|
||||
public Class28() {
|
||||
public SceneLoc() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,18 +2,18 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class3 {
|
||||
public class SceneObjStack {
|
||||
|
||||
public int anInt45;
|
||||
public int anInt46;
|
||||
public int anInt47;
|
||||
public Class30_Sub2_Sub4 aClass30_Sub2_Sub4_48;
|
||||
public Class30_Sub2_Sub4 aClass30_Sub2_Sub4_49;
|
||||
public Class30_Sub2_Sub4 aClass30_Sub2_Sub4_50;
|
||||
public Entity aEntity_48;
|
||||
public Entity aEntity_49;
|
||||
public Entity aEntity_50;
|
||||
public int anInt51;
|
||||
public int anInt52;
|
||||
|
||||
public Class3() {
|
||||
public SceneObjStack() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,19 +2,19 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class10 {
|
||||
public class SceneWall {
|
||||
|
||||
public int anInt273;
|
||||
public int anInt274;
|
||||
public int anInt275;
|
||||
public int anInt276;
|
||||
public int anInt277;
|
||||
public Class30_Sub2_Sub4 aClass30_Sub2_Sub4_278;
|
||||
public Class30_Sub2_Sub4 aClass30_Sub2_Sub4_279;
|
||||
public Entity aEntity_278;
|
||||
public Entity aEntity_279;
|
||||
public int anInt280;
|
||||
public byte aByte281;
|
||||
|
||||
public Class10() {
|
||||
public SceneWall() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,18 +2,18 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class26 {
|
||||
public class SceneWallDecoration {
|
||||
|
||||
public int anInt499;
|
||||
public int anInt500;
|
||||
public int anInt501;
|
||||
public int anInt502;
|
||||
public int anInt503;
|
||||
public Class30_Sub2_Sub4 aClass30_Sub2_Sub4_504;
|
||||
public Entity aEntity_504;
|
||||
public int anInt505;
|
||||
public byte aByte506;
|
||||
|
||||
public Class26() {
|
||||
public SceneWallDecoration() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,24 +2,24 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class18 {
|
||||
public class SeqSkeleton {
|
||||
|
||||
public final int anInt341;
|
||||
public final int[] anIntArray342;
|
||||
public final int[][] anIntArrayArray343;
|
||||
|
||||
public Class18(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
anInt341 = class30_sub2_sub2.method408();
|
||||
public SeqSkeleton(Buffer buffer) {
|
||||
anInt341 = buffer.method408();
|
||||
anIntArray342 = new int[anInt341];
|
||||
anIntArrayArray343 = new int[anInt341][];
|
||||
for (int j = 0; j < anInt341; j++) {
|
||||
anIntArray342[j] = class30_sub2_sub2.method408();
|
||||
anIntArray342[j] = buffer.method408();
|
||||
}
|
||||
for (int k = 0; k < anInt341; k++) {
|
||||
int l = class30_sub2_sub2.method408();
|
||||
int l = buffer.method408();
|
||||
anIntArrayArray343[k] = new int[l];
|
||||
for (int i1 = 0; i1 < l; i1++) {
|
||||
anIntArrayArray343[k][i1] = class30_sub2_sub2.method408();
|
||||
anIntArrayArray343[k][i1] = buffer.method408();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,10 +2,10 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class20 {
|
||||
public class SeqType {
|
||||
|
||||
public static int anInt350;
|
||||
public static Class20[] aClass20Array351;
|
||||
public static SeqType[] aTypeArray351;
|
||||
public int anInt352;
|
||||
public int[] anIntArray353;
|
||||
public int[] anIntArray354;
|
||||
@@ -22,20 +22,20 @@ public class Class20 {
|
||||
public int anInt365 = 2;
|
||||
public int unusedInt;
|
||||
|
||||
public Class20() {
|
||||
public SeqType() {
|
||||
}
|
||||
|
||||
public static void method257(Class44 class44) {
|
||||
Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(class44.method571("seq.dat", null));
|
||||
anInt350 = class30_sub2_sub2.method410();
|
||||
if (aClass20Array351 == null) {
|
||||
aClass20Array351 = new Class20[anInt350];
|
||||
Buffer buffer = new Buffer(class44.method571("seq.dat", null));
|
||||
anInt350 = buffer.method410();
|
||||
if (aTypeArray351 == null) {
|
||||
aTypeArray351 = new SeqType[anInt350];
|
||||
}
|
||||
for (int j = 0; j < anInt350; j++) {
|
||||
if (aClass20Array351[j] == null) {
|
||||
aClass20Array351[j] = new Class20();
|
||||
if (aTypeArray351[j] == null) {
|
||||
aTypeArray351[j] = new SeqType();
|
||||
}
|
||||
aClass20Array351[j].method259(class30_sub2_sub2);
|
||||
aTypeArray351[j].method259(buffer);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,52 +53,52 @@ public class Class20 {
|
||||
return j;
|
||||
}
|
||||
|
||||
public void method259(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
public void method259(Buffer buffer) {
|
||||
do {
|
||||
int i = class30_sub2_sub2.method408();
|
||||
int i = buffer.method408();
|
||||
if (i == 0) {
|
||||
break;
|
||||
}
|
||||
if (i == 1) {
|
||||
anInt352 = class30_sub2_sub2.method408();
|
||||
anInt352 = buffer.method408();
|
||||
anIntArray353 = new int[anInt352];
|
||||
anIntArray354 = new int[anInt352];
|
||||
anIntArray355 = new int[anInt352];
|
||||
for (int j = 0; j < anInt352; j++) {
|
||||
anIntArray353[j] = class30_sub2_sub2.method410();
|
||||
anIntArray354[j] = class30_sub2_sub2.method410();
|
||||
anIntArray353[j] = buffer.method410();
|
||||
anIntArray354[j] = buffer.method410();
|
||||
if (anIntArray354[j] == 65535) {
|
||||
anIntArray354[j] = -1;
|
||||
}
|
||||
anIntArray355[j] = class30_sub2_sub2.method410();
|
||||
anIntArray355[j] = buffer.method410();
|
||||
}
|
||||
} else if (i == 2) {
|
||||
anInt356 = class30_sub2_sub2.method410();
|
||||
anInt356 = buffer.method410();
|
||||
} else if (i == 3) {
|
||||
int k = class30_sub2_sub2.method408();
|
||||
int k = buffer.method408();
|
||||
anIntArray357 = new int[k + 1];
|
||||
for (int l = 0; l < k; l++) {
|
||||
anIntArray357[l] = class30_sub2_sub2.method408();
|
||||
anIntArray357[l] = buffer.method408();
|
||||
}
|
||||
anIntArray357[k] = 0x98967f;
|
||||
} else if (i == 4) {
|
||||
aBoolean358 = true;
|
||||
} else if (i == 5) {
|
||||
anInt359 = class30_sub2_sub2.method408();
|
||||
anInt359 = buffer.method408();
|
||||
} else if (i == 6) {
|
||||
anInt360 = class30_sub2_sub2.method410();
|
||||
anInt360 = buffer.method410();
|
||||
} else if (i == 7) {
|
||||
anInt361 = class30_sub2_sub2.method410();
|
||||
anInt361 = buffer.method410();
|
||||
} else if (i == 8) {
|
||||
anInt362 = class30_sub2_sub2.method408();
|
||||
anInt362 = buffer.method408();
|
||||
} else if (i == 9) {
|
||||
anInt363 = class30_sub2_sub2.method408();
|
||||
anInt363 = buffer.method408();
|
||||
} else if (i == 10) {
|
||||
anInt364 = class30_sub2_sub2.method408();
|
||||
anInt364 = buffer.method408();
|
||||
} else if (i == 11) {
|
||||
anInt365 = class30_sub2_sub2.method408();
|
||||
anInt365 = buffer.method408();
|
||||
} else if (i == 12) {
|
||||
unusedInt = class30_sub2_sub2.method413();
|
||||
unusedInt = buffer.method413();
|
||||
} else {
|
||||
System.out.println("Error unrecognised seq config code: " + i);
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class29 {
|
||||
public class SoundEnvelope {
|
||||
|
||||
public int anInt535;
|
||||
public int[] anIntArray536;
|
||||
@@ -16,23 +16,23 @@ public class Class29 {
|
||||
public int anInt544;
|
||||
public int anInt545;
|
||||
|
||||
public Class29() {
|
||||
public SoundEnvelope() {
|
||||
}
|
||||
|
||||
public void method325(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
anInt540 = class30_sub2_sub2.method408();
|
||||
anInt538 = class30_sub2_sub2.method413();
|
||||
anInt539 = class30_sub2_sub2.method413();
|
||||
method326(class30_sub2_sub2);
|
||||
public void method325(Buffer buffer) {
|
||||
anInt540 = buffer.method408();
|
||||
anInt538 = buffer.method413();
|
||||
anInt539 = buffer.method413();
|
||||
method326(buffer);
|
||||
}
|
||||
|
||||
public void method326(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
anInt535 = class30_sub2_sub2.method408();
|
||||
public void method326(Buffer buffer) {
|
||||
anInt535 = buffer.method408();
|
||||
anIntArray536 = new int[anInt535];
|
||||
anIntArray537 = new int[anInt535];
|
||||
for (int i = 0; i < anInt535; i++) {
|
||||
anIntArray536[i] = class30_sub2_sub2.method410();
|
||||
anIntArray537[i] = class30_sub2_sub2.method410();
|
||||
anIntArray536[i] = buffer.method410();
|
||||
anIntArray537[i] = buffer.method410();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class Class6 {
|
||||
public class SoundTone {
|
||||
|
||||
public static int[] anIntArray115;
|
||||
public static int[] anIntArray116;
|
||||
@@ -12,25 +12,25 @@ public class Class6 {
|
||||
public static final int[] anIntArray120 = new int[5];
|
||||
public static final int[] anIntArray121 = new int[5];
|
||||
public static final int[] anIntArray122 = new int[5];
|
||||
public Class29 aClass29_98;
|
||||
public Class29 aClass29_99;
|
||||
public Class29 aClass29_100;
|
||||
public Class29 aClass29_101;
|
||||
public Class29 aClass29_102;
|
||||
public Class29 aClass29_103;
|
||||
public Class29 aClass29_104;
|
||||
public Class29 aClass29_105;
|
||||
public SoundEnvelope aEnvelope_98;
|
||||
public SoundEnvelope aEnvelope_99;
|
||||
public SoundEnvelope aEnvelope_100;
|
||||
public SoundEnvelope aEnvelope_101;
|
||||
public SoundEnvelope aEnvelope_102;
|
||||
public SoundEnvelope aEnvelope_103;
|
||||
public SoundEnvelope aEnvelope_104;
|
||||
public SoundEnvelope aEnvelope_105;
|
||||
public final int[] anIntArray106 = new int[5];
|
||||
public final int[] anIntArray107 = new int[5];
|
||||
public final int[] anIntArray108 = new int[5];
|
||||
public int anInt109;
|
||||
public int anInt110 = 100;
|
||||
public Class39 aClass39_111;
|
||||
public Class29 aClass29_112;
|
||||
public SoundEnvelope aEnvelope_112;
|
||||
public int anInt113 = 500;
|
||||
public int anInt114;
|
||||
|
||||
public Class6() {
|
||||
public SoundTone() {
|
||||
}
|
||||
|
||||
public static void method166() {
|
||||
@@ -57,73 +57,73 @@ public class Class6 {
|
||||
return anIntArray115;
|
||||
}
|
||||
double d = (double) i / ((double) j + 0.0D);
|
||||
aClass29_98.method327();
|
||||
aClass29_99.method327();
|
||||
aEnvelope_98.method327();
|
||||
aEnvelope_99.method327();
|
||||
int l = 0;
|
||||
int i1 = 0;
|
||||
int j1 = 0;
|
||||
if (aClass29_100 != null) {
|
||||
aClass29_100.method327();
|
||||
aClass29_101.method327();
|
||||
l = (int) (((double) (aClass29_100.anInt539 - aClass29_100.anInt538) * 32.768000000000001D) / d);
|
||||
i1 = (int) (((double) aClass29_100.anInt538 * 32.768000000000001D) / d);
|
||||
if (aEnvelope_100 != null) {
|
||||
aEnvelope_100.method327();
|
||||
aEnvelope_101.method327();
|
||||
l = (int) (((double) (aEnvelope_100.anInt539 - aEnvelope_100.anInt538) * 32.768000000000001D) / d);
|
||||
i1 = (int) (((double) aEnvelope_100.anInt538 * 32.768000000000001D) / d);
|
||||
}
|
||||
int k1 = 0;
|
||||
int l1 = 0;
|
||||
int i2 = 0;
|
||||
if (aClass29_102 != null) {
|
||||
aClass29_102.method327();
|
||||
aClass29_103.method327();
|
||||
k1 = (int) (((double) (aClass29_102.anInt539 - aClass29_102.anInt538) * 32.768000000000001D) / d);
|
||||
l1 = (int) (((double) aClass29_102.anInt538 * 32.768000000000001D) / d);
|
||||
if (aEnvelope_102 != null) {
|
||||
aEnvelope_102.method327();
|
||||
aEnvelope_103.method327();
|
||||
k1 = (int) (((double) (aEnvelope_102.anInt539 - aEnvelope_102.anInt538) * 32.768000000000001D) / d);
|
||||
l1 = (int) (((double) aEnvelope_102.anInt538 * 32.768000000000001D) / d);
|
||||
}
|
||||
for (int j2 = 0; j2 < 5; j2++) {
|
||||
if (anIntArray106[j2] != 0) {
|
||||
anIntArray118[j2] = 0;
|
||||
anIntArray119[j2] = (int) ((double) anIntArray108[j2] * d);
|
||||
anIntArray120[j2] = (anIntArray106[j2] << 14) / 100;
|
||||
anIntArray121[j2] = (int) (((double) (aClass29_98.anInt539 - aClass29_98.anInt538) * 32.768000000000001D * Math.pow(1.0057929410678534D, anIntArray107[j2])) / d);
|
||||
anIntArray122[j2] = (int) (((double) aClass29_98.anInt538 * 32.768000000000001D) / d);
|
||||
anIntArray121[j2] = (int) (((double) (aEnvelope_98.anInt539 - aEnvelope_98.anInt538) * 32.768000000000001D * Math.pow(1.0057929410678534D, anIntArray107[j2])) / d);
|
||||
anIntArray122[j2] = (int) (((double) aEnvelope_98.anInt538 * 32.768000000000001D) / d);
|
||||
}
|
||||
}
|
||||
for (int k2 = 0; k2 < i; k2++) {
|
||||
int l2 = aClass29_98.method328(i);
|
||||
int j4 = aClass29_99.method328(i);
|
||||
if (aClass29_100 != null) {
|
||||
int j5 = aClass29_100.method328(i);
|
||||
int j6 = aClass29_101.method328(i);
|
||||
l2 += method168(j6, j1, aClass29_100.anInt540) >> 1;
|
||||
int l2 = aEnvelope_98.method328(i);
|
||||
int j4 = aEnvelope_99.method328(i);
|
||||
if (aEnvelope_100 != null) {
|
||||
int j5 = aEnvelope_100.method328(i);
|
||||
int j6 = aEnvelope_101.method328(i);
|
||||
l2 += method168(j6, j1, aEnvelope_100.anInt540) >> 1;
|
||||
j1 += (j5 * l >> 16) + i1;
|
||||
}
|
||||
if (aClass29_102 != null) {
|
||||
int k5 = aClass29_102.method328(i);
|
||||
int k6 = aClass29_103.method328(i);
|
||||
j4 = j4 * ((method168(k6, i2, aClass29_102.anInt540) >> 1) + 32768) >> 15;
|
||||
if (aEnvelope_102 != null) {
|
||||
int k5 = aEnvelope_102.method328(i);
|
||||
int k6 = aEnvelope_103.method328(i);
|
||||
j4 = j4 * ((method168(k6, i2, aEnvelope_102.anInt540) >> 1) + 32768) >> 15;
|
||||
i2 += (k5 * k1 >> 16) + l1;
|
||||
}
|
||||
for (int l5 = 0; l5 < 5; l5++) {
|
||||
if (anIntArray106[l5] != 0) {
|
||||
int l6 = k2 + anIntArray119[l5];
|
||||
if (l6 < i) {
|
||||
anIntArray115[l6] += method168(j4 * anIntArray120[l5] >> 15, anIntArray118[l5], aClass29_98.anInt540);
|
||||
anIntArray115[l6] += method168(j4 * anIntArray120[l5] >> 15, anIntArray118[l5], aEnvelope_98.anInt540);
|
||||
anIntArray118[l5] += (l2 * anIntArray121[l5] >> 16) + anIntArray122[l5];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (aClass29_104 != null) {
|
||||
aClass29_104.method327();
|
||||
aClass29_105.method327();
|
||||
if (aEnvelope_104 != null) {
|
||||
aEnvelope_104.method327();
|
||||
aEnvelope_105.method327();
|
||||
int i3 = 0;
|
||||
boolean flag1 = true;
|
||||
for (int i7 = 0; i7 < i; i7++) {
|
||||
int k7 = aClass29_104.method328(i);
|
||||
int i8 = aClass29_105.method328(i);
|
||||
int k7 = aEnvelope_104.method328(i);
|
||||
int i8 = aEnvelope_105.method328(i);
|
||||
int k4;
|
||||
if (flag1) {
|
||||
k4 = aClass29_104.anInt538 + ((aClass29_104.anInt539 - aClass29_104.anInt538) * k7 >> 8);
|
||||
k4 = aEnvelope_104.anInt538 + ((aEnvelope_104.anInt539 - aEnvelope_104.anInt538) * k7 >> 8);
|
||||
} else {
|
||||
k4 = aClass29_104.anInt538 + ((aClass29_104.anInt539 - aClass29_104.anInt538) * i8 >> 8);
|
||||
k4 = aEnvelope_104.anInt538 + ((aEnvelope_104.anInt539 - aEnvelope_104.anInt538) * i8 >> 8);
|
||||
}
|
||||
if ((i3 += 256) >= k4) {
|
||||
i3 = 0;
|
||||
@@ -141,8 +141,8 @@ public class Class6 {
|
||||
}
|
||||
}
|
||||
if (aClass39_111.anIntArray665[0] > 0 || aClass39_111.anIntArray665[1] > 0) {
|
||||
aClass29_112.method327();
|
||||
int k3 = aClass29_112.method328(i + 1);
|
||||
aEnvelope_112.method327();
|
||||
int k3 = aEnvelope_112.method328(i + 1);
|
||||
int i5 = aClass39_111.method544(0, (float) k3 / 65536F);
|
||||
int i6 = aClass39_111.method544(1, (float) k3 / 65536F);
|
||||
if (i >= i5 + i6) {
|
||||
@@ -160,7 +160,7 @@ public class Class6 {
|
||||
j8 -= (int) ((long) anIntArray115[j7 - 1 - j9] * (long) Class39.anIntArrayArray670[1][j9] >> 16);
|
||||
}
|
||||
anIntArray115[j7] = j8;
|
||||
k3 = aClass29_112.method328(i + 1);
|
||||
k3 = aEnvelope_112.method328(i + 1);
|
||||
}
|
||||
char c = '\200';
|
||||
l7 = c;
|
||||
@@ -177,7 +177,7 @@ public class Class6 {
|
||||
l8 -= (int) ((long) anIntArray115[j7 - 1 - i10] * (long) Class39.anIntArrayArray670[1][i10] >> 16);
|
||||
}
|
||||
anIntArray115[j7] = l8;
|
||||
k3 = aClass29_112.method328(i + 1);
|
||||
k3 = aEnvelope_112.method328(i + 1);
|
||||
}
|
||||
if (j7 >= i - i5) {
|
||||
break;
|
||||
@@ -195,7 +195,7 @@ public class Class6 {
|
||||
i9 -= (int) ((long) anIntArray115[j7 - 1 - j10] * (long) Class39.anIntArrayArray670[1][j10] >> 16);
|
||||
}
|
||||
anIntArray115[j7] = i9;
|
||||
aClass29_112.method328(i + 1);
|
||||
aEnvelope_112.method328(i + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -231,51 +231,51 @@ public class Class6 {
|
||||
}
|
||||
}
|
||||
|
||||
public void method169(Class30_Sub2_Sub2 class30_sub2_sub2) {
|
||||
aClass29_98 = new Class29();
|
||||
aClass29_98.method325(class30_sub2_sub2);
|
||||
aClass29_99 = new Class29();
|
||||
aClass29_99.method325(class30_sub2_sub2);
|
||||
int i = class30_sub2_sub2.method408();
|
||||
public void method169(Buffer buffer) {
|
||||
aEnvelope_98 = new SoundEnvelope();
|
||||
aEnvelope_98.method325(buffer);
|
||||
aEnvelope_99 = new SoundEnvelope();
|
||||
aEnvelope_99.method325(buffer);
|
||||
int i = buffer.method408();
|
||||
if (i != 0) {
|
||||
class30_sub2_sub2.anInt1406--;
|
||||
aClass29_100 = new Class29();
|
||||
aClass29_100.method325(class30_sub2_sub2);
|
||||
aClass29_101 = new Class29();
|
||||
aClass29_101.method325(class30_sub2_sub2);
|
||||
buffer.anInt1406--;
|
||||
aEnvelope_100 = new SoundEnvelope();
|
||||
aEnvelope_100.method325(buffer);
|
||||
aEnvelope_101 = new SoundEnvelope();
|
||||
aEnvelope_101.method325(buffer);
|
||||
}
|
||||
i = class30_sub2_sub2.method408();
|
||||
i = buffer.method408();
|
||||
if (i != 0) {
|
||||
class30_sub2_sub2.anInt1406--;
|
||||
aClass29_102 = new Class29();
|
||||
aClass29_102.method325(class30_sub2_sub2);
|
||||
aClass29_103 = new Class29();
|
||||
aClass29_103.method325(class30_sub2_sub2);
|
||||
buffer.anInt1406--;
|
||||
aEnvelope_102 = new SoundEnvelope();
|
||||
aEnvelope_102.method325(buffer);
|
||||
aEnvelope_103 = new SoundEnvelope();
|
||||
aEnvelope_103.method325(buffer);
|
||||
}
|
||||
i = class30_sub2_sub2.method408();
|
||||
i = buffer.method408();
|
||||
if (i != 0) {
|
||||
class30_sub2_sub2.anInt1406--;
|
||||
aClass29_104 = new Class29();
|
||||
aClass29_104.method325(class30_sub2_sub2);
|
||||
aClass29_105 = new Class29();
|
||||
aClass29_105.method325(class30_sub2_sub2);
|
||||
buffer.anInt1406--;
|
||||
aEnvelope_104 = new SoundEnvelope();
|
||||
aEnvelope_104.method325(buffer);
|
||||
aEnvelope_105 = new SoundEnvelope();
|
||||
aEnvelope_105.method325(buffer);
|
||||
}
|
||||
for (int j = 0; j < 10; j++) {
|
||||
int k = class30_sub2_sub2.method422();
|
||||
int k = buffer.method422();
|
||||
if (k == 0) {
|
||||
break;
|
||||
}
|
||||
anIntArray106[j] = k;
|
||||
anIntArray107[j] = class30_sub2_sub2.method421();
|
||||
anIntArray108[j] = class30_sub2_sub2.method422();
|
||||
anIntArray107[j] = buffer.method421();
|
||||
anIntArray108[j] = buffer.method422();
|
||||
}
|
||||
anInt109 = class30_sub2_sub2.method422();
|
||||
anInt110 = class30_sub2_sub2.method422();
|
||||
anInt113 = class30_sub2_sub2.method410();
|
||||
anInt114 = class30_sub2_sub2.method410();
|
||||
anInt109 = buffer.method422();
|
||||
anInt110 = buffer.method422();
|
||||
anInt113 = buffer.method410();
|
||||
anInt114 = buffer.method410();
|
||||
aClass39_111 = new Class39();
|
||||
aClass29_112 = new Class29();
|
||||
aClass39_111.method545(class30_sub2_sub2, aClass29_112);
|
||||
aEnvelope_112 = new SoundEnvelope();
|
||||
aClass39_111.method545(buffer, aEnvelope_112);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class SoundTrack {
|
||||
|
||||
public static final SoundTrack[] A_TRACK_ARRAY_325 = new SoundTrack[5000];
|
||||
public static final int[] anIntArray326 = new int[5000];
|
||||
public static byte[] aByteArray327;
|
||||
public static Buffer aBuffer_328;
|
||||
public final SoundTone[] aToneArray329 = new SoundTone[10];
|
||||
public int anInt330;
|
||||
public int anInt331;
|
||||
|
||||
public SoundTrack() {
|
||||
}
|
||||
|
||||
public static void method240(Buffer buffer) {
|
||||
aByteArray327 = new byte[0x6baa8];
|
||||
aBuffer_328 = new Buffer(aByteArray327);
|
||||
SoundTone.method166();
|
||||
do {
|
||||
int j = buffer.method410();
|
||||
if (j == 65535) {
|
||||
return;
|
||||
}
|
||||
A_TRACK_ARRAY_325[j] = new SoundTrack();
|
||||
A_TRACK_ARRAY_325[j].method242(buffer);
|
||||
anIntArray326[j] = A_TRACK_ARRAY_325[j].method243();
|
||||
} while (true);
|
||||
}
|
||||
|
||||
public static Buffer method241(int i, int j) {
|
||||
if (A_TRACK_ARRAY_325[j] != null) {
|
||||
SoundTrack track = A_TRACK_ARRAY_325[j];
|
||||
return track.method244(i);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public void method242(Buffer buffer) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
int j = buffer.method408();
|
||||
if (j != 0) {
|
||||
buffer.anInt1406--;
|
||||
aToneArray329[i] = new SoundTone();
|
||||
aToneArray329[i].method169(buffer);
|
||||
}
|
||||
}
|
||||
anInt330 = buffer.method410();
|
||||
anInt331 = buffer.method410();
|
||||
}
|
||||
|
||||
public int method243() {
|
||||
int j = 0x98967f;
|
||||
for (int k = 0; k < 10; k++) {
|
||||
if (aToneArray329[k] != null && aToneArray329[k].anInt114 / 20 < j) {
|
||||
j = aToneArray329[k].anInt114 / 20;
|
||||
}
|
||||
}
|
||||
if (anInt330 < anInt331 && anInt330 / 20 < j) {
|
||||
j = anInt330 / 20;
|
||||
}
|
||||
if (j == 0x98967f || j == 0) {
|
||||
return 0;
|
||||
}
|
||||
for (int l = 0; l < 10; l++) {
|
||||
if (aToneArray329[l] != null) {
|
||||
aToneArray329[l].anInt114 -= j * 20;
|
||||
}
|
||||
}
|
||||
if (anInt330 < anInt331) {
|
||||
anInt330 -= j * 20;
|
||||
anInt331 -= j * 20;
|
||||
}
|
||||
return j;
|
||||
}
|
||||
|
||||
public Buffer method244(int i) {
|
||||
int k = method245(i);
|
||||
aBuffer_328.anInt1406 = 0;
|
||||
aBuffer_328.method402(0x52494646);
|
||||
aBuffer_328.method403(36 + k);
|
||||
aBuffer_328.method402(0x57415645);
|
||||
aBuffer_328.method402(0x666d7420);
|
||||
aBuffer_328.method403(16);
|
||||
aBuffer_328.method400(1);
|
||||
aBuffer_328.method400(1);
|
||||
aBuffer_328.method403(22050);
|
||||
aBuffer_328.method403(22050);
|
||||
aBuffer_328.method400(1);
|
||||
aBuffer_328.method400(8);
|
||||
aBuffer_328.method402(0x64617461);
|
||||
aBuffer_328.method403(k);
|
||||
aBuffer_328.anInt1406 += k;
|
||||
return aBuffer_328;
|
||||
}
|
||||
|
||||
public int method245(int i) {
|
||||
int j = 0;
|
||||
for (int k = 0; k < 10; k++) {
|
||||
if (aToneArray329[k] != null && aToneArray329[k].anInt113 + aToneArray329[k].anInt114 > j) {
|
||||
j = aToneArray329[k].anInt113 + aToneArray329[k].anInt114;
|
||||
}
|
||||
}
|
||||
if (j == 0) {
|
||||
return 0;
|
||||
}
|
||||
int l = (22050 * j) / 1000;
|
||||
int i1 = (22050 * anInt330) / 1000;
|
||||
int j1 = (22050 * anInt331) / 1000;
|
||||
if (i1 < 0 || j1 < 0 || j1 > l || i1 >= j1) {
|
||||
i = 0;
|
||||
}
|
||||
int k1 = l + (j1 - i1) * (i - 1);
|
||||
for (int l1 = 44; l1 < k1 + 44; l1++) {
|
||||
aByteArray327[l1] = -128;
|
||||
}
|
||||
for (int i2 = 0; i2 < 10; i2++) {
|
||||
if (aToneArray329[i2] != null) {
|
||||
int j2 = (aToneArray329[i2].anInt113 * 22050) / 1000;
|
||||
int i3 = (aToneArray329[i2].anInt114 * 22050) / 1000;
|
||||
int[] ai = aToneArray329[i2].method167(j2, aToneArray329[i2].anInt113);
|
||||
for (int l3 = 0; l3 < j2; l3++) {
|
||||
aByteArray327[l3 + i3 + 44] += (byte) (ai[l3] >> 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (i > 1) {
|
||||
i1 += 44;
|
||||
j1 += 44;
|
||||
l += 44;
|
||||
int k2 = (k1 += 44) - l;
|
||||
for (int j3 = l - 1; j3 >= j1; j3--) {
|
||||
aByteArray327[j3 + k2] = aByteArray327[j3];
|
||||
}
|
||||
for (int k3 = 1; k3 < i; k3++) {
|
||||
int l2 = (j1 - i1) * k3;
|
||||
for (int i4 = i1; i4 < j1; i4++) {
|
||||
aByteArray327[i4 + l2] = aByteArray327[i4];
|
||||
}
|
||||
}
|
||||
k1 -= 44;
|
||||
}
|
||||
return k1;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class SpotAnimEntity extends Entity {
|
||||
|
||||
public final int anInt1560;
|
||||
public final int anInt1561;
|
||||
public final int anInt1562;
|
||||
public final int anInt1563;
|
||||
public final int anInt1564;
|
||||
public boolean aBoolean1567 = false;
|
||||
public final SpotAnimType aType_1568;
|
||||
public int anInt1569;
|
||||
public int anInt1570;
|
||||
|
||||
public SpotAnimEntity(int i, int j, int l, int i1, int j1, int k1, int l1) {
|
||||
aType_1568 = SpotAnimType.aTypeArray403[i1];
|
||||
anInt1560 = i;
|
||||
anInt1561 = l1;
|
||||
anInt1562 = k1;
|
||||
anInt1563 = j1;
|
||||
anInt1564 = j + l;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Model method444() {
|
||||
Model model = aType_1568.method266();
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
int j = aType_1568.aType_407.anIntArray353[anInt1569];
|
||||
Model model_1 = new Model(true, Class36.method532(j), false, model);
|
||||
if (!aBoolean1567) {
|
||||
model_1.method469();
|
||||
model_1.method470(j);
|
||||
model_1.anIntArrayArray1658 = null;
|
||||
model_1.anIntArrayArray1657 = null;
|
||||
}
|
||||
if (aType_1568.anInt410 != 128 || aType_1568.anInt411 != 128) {
|
||||
model_1.method478(aType_1568.anInt410, aType_1568.anInt410, aType_1568.anInt411);
|
||||
}
|
||||
if (aType_1568.anInt412 != 0) {
|
||||
if (aType_1568.anInt412 == 90) {
|
||||
model_1.method473();
|
||||
}
|
||||
if (aType_1568.anInt412 == 180) {
|
||||
model_1.method473();
|
||||
model_1.method473();
|
||||
}
|
||||
if (aType_1568.anInt412 == 270) {
|
||||
model_1.method473();
|
||||
model_1.method473();
|
||||
model_1.method473();
|
||||
}
|
||||
}
|
||||
model_1.method479(64 + aType_1568.anInt413, 850 + aType_1568.anInt414, -30, -50, -30, true);
|
||||
return model_1;
|
||||
}
|
||||
|
||||
public void method454(int i) {
|
||||
for (anInt1570 += i; anInt1570 > aType_1568.aType_407.method258(anInt1569); ) {
|
||||
anInt1570 -= aType_1568.aType_407.method258(anInt1569) + 1;
|
||||
anInt1569++;
|
||||
if (anInt1569 >= aType_1568.aType_407.anInt352 && (anInt1569 < 0 || anInt1569 >= aType_1568.aType_407.anInt352)) {
|
||||
anInt1569 = 0;
|
||||
aBoolean1567 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
||||
// Jad home page: http://www.kpdus.com/jad.html
|
||||
// Decompiler options: packimports(3)
|
||||
|
||||
public class SpotAnimType {
|
||||
|
||||
public static int anInt402;
|
||||
public static SpotAnimType[] aTypeArray403;
|
||||
public static LRUCache aCache_415 = new LRUCache(30);
|
||||
public int anInt404;
|
||||
public int anInt405;
|
||||
public int anInt406 = -1;
|
||||
public SeqType aType_407;
|
||||
public final int[] anIntArray408 = new int[6];
|
||||
public final int[] anIntArray409 = new int[6];
|
||||
public int anInt410 = 128;
|
||||
public int anInt411 = 128;
|
||||
public int anInt412;
|
||||
public int anInt413;
|
||||
public int anInt414;
|
||||
|
||||
public SpotAnimType() {
|
||||
}
|
||||
|
||||
public static void method264(Class44 class44) {
|
||||
Buffer buffer = new Buffer(class44.method571("spotanim.dat", null));
|
||||
anInt402 = buffer.method410();
|
||||
if (aTypeArray403 == null) {
|
||||
aTypeArray403 = new SpotAnimType[anInt402];
|
||||
}
|
||||
for (int j = 0; j < anInt402; j++) {
|
||||
if (aTypeArray403[j] == null) {
|
||||
aTypeArray403[j] = new SpotAnimType();
|
||||
}
|
||||
aTypeArray403[j].anInt404 = j;
|
||||
aTypeArray403[j].method265(buffer);
|
||||
}
|
||||
}
|
||||
|
||||
public void method265(Buffer buffer) {
|
||||
do {
|
||||
int i = buffer.method408();
|
||||
if (i == 0) {
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
anInt405 = buffer.method410();
|
||||
} else if (i == 2) {
|
||||
anInt406 = buffer.method410();
|
||||
if (SeqType.aTypeArray351 != null) {
|
||||
aType_407 = SeqType.aTypeArray351[anInt406];
|
||||
}
|
||||
} else if (i == 4) {
|
||||
anInt410 = buffer.method410();
|
||||
} else if (i == 5) {
|
||||
anInt411 = buffer.method410();
|
||||
} else if (i == 6) {
|
||||
anInt412 = buffer.method410();
|
||||
} else if (i == 7) {
|
||||
anInt413 = buffer.method408();
|
||||
} else if (i == 8) {
|
||||
anInt414 = buffer.method408();
|
||||
} else if (i >= 40 && i < 50) {
|
||||
anIntArray408[i - 40] = buffer.method410();
|
||||
} else if (i >= 50 && i < 60) {
|
||||
anIntArray409[i - 50] = buffer.method410();
|
||||
} else {
|
||||
System.out.println("Error unrecognised spotanim config code: " + i);
|
||||
}
|
||||
} while (true);
|
||||
}
|
||||
|
||||
public Model method266() {
|
||||
Model model = (Model) aCache_415.method222(anInt404);
|
||||
if (model != null) {
|
||||
return model;
|
||||
}
|
||||
model = Model.method462(anInt405);
|
||||
if (model == null) {
|
||||
return null;
|
||||
}
|
||||
for (int i = 0; i < 6; i++) {
|
||||
if (anIntArray408[0] != 0) {
|
||||
model.method476(anIntArray408[i], anIntArray409[i]);
|
||||
}
|
||||
}
|
||||
aCache_415.method223(model, anInt404);
|
||||
return model;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -209,6 +209,7 @@ public class signlink implements Runnable {
|
||||
public void run() {
|
||||
active = true;
|
||||
String s = findcachedir();
|
||||
System.out.println(s);
|
||||
uid = getuid(s);
|
||||
try {
|
||||
File file = new File(s + "main_file_cache.dat");
|
||||
|
||||
Reference in new issue
Block a user