mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-19 01:15:19 -06:00
Created TypeList classes and moved static members to them
This commit is contained in:
parent
6ba1f2f808
commit
b3a5fdbec9
356 changed files with 6604 additions and 6652 deletions
|
|
@ -7,143 +7,6 @@ public final class Static75 {
|
|||
@OriginalMember(owner = "client!g", name = "d", descriptor = "I")
|
||||
public static int anInt2119 = 0;
|
||||
|
||||
@OriginalMember(owner = "client!g", name = "a", descriptor = "(IZ)V")
|
||||
public static void method1629(@OriginalArg(1) boolean arg0) {
|
||||
Static230.dynamicMapRegion = arg0;
|
||||
@Pc(13) int local13;
|
||||
@Pc(20) int local20;
|
||||
@Pc(26) int local26;
|
||||
@Pc(31) int local31;
|
||||
@Pc(60) int local60;
|
||||
@Pc(64) int local64;
|
||||
@Pc(138) int local138;
|
||||
@Pc(151) int local151;
|
||||
@Pc(169) int local169;
|
||||
if (!Static230.dynamicMapRegion) {
|
||||
local13 = Static57.aClass3_Sub15_Sub1_3.g2sub();
|
||||
local20 = (Static223.anInt5028 - Static57.aClass3_Sub15_Sub1_3.offset) / 16;
|
||||
Static72.regionsXteaKeys = new int[local20][4];
|
||||
for (local26 = 0; local26 < local20; local26++) {
|
||||
for (local31 = 0; local31 < 4; local31++) {
|
||||
Static72.regionsXteaKeys[local26][local31] = Static57.aClass3_Sub15_Sub1_3.p4rme();
|
||||
}
|
||||
}
|
||||
local26 = Static57.aClass3_Sub15_Sub1_3.g1ssub();
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local60 = Static57.aClass3_Sub15_Sub1_3.g2sub();
|
||||
local64 = Static57.aClass3_Sub15_Sub1_3.g2sub();
|
||||
Static238.regionBitPacked = new int[local20];
|
||||
Static273.mapFilesBuffer = new byte[local20][];
|
||||
Static191.npcSpawnsFilesBuffer = null;
|
||||
Static99.underWaterMapFileIds = new int[local20];
|
||||
Static156.locationMapFilesBuffer = new byte[local20][];
|
||||
Static19.underWaterLocationsMapFilesBuffer = new byte[local20][];
|
||||
Static175.npcSpawnsFileIds = null;
|
||||
Static36.mapFileIds = new int[local20];
|
||||
Static186.underWaterMapFilesBuffer = new byte[local20][];
|
||||
Static172.locationsMapFileIds = new int[local20];
|
||||
Static35.underWaterLocationsMapFileIds = new int[local20];
|
||||
local20 = 0;
|
||||
@Pc(100) boolean local100 = false;
|
||||
if ((local31 / 8 == 48 || local31 / 8 == 49) && local60 / 8 == 48) {
|
||||
local100 = true;
|
||||
}
|
||||
if (local31 / 8 == 48 && local60 / 8 == 148) {
|
||||
local100 = true;
|
||||
}
|
||||
for (local138 = (local31 - 6) / 8; local138 <= (local31 + 6) / 8; local138++) {
|
||||
for (local151 = (local60 - 6) / 8; local151 <= (local60 + 6) / 8; local151++) {
|
||||
local169 = (local138 << 8) + local151;
|
||||
if (local100 && (local151 == 49 || local151 == 149 || local151 == 147 || local138 == 50 || local138 == 49 && local151 == 47)) {
|
||||
Static238.regionBitPacked[local20] = local169;
|
||||
Static36.mapFileIds[local20] = -1;
|
||||
Static172.locationsMapFileIds[local20] = -1;
|
||||
Static99.underWaterMapFileIds[local20] = -1;
|
||||
Static35.underWaterLocationsMapFileIds[local20] = -1;
|
||||
} else {
|
||||
Static238.regionBitPacked[local20] = local169;
|
||||
Static36.mapFileIds[local20] = Static26.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static103.aClass100_558, Static123.parseInt(local138), Static86.aClass100_488, Static123.parseInt(local151) }));
|
||||
Static172.locationsMapFileIds[local20] = Static26.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static270.aClass100_1090, Static123.parseInt(local138), Static86.aClass100_488, Static123.parseInt(local151) }));
|
||||
Static99.underWaterMapFileIds[local20] = Static26.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static165.aClass100_772, Static123.parseInt(local138), Static86.aClass100_488, Static123.parseInt(local151) }));
|
||||
Static35.underWaterLocationsMapFileIds[local20] = Static26.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static278.aClass100_1103, Static123.parseInt(local138), Static86.aClass100_488, Static123.parseInt(local151) }));
|
||||
}
|
||||
local20++;
|
||||
}
|
||||
}
|
||||
Static127.method2463(local26, local60, local31, local64, false, local13);
|
||||
return;
|
||||
}
|
||||
local13 = Static57.aClass3_Sub15_Sub1_3.g2leadd();
|
||||
local20 = Static57.aClass3_Sub15_Sub1_3.g2leadd();
|
||||
local26 = Static57.aClass3_Sub15_Sub1_3.g1ssub();
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g2leadd();
|
||||
Static57.aClass3_Sub15_Sub1_3.method2233();
|
||||
@Pc(391) int local391;
|
||||
for (local60 = 0; local60 < 4; local60++) {
|
||||
for (local64 = 0; local64 < 13; local64++) {
|
||||
for (local391 = 0; local391 < 13; local391++) {
|
||||
local138 = Static57.aClass3_Sub15_Sub1_3.method2238(1);
|
||||
if (local138 == 1) {
|
||||
Static187.anIntArrayArrayArray18[local60][local64][local391] = Static57.aClass3_Sub15_Sub1_3.method2238(26);
|
||||
} else {
|
||||
Static187.anIntArrayArrayArray18[local60][local64][local391] = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Static57.aClass3_Sub15_Sub1_3.method2244();
|
||||
local60 = (Static223.anInt5028 - Static57.aClass3_Sub15_Sub1_3.offset) / 16;
|
||||
Static72.regionsXteaKeys = new int[local60][4];
|
||||
for (local64 = 0; local64 < local60; local64++) {
|
||||
for (local391 = 0; local391 < 4; local391++) {
|
||||
Static72.regionsXteaKeys[local64][local391] = Static57.aClass3_Sub15_Sub1_3.p4rme();
|
||||
}
|
||||
}
|
||||
local64 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
Static35.underWaterLocationsMapFileIds = new int[local60];
|
||||
Static172.locationsMapFileIds = new int[local60];
|
||||
Static36.mapFileIds = new int[local60];
|
||||
Static19.underWaterLocationsMapFilesBuffer = new byte[local60][];
|
||||
Static175.npcSpawnsFileIds = null;
|
||||
Static99.underWaterMapFileIds = new int[local60];
|
||||
Static156.locationMapFilesBuffer = new byte[local60][];
|
||||
Static273.mapFilesBuffer = new byte[local60][];
|
||||
Static238.regionBitPacked = new int[local60];
|
||||
Static191.npcSpawnsFilesBuffer = null;
|
||||
Static186.underWaterMapFilesBuffer = new byte[local60][];
|
||||
local60 = 0;
|
||||
for (local391 = 0; local391 < 4; local391++) {
|
||||
for (local138 = 0; local138 < 13; local138++) {
|
||||
for (local151 = 0; local151 < 13; local151++) {
|
||||
local169 = Static187.anIntArrayArrayArray18[local391][local138][local151];
|
||||
if (local169 != -1) {
|
||||
@Pc(555) int local555 = local169 >> 14 & 0x3FF;
|
||||
@Pc(561) int local561 = local169 >> 3 & 0x7FF;
|
||||
@Pc(571) int local571 = local561 / 8 + (local555 / 8 << 8);
|
||||
@Pc(573) int local573;
|
||||
for (local573 = 0; local573 < local60; local573++) {
|
||||
if (local571 == Static238.regionBitPacked[local573]) {
|
||||
local571 = -1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (local571 != -1) {
|
||||
Static238.regionBitPacked[local60] = local571;
|
||||
@Pc(609) int local609 = local571 & 0xFF;
|
||||
local573 = local571 >> 8 & 0xFF;
|
||||
Static36.mapFileIds[local60] = Static26.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static103.aClass100_558, Static123.parseInt(local573), Static86.aClass100_488, Static123.parseInt(local609) }));
|
||||
Static172.locationsMapFileIds[local60] = Static26.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static270.aClass100_1090, Static123.parseInt(local573), Static86.aClass100_488, Static123.parseInt(local609) }));
|
||||
Static99.underWaterMapFileIds[local60] = Static26.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static165.aClass100_772, Static123.parseInt(local573), Static86.aClass100_488, Static123.parseInt(local609) }));
|
||||
Static35.underWaterLocationsMapFileIds[local60] = Static26.js5Archive5.getGroupId(JagString.concatenate(new JagString[] { Static278.aClass100_1103, Static123.parseInt(local573), Static86.aClass100_488, Static123.parseInt(local609) }));
|
||||
local60++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Static127.method2463(local26, local64, local20, local31, false, local13);
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!g", name = "b", descriptor = "(I)V")
|
||||
public static void setDefaultChunksAtmosphere() {
|
||||
@Pc(9) Environment local9 = new Environment();
|
||||
|
|
@ -175,23 +38,23 @@ public final class Static75 {
|
|||
@Pc(31) int local31;
|
||||
@Pc(39) int local39;
|
||||
@Pc(45) int local45;
|
||||
if (Static164.anInt3985 == 195) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.p1neg();
|
||||
if (Protocol.opcode == 195) {
|
||||
local15 = Protocol.inboundBuffer.p1neg();
|
||||
local19 = local15 & 0x3;
|
||||
local23 = local15 >> 2;
|
||||
local27 = Static133.anIntArray453[local23];
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local31 = Protocol.inboundBuffer.g1();
|
||||
local39 = (local31 >> 4 & 0x7) + Static115.anInt2940;
|
||||
local45 = (local31 & 0x7) + Static180.anInt4264;
|
||||
if (local39 >= 0 && local45 >= 0 && local39 < 104 && local45 < 104) {
|
||||
Static29.method800(Static55.level, local45, local19, local39, -1, -1, local27, local23, 0);
|
||||
}
|
||||
} else if (Static164.anInt3985 == 33) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g2le();
|
||||
local23 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
} else if (Protocol.opcode == 33) {
|
||||
local15 = Protocol.inboundBuffer.g2le();
|
||||
local23 = Protocol.inboundBuffer.g1();
|
||||
local27 = (local23 & 0x7) + Static180.anInt4264;
|
||||
local19 = (local23 >> 4 & 0x7) + Static115.anInt2940;
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g2sub();
|
||||
local31 = Protocol.inboundBuffer.g2sub();
|
||||
if (local19 >= 0 && local27 >= 0 && local19 < 104 && local27 < 104) {
|
||||
@Pc(122) ObjStack local122 = new ObjStack();
|
||||
local122.anInt5550 = local31;
|
||||
|
|
@ -210,98 +73,98 @@ public final class Static75 {
|
|||
@Pc(224) int local224;
|
||||
@Pc(236) int local236;
|
||||
@Pc(317) ProjAnim local317;
|
||||
if (Static164.anInt3985 == 121) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
if (Protocol.opcode == 121) {
|
||||
local15 = Protocol.inboundBuffer.g1();
|
||||
local23 = Static115.anInt2940 * 2 + (local15 >> 4 & 0xF);
|
||||
local19 = (local15 & 0xF) + Static180.anInt4264 * 2;
|
||||
local27 = local23 + Static57.aClass3_Sub15_Sub1_3.g1s();
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g1s() + local19;
|
||||
local39 = Static57.aClass3_Sub15_Sub1_3.g2s();
|
||||
local45 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local218 = Static57.aClass3_Sub15_Sub1_3.g1() * 4;
|
||||
local224 = Static57.aClass3_Sub15_Sub1_3.g1() * 4;
|
||||
local228 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local232 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local236 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local27 = local23 + Protocol.inboundBuffer.g1s();
|
||||
local31 = Protocol.inboundBuffer.g1s() + local19;
|
||||
local39 = Protocol.inboundBuffer.g2s();
|
||||
local45 = Protocol.inboundBuffer.g2();
|
||||
local218 = Protocol.inboundBuffer.g1() * 4;
|
||||
local224 = Protocol.inboundBuffer.g1() * 4;
|
||||
local228 = Protocol.inboundBuffer.g2();
|
||||
local232 = Protocol.inboundBuffer.g2();
|
||||
local236 = Protocol.inboundBuffer.g1();
|
||||
if (local236 == 255) {
|
||||
local236 = -1;
|
||||
}
|
||||
local247 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local247 = Protocol.inboundBuffer.g1();
|
||||
if (local23 >= 0 && local19 >= 0 && local23 < 208 && local19 < 208 && local27 >= 0 && local31 >= 0 && local27 < 208 && local31 < 208 && local45 != 65535) {
|
||||
local31 *= 64;
|
||||
local27 = local27 * 64;
|
||||
local19 = local19 * 64;
|
||||
local23 = local23 * 64;
|
||||
local317 = new ProjAnim(local45, Static55.level, local23, local19, Static207.method3685(Static55.level, local23, local19) - local218, Static83.loop + local228, local232 + Static83.loop, local236, local247, local39, local224);
|
||||
local317.method3705(local31, Static83.loop + local228, -local224 + Static207.method3685(Static55.level, local27, local31), local27);
|
||||
local317 = new ProjAnim(local45, Static55.level, local23, local19, SceneGraph.getTileHeight(Static55.level, local23, local19) - local218, Static83.loop + local228, local232 + Static83.loop, local236, local247, local39, local224);
|
||||
local317.method3705(local31, Static83.loop + local228, -local224 + SceneGraph.getTileHeight(Static55.level, local27, local31), local27);
|
||||
Static217.aClass69_116.addTail(new ProjAnimNode(local317));
|
||||
}
|
||||
} else if (Static164.anInt3985 == 17) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
} else if (Protocol.opcode == 17) {
|
||||
local15 = Protocol.inboundBuffer.g1();
|
||||
local23 = Static115.anInt2940 + (local15 >> 4 & 0x7);
|
||||
local19 = Static180.anInt4264 + (local15 & 0x7);
|
||||
local27 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local39 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local27 = Protocol.inboundBuffer.g2();
|
||||
local31 = Protocol.inboundBuffer.g1();
|
||||
local39 = Protocol.inboundBuffer.g2();
|
||||
if (local23 >= 0 && local19 >= 0 && local23 < 104 && local19 < 104) {
|
||||
local23 = local23 * 128 + 64;
|
||||
local19 = local19 * 128 + 64;
|
||||
@Pc(427) SpotAnim local427 = new SpotAnim(local27, Static55.level, local23, local19, Static207.method3685(Static55.level, local23, local19) - local31, local39, Static83.loop);
|
||||
@Pc(427) SpotAnim local427 = new SpotAnim(local27, Static55.level, local23, local19, SceneGraph.getTileHeight(Static55.level, local23, local19) - local31, local39, Static83.loop);
|
||||
Static99.aClass69_64.addTail(new SpotAnimNode(local427));
|
||||
}
|
||||
} else if (Static164.anInt3985 == 179) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1add();
|
||||
} else if (Protocol.opcode == 179) {
|
||||
local15 = Protocol.inboundBuffer.g1add();
|
||||
local23 = local15 >> 2;
|
||||
local19 = local15 & 0x3;
|
||||
local27 = Static133.anIntArray453[local23];
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local31 = Protocol.inboundBuffer.g1();
|
||||
local39 = Static115.anInt2940 + (local31 >> 4 & 0x7);
|
||||
local45 = (local31 & 0x7) + Static180.anInt4264;
|
||||
local218 = Static57.aClass3_Sub15_Sub1_3.g2sub();
|
||||
local218 = Protocol.inboundBuffer.g2sub();
|
||||
if (local39 >= 0 && local45 >= 0 && local39 < 104 && local45 < 104) {
|
||||
Static29.method800(Static55.level, local45, local19, local39, -1, local218, local27, local23, 0);
|
||||
}
|
||||
} else if (Static164.anInt3985 == 20) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1ssub();
|
||||
} else if (Protocol.opcode == 20) {
|
||||
local15 = Protocol.inboundBuffer.g1ssub();
|
||||
local23 = (local15 >> 4 & 0x7) + Static115.anInt2940;
|
||||
local19 = Static180.anInt4264 + (local15 & 0x7);
|
||||
local27 = Static57.aClass3_Sub15_Sub1_3.g1ssub();
|
||||
local27 = Protocol.inboundBuffer.g1ssub();
|
||||
local31 = local27 >> 2;
|
||||
local39 = local27 & 0x3;
|
||||
local45 = Static133.anIntArray453[local31];
|
||||
local218 = Static57.aClass3_Sub15_Sub1_3.g2le();
|
||||
local218 = Protocol.inboundBuffer.g2le();
|
||||
if (local218 == 65535) {
|
||||
local218 = -1;
|
||||
}
|
||||
Static92.method1881(Static55.level, local39, local31, local19, local45, local23, local218);
|
||||
} else {
|
||||
@Pc(633) int local633;
|
||||
if (Static164.anInt3985 == 202) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
if (Protocol.opcode == 202) {
|
||||
local15 = Protocol.inboundBuffer.g1();
|
||||
local23 = local15 >> 2;
|
||||
local19 = local15 & 0x3;
|
||||
local27 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local27 = Protocol.inboundBuffer.g1();
|
||||
local31 = (local27 >> 4 & 0x7) + Static115.anInt2940;
|
||||
local39 = (local27 & 0x7) + Static180.anInt4264;
|
||||
@Pc(605) byte local605 = Static57.aClass3_Sub15_Sub1_3.p1sub();
|
||||
@Pc(609) byte local609 = Static57.aClass3_Sub15_Sub1_3.p1sub();
|
||||
@Pc(613) byte local613 = Static57.aClass3_Sub15_Sub1_3.g1sub();
|
||||
local228 = Static57.aClass3_Sub15_Sub1_3.g2sub();
|
||||
local232 = Static57.aClass3_Sub15_Sub1_3.g2le();
|
||||
@Pc(625) byte local625 = Static57.aClass3_Sub15_Sub1_3.g1s();
|
||||
local247 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local633 = Static57.aClass3_Sub15_Sub1_3.g2lesadd();
|
||||
@Pc(605) byte local605 = Protocol.inboundBuffer.p1sub();
|
||||
@Pc(609) byte local609 = Protocol.inboundBuffer.p1sub();
|
||||
@Pc(613) byte local613 = Protocol.inboundBuffer.g1sub();
|
||||
local228 = Protocol.inboundBuffer.g2sub();
|
||||
local232 = Protocol.inboundBuffer.g2le();
|
||||
@Pc(625) byte local625 = Protocol.inboundBuffer.g1s();
|
||||
local247 = Protocol.inboundBuffer.g2();
|
||||
local633 = Protocol.inboundBuffer.g2lesadd();
|
||||
if (!GlRenderer.enabled) {
|
||||
Static170.method2574(local625, local247, local633, local232, local39, local613, local19, local605, local31, local23, local609, local228);
|
||||
}
|
||||
}
|
||||
if (Static164.anInt3985 == 14) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
if (Protocol.opcode == 14) {
|
||||
local15 = Protocol.inboundBuffer.g1();
|
||||
local19 = Static180.anInt4264 + (local15 & 0x7);
|
||||
local23 = (local15 >> 4 & 0x7) + Static115.anInt2940;
|
||||
local27 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local39 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local27 = Protocol.inboundBuffer.g2();
|
||||
local31 = Protocol.inboundBuffer.g2();
|
||||
local39 = Protocol.inboundBuffer.g2();
|
||||
if (local23 >= 0 && local19 >= 0 && local23 < 104 && local19 < 104) {
|
||||
@Pc(710) LinkedList local710 = Static159.aClass69ArrayArrayArray1[Static55.level][local23][local19];
|
||||
if (local710 != null) {
|
||||
|
|
@ -315,14 +178,14 @@ public final class Static75 {
|
|||
Static220.spawnGroundObject(local19, local23);
|
||||
}
|
||||
}
|
||||
} else if (Static164.anInt3985 == 135) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g2leadd();
|
||||
local23 = Static57.aClass3_Sub15_Sub1_3.p1neg();
|
||||
} else if (Protocol.opcode == 135) {
|
||||
local15 = Protocol.inboundBuffer.g2leadd();
|
||||
local23 = Protocol.inboundBuffer.p1neg();
|
||||
local27 = Static180.anInt4264 + (local23 & 0x7);
|
||||
local19 = (local23 >> 4 & 0x7) + Static115.anInt2940;
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g2le();
|
||||
local39 = Static57.aClass3_Sub15_Sub1_3.g2le();
|
||||
if (local19 >= 0 && local27 >= 0 && local19 < 104 && local27 < 104 && Static16.anInt549 != local15) {
|
||||
local31 = Protocol.inboundBuffer.g2le();
|
||||
local39 = Protocol.inboundBuffer.g2le();
|
||||
if (local19 >= 0 && local27 >= 0 && local19 < 104 && local27 < 104 && PlayerList.selfId != local15) {
|
||||
@Pc(812) ObjStack local812 = new ObjStack();
|
||||
local812.anInt5550 = local31;
|
||||
local812.anInt5555 = local39;
|
||||
|
|
@ -332,20 +195,20 @@ public final class Static75 {
|
|||
Static159.aClass69ArrayArrayArray1[Static55.level][local19][local27].addTail(new ObjStackNode(local812));
|
||||
Static220.spawnGroundObject(local27, local19);
|
||||
}
|
||||
} else if (Static164.anInt3985 == 16) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
} else if (Protocol.opcode == 16) {
|
||||
local15 = Protocol.inboundBuffer.g1();
|
||||
local23 = Static115.anInt2940 + (local15 >> 4 & 0x7);
|
||||
local19 = (local15 & 0x7) + Static180.anInt4264;
|
||||
local27 = local23 + Static57.aClass3_Sub15_Sub1_3.g1s();
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g1s() + local19;
|
||||
local39 = Static57.aClass3_Sub15_Sub1_3.g2s();
|
||||
local45 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local218 = Static57.aClass3_Sub15_Sub1_3.g1() * 4;
|
||||
local224 = Static57.aClass3_Sub15_Sub1_3.g1() * 4;
|
||||
local228 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local232 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local236 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local247 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local27 = local23 + Protocol.inboundBuffer.g1s();
|
||||
local31 = Protocol.inboundBuffer.g1s() + local19;
|
||||
local39 = Protocol.inboundBuffer.g2s();
|
||||
local45 = Protocol.inboundBuffer.g2();
|
||||
local218 = Protocol.inboundBuffer.g1() * 4;
|
||||
local224 = Protocol.inboundBuffer.g1() * 4;
|
||||
local228 = Protocol.inboundBuffer.g2();
|
||||
local232 = Protocol.inboundBuffer.g2();
|
||||
local236 = Protocol.inboundBuffer.g1();
|
||||
local247 = Protocol.inboundBuffer.g1();
|
||||
if (local236 == 255) {
|
||||
local236 = -1;
|
||||
}
|
||||
|
|
@ -354,25 +217,25 @@ public final class Static75 {
|
|||
local19 = local19 * 128 + 64;
|
||||
local23 = local23 * 128 + 64;
|
||||
local27 = local27 * 128 + 64;
|
||||
local317 = new ProjAnim(local45, Static55.level, local23, local19, Static207.method3685(Static55.level, local23, local19) - local218, local228 + Static83.loop, local232 + Static83.loop, local236, local247, local39, local224);
|
||||
local317.method3705(local31, Static83.loop + local228, Static207.method3685(Static55.level, local27, local31) - local224, local27);
|
||||
local317 = new ProjAnim(local45, Static55.level, local23, local19, SceneGraph.getTileHeight(Static55.level, local23, local19) - local218, local228 + Static83.loop, local232 + Static83.loop, local236, local247, local39, local224);
|
||||
local317.method3705(local31, Static83.loop + local228, SceneGraph.getTileHeight(Static55.level, local27, local31) - local224, local27);
|
||||
Static217.aClass69_116.addTail(new ProjAnimNode(local317));
|
||||
}
|
||||
} else if (Static164.anInt3985 == 104) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
} else if (Protocol.opcode == 104) {
|
||||
local15 = Protocol.inboundBuffer.g1();
|
||||
local19 = Static180.anInt4264 * 2 + (local15 & 0xF);
|
||||
local23 = Static115.anInt2940 * 2 + (local15 >> 4 & 0xF);
|
||||
local27 = Static57.aClass3_Sub15_Sub1_3.g1s() + local23;
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g1s() + local19;
|
||||
local39 = Static57.aClass3_Sub15_Sub1_3.g2s();
|
||||
local45 = Static57.aClass3_Sub15_Sub1_3.g2s();
|
||||
local218 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local224 = Static57.aClass3_Sub15_Sub1_3.g1s();
|
||||
local228 = Static57.aClass3_Sub15_Sub1_3.g1() * 4;
|
||||
local232 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local236 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local247 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local633 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local27 = Protocol.inboundBuffer.g1s() + local23;
|
||||
local31 = Protocol.inboundBuffer.g1s() + local19;
|
||||
local39 = Protocol.inboundBuffer.g2s();
|
||||
local45 = Protocol.inboundBuffer.g2s();
|
||||
local218 = Protocol.inboundBuffer.g2();
|
||||
local224 = Protocol.inboundBuffer.g1s();
|
||||
local228 = Protocol.inboundBuffer.g1() * 4;
|
||||
local232 = Protocol.inboundBuffer.g2();
|
||||
local236 = Protocol.inboundBuffer.g2();
|
||||
local247 = Protocol.inboundBuffer.g1();
|
||||
local633 = Protocol.inboundBuffer.g1();
|
||||
if (local247 == 255) {
|
||||
local247 = -1;
|
||||
}
|
||||
|
|
@ -395,7 +258,7 @@ public final class Static75 {
|
|||
local1184 = -local39 - 1;
|
||||
local1194 = local1184 >> 11 & 0xF;
|
||||
local1188 = local1184 & 0x7FF;
|
||||
if (Static16.anInt549 == local1188) {
|
||||
if (PlayerList.selfId == local1188) {
|
||||
local1198 = PlayerList.self;
|
||||
} else {
|
||||
local1198 = Static159.players[local1188];
|
||||
|
|
@ -416,38 +279,38 @@ public final class Static75 {
|
|||
}
|
||||
}
|
||||
}
|
||||
@Pc(1331) ProjAnim local1331 = new ProjAnim(local218, Static55.level, local23, local19, Static207.method3685(Static55.level, local23, local19) - local224, local232 + Static83.loop, local236 + Static83.loop, local247, local633, local45, local228);
|
||||
local1331.method3705(local31, local232 + Static83.loop, -local228 + Static207.method3685(Static55.level, local27, local31), local27);
|
||||
@Pc(1331) ProjAnim local1331 = new ProjAnim(local218, Static55.level, local23, local19, SceneGraph.getTileHeight(Static55.level, local23, local19) - local224, local232 + Static83.loop, local236 + Static83.loop, local247, local633, local45, local228);
|
||||
local1331.method3705(local31, local232 + Static83.loop, -local228 + SceneGraph.getTileHeight(Static55.level, local27, local31), local27);
|
||||
Static217.aClass69_116.addTail(new ProjAnimNode(local1331));
|
||||
}
|
||||
} else if (Static164.anInt3985 == 97) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
} else if (Protocol.opcode == 97) {
|
||||
local15 = Protocol.inboundBuffer.g1();
|
||||
local23 = Static115.anInt2940 + (local15 >> 4 & 0x7);
|
||||
local19 = Static180.anInt4264 + (local15 & 0x7);
|
||||
local27 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local27 = Protocol.inboundBuffer.g2();
|
||||
if (local27 == 65535) {
|
||||
local27 = -1;
|
||||
}
|
||||
local31 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local31 = Protocol.inboundBuffer.g1();
|
||||
local39 = local31 >> 4 & 0xF;
|
||||
local218 = Static57.aClass3_Sub15_Sub1_3.g1();
|
||||
local218 = Protocol.inboundBuffer.g1();
|
||||
local45 = local31 & 0x7;
|
||||
if (local23 >= 0 && local19 >= 0 && local23 < 104 && local19 < 104) {
|
||||
local224 = local39 + 1;
|
||||
if (PlayerList.self.movementQueueX[0] >= local23 - local224 && local224 + local23 >= PlayerList.self.movementQueueX[0] && PlayerList.self.movementQueueZ[0] >= local19 - local224 && PlayerList.self.movementQueueZ[0] <= local224 + local19 && Preferences.ambientSoundsVolume != 0 && local45 > 0 && Static189.anInt4451 < 50 && local27 != -1) {
|
||||
Static200.anIntArray421[Static189.anInt4451] = local27;
|
||||
Static276.anIntArray563[Static189.anInt4451] = local45;
|
||||
Static164.anIntArray362[Static189.anInt4451] = local218;
|
||||
Static173.aClass138Array1[Static189.anInt4451] = null;
|
||||
Static26.anIntArray68[Static189.anInt4451] = local39 + (local23 << 16) + (local19 << 8);
|
||||
Static189.anInt4451++;
|
||||
if (PlayerList.self.movementQueueX[0] >= local23 - local224 && local224 + local23 >= PlayerList.self.movementQueueX[0] && PlayerList.self.movementQueueZ[0] >= local19 - local224 && PlayerList.self.movementQueueZ[0] <= local224 + local19 && Preferences.ambientSoundsVolume != 0 && local45 > 0 && SoundPlayer.anInt4451 < 50 && local27 != -1) {
|
||||
SoundPlayer.anIntArray421[SoundPlayer.anInt4451] = local27;
|
||||
SoundPlayer.anIntArray563[SoundPlayer.anInt4451] = local45;
|
||||
SoundPlayer.anIntArray362[SoundPlayer.anInt4451] = local218;
|
||||
SoundPlayer.aClass138Array1[SoundPlayer.anInt4451] = null;
|
||||
SoundPlayer.anIntArray68[SoundPlayer.anInt4451] = local39 + (local23 << 16) + (local19 << 8);
|
||||
SoundPlayer.anInt4451++;
|
||||
}
|
||||
}
|
||||
} else if (Static164.anInt3985 == 240) {
|
||||
local15 = Static57.aClass3_Sub15_Sub1_3.g1ssub();
|
||||
} else if (Protocol.opcode == 240) {
|
||||
local15 = Protocol.inboundBuffer.g1ssub();
|
||||
local19 = Static180.anInt4264 + (local15 & 0x7);
|
||||
local23 = (local15 >> 4 & 0x7) + Static115.anInt2940;
|
||||
local27 = Static57.aClass3_Sub15_Sub1_3.g2();
|
||||
local27 = Protocol.inboundBuffer.g2();
|
||||
if (local23 >= 0 && local19 >= 0 && local23 < 104 && local19 < 104) {
|
||||
@Pc(1565) LinkedList local1565 = Static159.aClass69ArrayArrayArray1[Static55.level][local23][local19];
|
||||
if (local1565 != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue