This commit is contained in:
thedaneeffect committed 2021-03-16 03:06:42 -04:00
1 parent 077a25091e
commit a4bb24e7e6
25 files changed
+278 -283

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ public class BZip2 extends InputStream {
tmp = new ByteArrayOutputStream();
}
try(BZip2CompressorInputStream in = new BZip2CompressorInputStream(new BZip2(src, off, len))) {
try (BZip2CompressorInputStream in = new BZip2CompressorInputStream(new BZip2(src, off, len))) {
if (tmp != null) {
IOUtils.copy(in, tmp);
} else {
+2 -2
View File
@@ -9,11 +9,11 @@ import java.net.Socket;
public class Connection implements Runnable {
public final Socket aSocket421;
public final GameShell anShell_423;
public InputStream anInputStream419;
public OutputStream anOutputStream420;
public final Socket aSocket421;
public boolean closed = false;
public final GameShell anShell_423;
public byte[] aByteArray424;
public int anInt425;
public int anInt426;
+3 -3
View File
@@ -13,9 +13,6 @@ public class Draw2D {
public static int centerX;
public static int centerY;
public Draw2D() {
}
public static void bind(int[] pixels, int width, int height) {
Draw2D.pixels = pixels;
Draw2D.width = width;
@@ -243,4 +240,7 @@ public class Draw2D {
}
}
public Draw2D() {
}
}
+14 -14
View File
@@ -8,20 +8,6 @@ public class FloType {
public static int anInt387;
public static FloType[] instances;
public String unusedString;
public int anInt390;
public int anInt391 = -1;
public boolean unusedBool = false;
public boolean aBoolean393 = true;
public int anInt394;
public int anInt395;
public int anInt396;
public int anInt397;
public int anInt398;
public int anInt399;
public FloType() {
}
public static void unpack(FileArchive archive) throws IOException {
Buffer buffer = new Buffer(archive.read("flo.dat"));
@@ -36,6 +22,20 @@ public class FloType {
instances[j].method261(buffer);
}
}
public String unusedString;
public int anInt390;
public int anInt391 = -1;
public boolean unusedBool = false;
public boolean aBoolean393 = true;
public int anInt394;
public int anInt395;
public int anInt396;
public int anInt397;
public int anInt398;
public int anInt399;
public FloType() {
}
public void method261(Buffer buffer) {
do {
+9 -9
View File
@@ -8,15 +8,6 @@ public class IDKType {
public static int anInt655;
public static IDKType[] instances;
public int anInt657 = -1;
public int[] anIntArray658;
public final int[] anIntArray659 = new int[6];
public final int[] anIntArray660 = new int[6];
public final int[] anIntArray661 = {-1, -1, -1, -1, -1};
public boolean aBoolean662 = false;
public IDKType() {
}
public static void unpack(FileArchive archive) throws IOException {
Buffer buffer = new Buffer(archive.read("idk.dat"));
@@ -31,6 +22,15 @@ public class IDKType {
instances[j].method536(buffer);
}
}
public final int[] anIntArray659 = new int[6];
public final int[] anIntArray660 = new int[6];
public final int[] anIntArray661 = {-1, -1, -1, -1, -1};
public int anInt657 = -1;
public int[] anIntArray658;
public boolean aBoolean662 = false;
public IDKType() {
}
public void method536(Buffer buffer) {
do {
+3 -3
View File
@@ -5,7 +5,6 @@
public class LocEntity extends Entity {
public static Game aGame1609;
public int anInt1599;
public final int[] anIntArray1600;
public final int anInt1601;
public final int anInt1602;
@@ -13,11 +12,12 @@ public class LocEntity extends Entity {
public final int anInt1604;
public final int anInt1605;
public final int anInt1606;
public SeqType aType_1607;
public int anInt1608;
public final int anInt1610;
public final int anInt1611;
public final int anInt1612;
public int anInt1599;
public SeqType aType_1607;
public int anInt1608;
public LocEntity(int i, int j, int k, int l, int i1, int j1, int k1, int l1, boolean flag) {
anInt1610 = i;
+41 -42
View File
@@ -17,8 +17,46 @@ public class LocType {
public static int anInt771;
public static LRUMap<Long, Model> aCache_780 = new LRUMap(30);
public static LocType[] aTypeArray782;
public static LRUMap<Long,Model> aCache_785 = new LRUMap(500);
public static LRUMap<Long, Model> aCache_785 = new LRUMap(500);
public static LocType method572(int i) {
for (int j = 0; j < 20; j++) {
if (aTypeArray782[j].anInt754 == i) {
return aTypeArray782[j];
}
}
anInt771 = (anInt771 + 1) % 20;
LocType type = aTypeArray782[anInt771];
aBuffer_753.position = anIntArray755[i];
type.anInt754 = i;
type.method573();
type.method582(aBuffer_753);
return type;
}
public static void unload() {
aCache_785 = null;
aCache_780 = null;
anIntArray755 = null;
aTypeArray782 = null;
aBuffer_753 = null;
}
public static void unpack(FileArchive archive) throws IOException {
aBuffer_753 = new Buffer(archive.read("loc.dat"));
Buffer buffer = new Buffer(archive.read("loc.idx"));
anInt756 = buffer.get2U();
anIntArray755 = new int[anInt756];
int i = 2;
for (int j = 0; j < anInt756; j++) {
anIntArray755[j] = i;
i += buffer.get2U();
}
aTypeArray782 = new LocType[20];
for (int k = 0; k < 20; k++) {
aTypeArray782[k] = new LocType();
}
}
public boolean aBoolean736;
public byte aByte737;
public int anInt738;
@@ -60,45 +98,6 @@ public class LocType {
public LocType() {
}
public static LocType method572(int i) {
for (int j = 0; j < 20; j++) {
if (aTypeArray782[j].anInt754 == i) {
return aTypeArray782[j];
}
}
anInt771 = (anInt771 + 1) % 20;
LocType type = aTypeArray782[anInt771];
aBuffer_753.position = anIntArray755[i];
type.anInt754 = i;
type.method573();
type.method582(aBuffer_753);
return type;
}
public static void unload() {
aCache_785 = null;
aCache_780 = null;
anIntArray755 = null;
aTypeArray782 = null;
aBuffer_753 = null;
}
public static void unpack(FileArchive archive) throws IOException {
aBuffer_753 = new Buffer(archive.read("loc.dat"));
Buffer buffer = new Buffer(archive.read("loc.idx"));
anInt756 = buffer.get2U();
anIntArray755 = new int[anInt756];
int i = 2;
for (int j = 0; j < anInt756; j++) {
anIntArray755[j] = i;
i += buffer.get2U();
}
aTypeArray782 = new LocType[20];
for (int k = 0; k < 20; k++) {
aTypeArray782[k] = new LocType();
}
}
public void method573() {
anIntArray773 = null;
anIntArray776 = null;
@@ -253,7 +252,7 @@ public class LocType {
if (flag1) {
model.rotateY180();
}
aCache_785.put((long)l2, model);
aCache_785.put((long) l2, model);
}
if (k1 > 1) {
A_MODEL_ARRAY_741[i2] = model;
@@ -293,7 +292,7 @@ public class LocType {
if (flag3) {
model.rotateY180();
}
aCache_785.put((long)j2, model);
aCache_785.put((long) j2, model);
}
}
boolean flag;
+1 -1
View File
@@ -7,8 +7,8 @@ public class MouseRecorder implements Runnable {
public final Object lock = new Object();
public final Game aGame805;
public final int[] anIntArray807 = new int[500];
public boolean aBoolean808 = true;
public final int[] anIntArray809 = new int[500];
public boolean aBoolean808 = true;
public int anInt810;
public MouseRecorder(Game game1) {
+43 -43
View File
@@ -16,49 +16,6 @@ public class ObjType {
public static Buffer aBuffer_183;
public static int[] anIntArray195;
public static int anInt203;
public byte aByte154;
public int anInt155;
public int[] anIntArray156;
public int anInt157 = -1;
public int[] anIntArray160;
public boolean aBoolean161;
public int anInt162;
public int anInt163;
public int anInt164;
public int anInt165;
public int anInt166;
public int anInt167;
public String[] aStringArray168;
public int anInt169;
public String aString170;
public int anInt173;
public int anInt174;
public int anInt175;
public boolean aBoolean176;
public byte[] aByteArray178;
public int anInt179;
public int anInt181;
public int anInt184;
public int anInt185;
public int anInt188;
public String[] aStringArray189;
public int anInt190;
public int anInt191;
public int anInt192;
public int[] anIntArray193;
public int anInt194;
public int anInt196;
public int anInt197;
public int anInt198;
public int unusedInt;
public int anInt200;
public int[] anIntArray201;
public int anInt202;
public int anInt204;
public byte aByte205;
public ObjType() {
}
public static void unload() {
modelCache = null;
@@ -237,6 +194,49 @@ public class ObjType {
class30_sub2_sub1_sub1_1.anInt1445 = j;
return class30_sub2_sub1_sub1_1;
}
public byte aByte154;
public int anInt155;
public int[] anIntArray156;
public int anInt157 = -1;
public int[] anIntArray160;
public boolean aBoolean161;
public int anInt162;
public int anInt163;
public int anInt164;
public int anInt165;
public int anInt166;
public int anInt167;
public String[] aStringArray168;
public int anInt169;
public String aString170;
public int anInt173;
public int anInt174;
public int anInt175;
public boolean aBoolean176;
public byte[] aByteArray178;
public int anInt179;
public int anInt181;
public int anInt184;
public int anInt185;
public int anInt188;
public String[] aStringArray189;
public int anInt190;
public int anInt191;
public int anInt192;
public int[] anIntArray193;
public int anInt194;
public int anInt196;
public int anInt197;
public int anInt198;
public int unusedInt;
public int anInt200;
public int[] anIntArray201;
public int anInt202;
public int anInt204;
public byte aByte205;
public ObjType() {
}
public boolean method192(int j) {
int k = anInt175;
+4 -4
View File
@@ -6,6 +6,10 @@ public class PathingEntity extends Entity {
public final int[] moveQueueTileX = new int[10];
public final int[] moveQueueTileZ = new int[10];
public final int[] anIntArray1514 = new int[4];
public final int[] anIntArray1515 = new int[4];
public final int[] anIntArray1516 = new int[4];
public final boolean[] aBooleanArray1553 = new boolean[10];
public int anInt1502 = -1;
public int anInt1503;
public int anInt1504 = 32;
@@ -16,9 +20,6 @@ public class PathingEntity extends Entity {
public int anInt1511 = -1;
public int anInt1512 = -1;
public int anInt1513;
public final int[] anIntArray1514 = new int[4];
public final int[] anIntArray1515 = new int[4];
public final int[] anIntArray1516 = new int[4];
public int anInt1517 = -1;
public int anInt1518;
public int anInt1519;
@@ -54,7 +55,6 @@ public class PathingEntity extends Entity {
public int x;
public int z;
public int anInt1552;
public final boolean[] aBooleanArray1553 = new boolean[10];
public int anInt1554 = -1;
public int anInt1555 = -1;
public int anInt1556 = -1;
+2 -2
View File
@@ -7,10 +7,11 @@ import org.apache.commons.collections4.map.LRUMap;
public class PlayerEntity extends PathingEntity {
public static LRUMap<Long, Model> modelCache = new LRUMap<>(260);
public final int[] anIntArray1700 = new int[5];
public final int[] anIntArray1717 = new int[12];
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;
@@ -24,7 +25,6 @@ public class PlayerEntity extends PathingEntity {
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;
+9 -9
View File
@@ -6,28 +6,28 @@ public class ProjectileEntity extends Entity {
public final int anInt1571;
public final int anInt1572;
public final int anInt1580;
public final int anInt1581;
public final int anInt1582;
public final int anInt1583;
public final int anInt1588;
public final int anInt1589;
public final int anInt1590;
public final SpotAnimType aType_1592;
public final int anInt1597;
public double aDouble1574;
public double aDouble1575;
public double aDouble1576;
public double aDouble1577;
public double aDouble1578;
public boolean aBoolean1579 = false;
public final int anInt1580;
public final int anInt1581;
public final int anInt1582;
public final int anInt1583;
public double aDouble1585;
public double aDouble1586;
public double aDouble1587;
public final int anInt1588;
public final int anInt1589;
public final int anInt1590;
public final SpotAnimType aType_1592;
public int anInt1593;
public int anInt1594;
public int anInt1595;
public int anInt1596;
public final int anInt1597;
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.instances[l2];
+26 -28
View File
@@ -3,7 +3,6 @@
// Decompiler options: packimports(3)
import java.util.Arrays;
import java.util.LinkedList;
public class Scene {
@@ -19,6 +18,8 @@ public class Scene {
public static final int[] anIntArray483 = {0, 4, 4, 8, 0, 0, 8, 0, 0};
public static final int[] anIntArray484 = {1, 1, 0, 0, 0, 8, 0, 0, 8};
public static final int[] anIntArray485 = {41, 39248, 41, 4643, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 43086, 41, 41, 41, 41, 41, 41, 41, 8602, 41, 28992, 41, 41, 41, 41, 41, 5056, 41, 41, 41, 7079, 41, 41, 41, 41, 41, 41, 41, 41, 41, 41, 3131, 41, 41, 41};
public static final int anInt472 = 4;
public static final SceneOccluder[] A_OCCLUDER_ARRAY_476 = new SceneOccluder[500];
public static boolean lowmem = true;
public static int anInt446;
public static int anInt447;
@@ -42,11 +43,9 @@ public class Scene {
public static int anInt469;
public static int anInt470 = -1;
public static int anInt471 = -1;
public static final int anInt472 = 4;
public static int[] anIntArray473 = new int[anInt472];
public static SceneOccluder[][] aOccluderArrayArray474 = new SceneOccluder[anInt472][500];
public static int anInt475;
public static final SceneOccluder[] A_OCCLUDER_ARRAY_476 = new SceneOccluder[500];
public static DoublyLinkedList aList_477 = new DoublyLinkedList();
public static boolean[][][][] aBooleanArrayArrayArrayArray491 = new boolean[8][32][51][51];
public static boolean[][] aBooleanArrayArray492;
@@ -57,31 +56,6 @@ public class Scene {
public static int anInt497;
public static int anInt498;
public final int anInt437;
public final int anInt438;
public final int anInt439;
public final int[][][] anIntArrayArrayArray440;
public final SceneTile[][][] aTileArrayArrayArray441;
public int anInt442;
public int anInt443;
public final SceneLoc[] aLocArray444 = new SceneLoc[5000];
public final int[][][] anIntArrayArrayArray445;
public final int[] anIntArray486 = new int[10000];
public final int[] anIntArray487 = new int[10000];
public int anInt488;
public final int[][] anIntArrayArray489 = {new int[16], {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1}, {1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1}, {0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1}, {1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1}};
public final int[][] anIntArrayArray490 = {{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}, {12, 8, 4, 0, 13, 9, 5, 1, 14, 10, 6, 2, 15, 11, 7, 3}, {15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0}, {3, 7, 11, 15, 2, 6, 10, 14, 1, 5, 9, 13, 0, 4, 8, 12}};
public Scene(int i, int j, int[][][] ai, int k) {
anInt437 = k;
anInt438 = j;
anInt439 = i;
aTileArrayArrayArray441 = new SceneTile[k][j][i];
anIntArrayArrayArray445 = new int[k][j + 1][i + 1];
anIntArrayArrayArray440 = ai;
method274();
}
public static void unload() {
aLocArray462 = null;
anIntArray473 = null;
@@ -182,6 +156,30 @@ public class Scene {
int i2 = anInt494 + ((k1 << 9) / j1);
return (l1 >= anInt495) && (l1 <= anInt497) && (i2 >= anInt496) && (i2 <= anInt498);
}
public final int anInt437;
public final int anInt438;
public final int anInt439;
public final int[][][] anIntArrayArrayArray440;
public final SceneTile[][][] aTileArrayArrayArray441;
public final SceneLoc[] aLocArray444 = new SceneLoc[5000];
public final int[][][] anIntArrayArrayArray445;
public final int[] anIntArray486 = new int[10000];
public final int[] anIntArray487 = new int[10000];
public final int[][] anIntArrayArray489 = {new int[16], {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1}, {1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1}, {0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1}, {1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1}};
public final int[][] anIntArrayArray490 = {{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}, {12, 8, 4, 0, 13, 9, 5, 1, 14, 10, 6, 2, 15, 11, 7, 3}, {15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0}, {3, 7, 11, 15, 2, 6, 10, 14, 1, 5, 9, 13, 0, 4, 8, 12}};
public int anInt442;
public int anInt443;
public int anInt488;
public Scene(int i, int j, int[][][] ai, int k) {
anInt437 = k;
anInt438 = j;
anInt439 = i;
aTileArrayArrayArray441 = new SceneTile[k][j][i];
anIntArrayArrayArray445 = new int[k][j + 1][i + 1];
anIntArrayArrayArray440 = ai;
method274();
}
public void method274() {
for (int j = 0; j < anInt437; j++) {
+36 -36
View File
@@ -13,42 +13,6 @@ public class SceneBuilder {
public static int anInt133 = (int) (Math.random() * 33.0) - 16;
public static int anInt145 = 99;
public static boolean lowmem = true;
public final int[] anIntArray124;
public final int[] anIntArray125;
public final int[] anIntArray126;
public final int[] anIntArray127;
public final int[] anIntArray128;
public final int[][][] anIntArrayArrayArray129;
public final byte[][][] aByteArrayArrayArray130;
public final byte[][][] aByteArrayArrayArray134;
public final int[][][] anIntArrayArrayArray135;
public final byte[][][] aByteArrayArrayArray136;
public final int[][] anIntArrayArray139;
public final byte[][][] aByteArrayArrayArray142;
public final int anInt146;
public final int anInt147;
public final byte[][][] aByteArrayArrayArray148;
public final byte[][][] aByteArrayArrayArray149;
public SceneBuilder(byte[][][] is, int i_0_, int i_1_, int[][][] is_2_) {
anInt145 = 99;
anInt146 = i_1_;
anInt147 = i_0_;
anIntArrayArrayArray129 = is_2_;
aByteArrayArrayArray149 = is;
aByteArrayArrayArray142 = new byte[4][anInt146][anInt147];
aByteArrayArrayArray130 = new byte[4][anInt146][anInt147];
aByteArrayArrayArray136 = new byte[4][anInt146][anInt147];
aByteArrayArrayArray148 = new byte[4][anInt146][anInt147];
anIntArrayArrayArray135 = new int[4][anInt146 + 1][anInt147 + 1];
aByteArrayArrayArray134 = new byte[4][anInt146 + 1][anInt147 + 1];
anIntArrayArray139 = new int[anInt146 + 1][anInt147 + 1];
anIntArray124 = new int[anInt147];
anIntArray125 = new int[anInt147];
anIntArray126 = new int[anInt147];
anIntArray127 = new int[anInt147];
anIntArray128 = new int[anInt147];
}
public static int method170(int i, int i_3_) {
int i_4_ = i + (i_3_ * 57);
@@ -371,6 +335,42 @@ public class SceneBuilder {
}
return bool;
}
public final int[] anIntArray124;
public final int[] anIntArray125;
public final int[] anIntArray126;
public final int[] anIntArray127;
public final int[] anIntArray128;
public final int[][][] anIntArrayArrayArray129;
public final byte[][][] aByteArrayArrayArray130;
public final byte[][][] aByteArrayArrayArray134;
public final int[][][] anIntArrayArrayArray135;
public final byte[][][] aByteArrayArrayArray136;
public final int[][] anIntArrayArray139;
public final byte[][][] aByteArrayArrayArray142;
public final int anInt146;
public final int anInt147;
public final byte[][][] aByteArrayArrayArray148;
public final byte[][][] aByteArrayArrayArray149;
public SceneBuilder(byte[][][] is, int i_0_, int i_1_, int[][][] is_2_) {
anInt145 = 99;
anInt146 = i_1_;
anInt147 = i_0_;
anIntArrayArrayArray129 = is_2_;
aByteArrayArrayArray149 = is;
aByteArrayArrayArray142 = new byte[4][anInt146][anInt147];
aByteArrayArrayArray130 = new byte[4][anInt146][anInt147];
aByteArrayArrayArray136 = new byte[4][anInt146][anInt147];
aByteArrayArrayArray148 = new byte[4][anInt146][anInt147];
anIntArrayArrayArray135 = new int[4][anInt146 + 1][anInt147 + 1];
aByteArrayArrayArray134 = new byte[4][anInt146 + 1][anInt147 + 1];
anIntArrayArray139 = new int[anInt146 + 1][anInt147 + 1];
anIntArray124 = new int[anInt147];
anIntArray125 = new int[anInt147];
anIntArray126 = new int[anInt147];
anIntArray127 = new int[anInt147];
anIntArray128 = new int[anInt147];
}
public void method171(SceneCollisionMap[] collisionMaps, Scene scene) {
for (int i_6_ = 0; i_6_ < 4; i_6_++) {
+3 -3
View File
@@ -4,10 +4,12 @@
public class SceneTile extends DoublyLinkedList.Node {
public int anInt1307;
public final int anInt1308;
public final int anInt1309;
public final int anInt1310;
public final SceneLoc[] aLocArray1318 = new SceneLoc[5];
public final int[] anIntArray1319 = new int[5];
public int anInt1307;
public SceneTileUnderlay aUnderlay_1311;
public SceneTileOverlay aOverlay_1312;
public SceneWall aWall_1313;
@@ -15,8 +17,6 @@ public class SceneTile extends DoublyLinkedList.Node {
public SceneGroundDecoration aGroundDecoration_1315;
public SceneObjStack aObjStack_1316;
public int anInt1317;
public final SceneLoc[] aLocArray1318 = new SceneLoc[5];
public final int[] anIntArray1319 = new int[5];
public int anInt1320;
public int anInt1321;
public boolean aBoolean1322;
+1 -1
View File
@@ -20,12 +20,12 @@ public class SceneTileOverlay {
public final int[] anIntArray679;
public final int[] anIntArray680;
public final int[] anIntArray681;
public int[] anIntArray682;
public final boolean aBoolean683;
public final int anInt684;
public final int anInt685;
public final int anInt686;
public final int anInt687;
public int[] anIntArray682;
public SceneTileOverlay(int i, int j, int k, int l, int i1, int j1, int k1, int l1, int i2, int j2, int k2, int l2, int i3, int j3, int k3, int l3, int i4, int k4, int l4) {
aBoolean683 = (i3 == l2) && (i3 == l) && (i3 == k2);
+1 -1
View File
@@ -9,8 +9,8 @@ public class SceneTileUnderlay {
public final int anInt718;
public final int anInt719;
public final int anInt720;
public boolean aBoolean721;
public final int anInt722;
public boolean aBoolean721;
public SceneTileUnderlay(int i, int j, int k, int l, int i1, int j1, boolean flag) {
aBoolean721 = true;
+20 -21
View File
@@ -1,4 +1,3 @@
/**
* A {@link SeqFrame} contains the {@link SeqSkeleton} and <code>x,y,z</code> parameters to transform a {@link Model}.
*
@@ -8,26 +7,6 @@
public class SeqFrame {
private static SeqFrame[] instances;
/**
* The skeleton associated to this frame.
*/
public SeqSkeleton skeleton;
/**
* The delay in <code>ticks</code>.
*/
public int delay;
/**
* The number of operations the frame performs.
*/
public int length;
/**
* The list of bases the frame uses.
*/
public int[] bases;
/**
* The frame parameters.
*/
public int[] x, y, z;
/**
* Syntax sugar.
@@ -182,5 +161,25 @@ public class SeqFrame {
}
}
}
/**
* The skeleton associated to this frame.
*/
public SeqSkeleton skeleton;
/**
* The delay in <code>ticks</code>.
*/
public int delay;
/**
* The number of operations the frame performs.
*/
public int length;
/**
* The list of bases the frame uses.
*/
public int[] bases;
/**
* The frame parameters.
*/
public int[] x, y, z;
}
+14 -14
View File
@@ -8,6 +8,20 @@ public class SeqType {
public static int anInt350;
public static SeqType[] instances;
public static void unpack(FileArchive archive) throws IOException {
Buffer buffer = new Buffer(archive.read("seq.dat"));
anInt350 = buffer.get2U();
if (instances == null) {
instances = new SeqType[anInt350];
}
for (int j = 0; j < anInt350; j++) {
if (instances[j] == null) {
instances[j] = new SeqType();
}
instances[j].method259(buffer);
}
}
public int anInt352;
public int[] anIntArray353;
public int[] anIntArray354;
@@ -27,20 +41,6 @@ public class SeqType {
public SeqType() {
}
public static void unpack(FileArchive archive) throws IOException {
Buffer buffer = new Buffer(archive.read("seq.dat"));
anInt350 = buffer.get2U();
if (instances == null) {
instances = new SeqType[anInt350];
}
for (int j = 0; j < anInt350; j++) {
if (instances[j] == null) {
instances[j] = new SeqType();
}
instances[j].method259(buffer);
}
}
public int method258(int i) {
int j = anIntArray355[i];
if (j == 0) {
+5 -5
View File
@@ -11,12 +11,12 @@ import java.net.URL;
public class Signlink implements Runnable {
public static final RandomAccessFile[] cache_idx = new RandomAccessFile[5];
public static final Applet mainapp = null;
public static int uid;
public static int storeid = 32;
public static RandomAccessFile cache_dat = null;
public static final RandomAccessFile[] cache_idx = new RandomAccessFile[5];
public static boolean sunjava;
public static final Applet mainapp = null;
public static boolean active;
public static int threadliveid;
public static InetAddress socketip;
@@ -42,9 +42,6 @@ public class Signlink implements Runnable {
public static int wavevol;
public static boolean reporterror = true;
public Signlink() {
}
public static void startpriv(InetAddress inetaddress) {
threadliveid = (int) (Math.random() * 99999999D);
if (active) {
@@ -204,6 +201,9 @@ public class Signlink implements Runnable {
System.out.println("Error: " + s);
}
public Signlink() {
}
@Override
public void run() {
active = true;
+1 -1
View File
@@ -5,7 +5,7 @@
public class SkillConstants {
public static final int anInt733 = 25;
public static String[] aStringArray734 = {"attack", "defence", "strength", "hitpoints", "ranged", "prayer", "magic", "cooking", "woodcutting", "fletching", "fishing", "firemaking", "crafting", "smithing", "mining", "herblore", "agility", "thieving", "slayer", "farming", "runecraft", "-unused-", "-unused-", "-unused-", "-unused-"};
public static final boolean[] aBooleanArray735 = {true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, true, false, false, false, false};
public static String[] aStringArray734 = {"attack", "defence", "strength", "hitpoints", "ranged", "prayer", "magic", "cooking", "woodcutting", "fletching", "fishing", "firemaking", "crafting", "smithing", "mining", "herblore", "agility", "thieving", "slayer", "farming", "runecraft", "-unused-", "-unused-", "-unused-", "-unused-"};
}
+1 -1
View File
@@ -9,8 +9,8 @@ public class SpotAnimEntity extends Entity {
public final int anInt1562;
public final int anInt1563;
public final int anInt1564;
public boolean aBoolean1567 = false;
public final SpotAnimType aType_1568;
public boolean aBoolean1567 = false;
public int anInt1569;
public int anInt1570;
+14 -14
View File
@@ -11,20 +11,6 @@ public class SpotAnimType {
public static int anInt402;
public static SpotAnimType[] instances;
public static LRUMap<Integer, Model> modelCache = new LRUMap<>(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 unpack(FileArchive archive) throws IOException {
Buffer buffer = new Buffer(archive.read("spotanim.dat"));
@@ -40,6 +26,20 @@ public class SpotAnimType {
instances[j].method265(buffer);
}
}
public final int[] anIntArray408 = new int[6];
public final int[] anIntArray409 = new int[6];
public int anInt404;
public int anInt405;
public int anInt406 = -1;
public SeqType aType_407;
public int anInt410 = 128;
public int anInt411 = 128;
public int anInt412;
public int anInt413;
public int anInt414;
public SpotAnimType() {
}
public void method265(Buffer buffer) {
do {
+10 -10
View File
@@ -8,16 +8,6 @@ public class VarbitType {
public static int anInt645;
public static VarbitType[] aVarbitArray646;
public String unusedString;
public int anInt648;
public int anInt649;
public int anInt650;
public boolean aBoolean651 = false;
public int unusedInt0 = -1;
public int unusedInt1;
public VarbitType() {
}
public static void unpack(FileArchive archive) throws IOException {
Buffer buffer = new Buffer(archive.read("varbit.dat"));
@@ -38,6 +28,16 @@ public class VarbitType {
System.out.println("varbit load mismatch");
}
}
public String unusedString;
public int anInt648;
public int anInt649;
public int anInt650;
public boolean aBoolean651 = false;
public int unusedInt0 = -1;
public int unusedInt1;
public VarbitType() {
}
public void method534(Buffer buffer) {
do {
+14 -15
View File
@@ -11,21 +11,6 @@ public class VarpType {
public static int anInt702;
public static int[] anIntArray703;
public String unusedString;
public int unusedInt0;
public int unusedInt1;
public boolean unusedBool0 = false;
public boolean unusedBool1 = true;
public int anInt709;
public boolean unusedBool2 = false;
public int unusedInt2;
public int unusedInt3;
public boolean unusedBool3 = false;
public int unusedInt4 = -1;
public VarpType() {
}
public static void unpack(FileArchive archive) throws IOException {
Buffer buffer = new Buffer(archive.read("varp.dat"));
anInt702 = 0;
@@ -46,6 +31,20 @@ public class VarpType {
System.out.println("varptype load mismatch");
}
}
public String unusedString;
public int unusedInt0;
public int unusedInt1;
public boolean unusedBool0 = false;
public boolean unusedBool1 = true;
public int anInt709;
public boolean unusedBool2 = false;
public int unusedInt2;
public int unusedInt3;
public boolean unusedBool3 = false;
public int unusedInt4 = -1;
public VarpType() {
}
public void method547(Buffer buffer, int i) {
do {