mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-13 18:10:20 -07:00
Refactor client.mainLoad
This commit is contained in:
parent
c2553bfafb
commit
16e8148b7a
148 changed files with 1021 additions and 1023 deletions
|
|
@ -64,7 +64,7 @@ public final class client extends GameShell {
|
|||
Static279.anInt5880 = 0;
|
||||
Static178.aBoolean203 = false;
|
||||
Static204.anInt4760 = 0;
|
||||
Static47.aClass100_991 = Static186.aClass100_827;
|
||||
Static47.aClass100_991 = Static186.EMPTY_FILE;
|
||||
@Pc(146) client local146 = new client();
|
||||
Static215.aClient1 = local146;
|
||||
local146.startApplication(Static81.modeWhat + 32, "runescape");
|
||||
|
|
@ -81,11 +81,11 @@ public final class client extends GameShell {
|
|||
return;
|
||||
}
|
||||
@Pc(15) boolean local15 = Static138.method2699();
|
||||
if (local15 && Static144.aBoolean173 && Static11.aClass62_1 != null) {
|
||||
Static11.aClass62_1.method3570();
|
||||
if (local15 && Static144.aBoolean173 && Static11.musicChannel != null) {
|
||||
Static11.musicChannel.method3570();
|
||||
}
|
||||
if ((Static244.anInt5370 == 30 || Static244.anInt5370 == 10) && (GameShell.replaceCanvas || Static97.aLong89 != 0L && Static97.aLong89 < MonotonicClock.currentTimeMillis())) {
|
||||
Static241.method4540(GameShell.replaceCanvas, Static144.method2736(), Static114.anInt5831, Static22.anInt729);
|
||||
Static241.setWindowMode(GameShell.replaceCanvas, Static144.method2736(), Static114.anInt5831, Static22.anInt729);
|
||||
}
|
||||
@Pc(80) int local80;
|
||||
@Pc(84) int local84;
|
||||
|
|
@ -111,7 +111,7 @@ public final class client extends GameShell {
|
|||
}
|
||||
}
|
||||
if (GameShell.fullScreenFrame != null && !GameShell.focus && (Static244.anInt5370 == 30 || Static244.anInt5370 == 10)) {
|
||||
Static241.method4540(false, Static214.anInt5581, -1, -1);
|
||||
Static241.setWindowMode(false, Static214.windowMode, -1, -1);
|
||||
}
|
||||
@Pc(158) boolean local158 = false;
|
||||
if (GameShell.fullRedraw) {
|
||||
|
|
@ -127,7 +127,7 @@ public final class client extends GameShell {
|
|||
}
|
||||
}
|
||||
if (Static244.anInt5370 == 0) {
|
||||
Static13.method473(null, local158, Static126.aClass100_602, Static199.anInt4670);
|
||||
Static13.method473(null, local158, Static126.mainLoadSecondaryText, Static199.mainLoadPercentage);
|
||||
} else if (Static244.anInt5370 == 5) {
|
||||
Static182.method3359(false, Static280.aClass3_Sub2_Sub9_43);
|
||||
} else if (Static244.anInt5370 == 10) {
|
||||
|
|
@ -138,20 +138,20 @@ public final class client extends GameShell {
|
|||
Static230.anInt5150 = Static175.anInt4220;
|
||||
}
|
||||
local80 = (Static230.anInt5150 - Static175.anInt4220) * 50 / Static230.anInt5150;
|
||||
Static114.method4636(false, Static34.method882(new JagString[] { LocalizedText.LOADING, Static229.aClass100_974, Static123.method2423(local80), Static14.aClass100_80 }));
|
||||
Static114.method4636(false, Static34.concatenate(new JagString[] { LocalizedText.LOADING, Static229.aClass100_974, Static123.parseInt(local80), Static14.aClass100_80 }));
|
||||
} else if (Static233.anInt5223 == 2) {
|
||||
if (Static38.anInt1196 < Static271.anInt5804) {
|
||||
Static38.anInt1196 = Static271.anInt5804;
|
||||
}
|
||||
local80 = (Static38.anInt1196 - Static271.anInt5804) * 50 / Static38.anInt1196 + 50;
|
||||
Static114.method4636(false, Static34.method882(new JagString[] { LocalizedText.LOADING, Static229.aClass100_974, Static123.method2423(local80), Static14.aClass100_80 }));
|
||||
Static114.method4636(false, Static34.concatenate(new JagString[] { LocalizedText.LOADING, Static229.aClass100_974, Static123.parseInt(local80), Static14.aClass100_80 }));
|
||||
} else {
|
||||
Static114.method4636(false, LocalizedText.LOADING);
|
||||
}
|
||||
} else if (Static244.anInt5370 == 30) {
|
||||
Static89.method1841();
|
||||
} else if (Static244.anInt5370 == 40) {
|
||||
Static114.method4636(false, Static34.method882(new JagString[] { LocalizedText.CONLOST, Static269.aClass100_556, LocalizedText.ATTEMPT_TO_REESTABLISH}));
|
||||
Static114.method4636(false, Static34.concatenate(new JagString[] { LocalizedText.CONLOST, Static269.aClass100_556, LocalizedText.ATTEMPT_TO_REESTABLISH}));
|
||||
}
|
||||
if (GlRenderer.enabled && Static244.anInt5370 != 0) {
|
||||
GlRenderer.method4153();
|
||||
|
|
@ -165,7 +165,7 @@ public final class client extends GameShell {
|
|||
local388 = GameShell.canvas.getGraphics();
|
||||
for (local84 = 0; local84 < Static24.anInt766; local84++) {
|
||||
if (Static31.aBooleanArray29[local84]) {
|
||||
Static260.frameBuffer.method4191(Static224.anIntArray443[local84], Static264.anIntArray410[local84], Static67.anIntArray320[local84], local388, Static50.anIntArray133[local84]);
|
||||
Static260.frameBuffer.drawAt(Static224.anIntArray443[local84], Static264.anIntArray410[local84], Static67.anIntArray320[local84], local388, Static50.anIntArray133[local84]);
|
||||
Static31.aBooleanArray29[local84] = false;
|
||||
}
|
||||
}
|
||||
|
|
@ -184,12 +184,12 @@ public final class client extends GameShell {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (Static107.aBoolean147) {
|
||||
if (Static107.clean) {
|
||||
Static213.method3729();
|
||||
}
|
||||
if (Static164.aBoolean191 && Static244.anInt5370 == 10 && Static154.topLevelInterace != -1) {
|
||||
Static164.aBoolean191 = false;
|
||||
Static203.method3663(GameShell.signLink);
|
||||
if (Static164.safeMode && Static244.anInt5370 == 10 && Static154.topLevelInterace != -1) {
|
||||
Static164.safeMode = false;
|
||||
Static203.write(GameShell.signLink);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -222,11 +222,11 @@ public final class client extends GameShell {
|
|||
Static6.method82();
|
||||
Static251.method4277();
|
||||
Static71.mouseWheel = null;
|
||||
if (Static11.aClass62_1 != null) {
|
||||
Static11.aClass62_1.method3575();
|
||||
if (Static11.musicChannel != null) {
|
||||
Static11.musicChannel.method3575();
|
||||
}
|
||||
if (Static147.aClass62_2 != null) {
|
||||
Static147.aClass62_2.method3575();
|
||||
if (Static147.soundChannel != null) {
|
||||
Static147.soundChannel.method3575();
|
||||
}
|
||||
Static107.js5NetQueue.method2329();
|
||||
Static86.js5CacheQueue.method2466();
|
||||
|
|
@ -303,7 +303,7 @@ public final class client extends GameShell {
|
|||
}
|
||||
Static47.aClass100_991 = Static227.aClass100_966.method3153(this);
|
||||
if (Static47.aClass100_991 == null) {
|
||||
Static47.aClass100_991 = Static186.aClass100_827;
|
||||
Static47.aClass100_991 = Static186.EMPTY_FILE;
|
||||
}
|
||||
@Pc(146) String local146 = this.getParameter("country");
|
||||
if (local146 != null) {
|
||||
|
|
@ -440,12 +440,12 @@ public final class client extends GameShell {
|
|||
local66.aByteArray48[0] = 1;
|
||||
local66.movementQueueX[0] = local98 + (local66.anInt3412 >> 7);
|
||||
local66.movementQueueZ[0] = local106 + (local66.anInt3421 >> 7);
|
||||
Static148.aClass97Array1[Static55.level].method3056(local66.anInt3412 >> 7, local66.method2693(), false, 0, local66.method2693(), local66.anInt3421 >> 7);
|
||||
if (local66.movementQueueX[0] >= 0 && local66.movementQueueX[0] <= 104 - local66.method2693() && local66.movementQueueZ[0] >= 0 && local66.movementQueueZ[0] <= 104 - local66.method2693() && Static148.aClass97Array1[Static55.level].method3054(local66.anInt3421 >> 7, local66.movementQueueZ[0], local66.movementQueueX[0], local66.anInt3412 >> 7)) {
|
||||
Static148.collisionMaps[Static55.level].method3056(local66.anInt3412 >> 7, local66.method2693(), false, 0, local66.method2693(), local66.anInt3421 >> 7);
|
||||
if (local66.movementQueueX[0] >= 0 && local66.movementQueueX[0] <= 104 - local66.method2693() && local66.movementQueueZ[0] >= 0 && local66.movementQueueZ[0] <= 104 - local66.method2693() && Static148.collisionMaps[Static55.level].method3054(local66.anInt3421 >> 7, local66.movementQueueZ[0], local66.movementQueueX[0], local66.anInt3412 >> 7)) {
|
||||
if (local66.method2693() > 1) {
|
||||
for (@Pc(226) int local226 = local66.movementQueueX[0]; local66.movementQueueX[0] + local66.method2693() > local226; local226++) {
|
||||
for (@Pc(246) int local246 = local66.movementQueueZ[0]; local66.movementQueueZ[0] + local66.method2693() > local246; local246++) {
|
||||
if ((Static148.aClass97Array1[Static55.level].anIntArrayArray30[local226][local246] & 0x12401FF) != 0) {
|
||||
if ((Static148.collisionMaps[Static55.level].anIntArrayArray30[local226][local246] & 0x12401FF) != 0) {
|
||||
continue label191;
|
||||
}
|
||||
}
|
||||
|
|
@ -458,7 +458,7 @@ public final class client extends GameShell {
|
|||
Static104.method2247(local66);
|
||||
Static37.method949(local66);
|
||||
Static34.method879(local66);
|
||||
Static148.aClass97Array1[Static55.level].method3043(local66.anInt3412 >> 7, false, local66.anInt3421 >> 7, local66.method2693(), local66.method2693());
|
||||
Static148.collisionMaps[Static55.level].method3043(local66.anInt3412 >> 7, false, local66.anInt3421 >> 7, local66.method2693(), local66.method2693());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -629,320 +629,320 @@ public final class client extends GameShell {
|
|||
}
|
||||
|
||||
@OriginalMember(owner = "client!client", name = "i", descriptor = "(I)V")
|
||||
private void method948() {
|
||||
if (!Static164.aBoolean191) {
|
||||
label252: while (true) {
|
||||
private void mainLoad() {
|
||||
if (!Static164.safeMode) {
|
||||
noSafeMode: while (true) {
|
||||
do {
|
||||
if (!Static25.nextKey()) {
|
||||
break label252;
|
||||
break noSafeMode;
|
||||
}
|
||||
} while (Static193.keyChar != 115 && Static193.keyChar != 83);
|
||||
Static164.aBoolean191 = true;
|
||||
Static164.safeMode = true;
|
||||
}
|
||||
}
|
||||
@Pc(43) int local43;
|
||||
if (Static166.anInt4051 == 0) {
|
||||
@Pc(34) Runtime local34 = Runtime.getRuntime();
|
||||
local43 = (int) (0L / 1024L);
|
||||
@Pc(46) long local46 = MonotonicClock.currentTimeMillis();
|
||||
if (Static175.aLong138 == 0L) {
|
||||
Static175.aLong138 = local46;
|
||||
@Pc(43) int i;
|
||||
if (Static166.mainLoadState == 0) {
|
||||
@Pc(34) Runtime runtime = Runtime.getRuntime();
|
||||
i = (int) (0L / 1024L);
|
||||
@Pc(46) long now = MonotonicClock.currentTimeMillis();
|
||||
if (Static175.firstGc == 0L) {
|
||||
Static175.firstGc = now;
|
||||
}
|
||||
if (local43 > 16384 && local46 - Static175.aLong138 < 5000L) {
|
||||
if (local46 - Static160.aLong134 > 1000L) {
|
||||
if (i > 16384 && now - Static175.firstGc < 5000L) {
|
||||
if (now - Static160.prevGc > 1000L) {
|
||||
System.gc();
|
||||
Static160.aLong134 = local46;
|
||||
Static160.prevGc = now;
|
||||
}
|
||||
Static199.anInt4670 = 5;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD0;
|
||||
Static199.mainLoadPercentage = 5;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD0;
|
||||
} else {
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD0B;
|
||||
Static166.anInt4051 = 10;
|
||||
Static199.anInt4670 = 5;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD0B;
|
||||
Static166.mainLoadState = 10;
|
||||
Static199.mainLoadPercentage = 5;
|
||||
}
|
||||
return;
|
||||
}
|
||||
@Pc(98) int local98;
|
||||
if (Static166.anInt4051 == 10) {
|
||||
@Pc(98) int percentage;
|
||||
if (Static166.mainLoadState == 10) {
|
||||
Static120.method2392();
|
||||
for (local98 = 0; local98 < 4; local98++) {
|
||||
Static148.aClass97Array1[local98] = new CollisionMap(104, 104);
|
||||
for (percentage = 0; percentage < 4; percentage++) {
|
||||
Static148.collisionMaps[percentage] = new CollisionMap(104, 104);
|
||||
}
|
||||
Static199.anInt4670 = 10;
|
||||
Static166.anInt4051 = 30;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD10B;
|
||||
} else if (Static166.anInt4051 == 30) {
|
||||
if (Static257.aClass9_2 == null) {
|
||||
Static257.aClass9_2 = new Js5MasterIndex(Static107.js5NetQueue, Static86.js5CacheQueue);
|
||||
Static199.mainLoadPercentage = 10;
|
||||
Static166.mainLoadState = 30;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD10B;
|
||||
} else if (Static166.mainLoadState == 30) {
|
||||
if (Static257.js5MasterIndex == null) {
|
||||
Static257.js5MasterIndex = new Js5MasterIndex(Static107.js5NetQueue, Static86.js5CacheQueue);
|
||||
}
|
||||
if (Static257.aClass9_2.method178()) {
|
||||
Static213.aClass153_88 = Static9.method183(false, true, true, 0);
|
||||
Static249.aClass153_100 = Static9.method183(false, true, true, 1);
|
||||
Static274.aClass153_90 = Static9.method183(true, true, false, 2);
|
||||
Static41.aClass153_25 = Static9.method183(false, true, true, 3);
|
||||
Static248.aClass153_75 = Static9.method183(false, true, true, 4);
|
||||
Static26.aClass153_16 = Static9.method183(true, true, true, 5);
|
||||
Static130.aClass153_47 = Static9.method183(true, false, true, 6);
|
||||
Static267.aClass153_109 = Static9.method183(false, true, true, 7);
|
||||
Static209.aClass153_86 = Static9.method183(false, true, true, 8);
|
||||
Static195.aClass153_80 = Static9.method183(false, true, true, 9);
|
||||
Static184.aClass153_78 = Static9.method183(false, true, true, 10);
|
||||
Static214.aClass153_106 = Static9.method183(false, true, true, 11);
|
||||
Static16.aClass153_9 = Static9.method183(false, true, true, 12);
|
||||
Static261.aClass153_107 = Static9.method183(false, true, true, 13);
|
||||
Static137.aClass153_49 = Static9.method183(false, false, true, 14);
|
||||
Static138.aClass153_51 = Static9.method183(false, true, true, 15);
|
||||
Static280.aClass153_110 = Static9.method183(false, true, true, 16);
|
||||
Static138.aClass153_50 = Static9.method183(false, true, true, 17);
|
||||
Static172.aClass153_71 = Static9.method183(false, true, true, 18);
|
||||
Static171.aClass153_68 = Static9.method183(false, true, true, 19);
|
||||
Static253.aClass153_104 = Static9.method183(false, true, true, 20);
|
||||
Static122.aClass153_46 = Static9.method183(false, true, true, 21);
|
||||
Static156.aClass153_59 = Static9.method183(false, true, true, 22);
|
||||
Static227.aClass153_94 = Static9.method183(true, true, true, 23);
|
||||
Static254.aClass153_105 = Static9.method183(false, true, true, 24);
|
||||
Static28.aClass153_18 = Static9.method183(false, true, true, 25);
|
||||
Static167.aClass153_63 = Static9.method183(true, true, true, 26);
|
||||
Static226.aClass153_93 = Static9.method183(false, true, true, 27);
|
||||
Static199.anInt4670 = 15;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD30B;
|
||||
Static166.anInt4051 = 40;
|
||||
if (Static257.js5MasterIndex.method178()) {
|
||||
Static213.js5Archive0 = Static9.createJs5(false, true, true, 0);
|
||||
Static249.js5Archive1 = Static9.createJs5(false, true, true, 1);
|
||||
Static274.js5Archive2 = Static9.createJs5(true, true, false, 2);
|
||||
Static41.js5Archive3 = Static9.createJs5(false, true, true, 3);
|
||||
Static248.js5Archive4 = Static9.createJs5(false, true, true, 4);
|
||||
Static26.js5Archive5 = Static9.createJs5(true, true, true, 5);
|
||||
Static130.js5Archive6 = Static9.createJs5(true, false, true, 6);
|
||||
Static267.js5Archive7 = Static9.createJs5(false, true, true, 7);
|
||||
Static209.js5Archive8 = Static9.createJs5(false, true, true, 8);
|
||||
Static195.js5Archive9 = Static9.createJs5(false, true, true, 9);
|
||||
Static184.js5Archive10 = Static9.createJs5(false, true, true, 10);
|
||||
Static214.js5Archive11 = Static9.createJs5(false, true, true, 11);
|
||||
Static16.js5Archive12 = Static9.createJs5(false, true, true, 12);
|
||||
Static261.js5Archive13 = Static9.createJs5(false, true, true, 13);
|
||||
Static137.js5Archive14 = Static9.createJs5(false, false, true, 14);
|
||||
Static138.js5Archive15 = Static9.createJs5(false, true, true, 15);
|
||||
Static280.js5Archive16 = Static9.createJs5(false, true, true, 16);
|
||||
Static138.js5Archive17 = Static9.createJs5(false, true, true, 17);
|
||||
Static172.js5Archive18 = Static9.createJs5(false, true, true, 18);
|
||||
Static171.js5Archive19 = Static9.createJs5(false, true, true, 19);
|
||||
Static253.js5Archive20 = Static9.createJs5(false, true, true, 20);
|
||||
Static122.js5Archive21 = Static9.createJs5(false, true, true, 21);
|
||||
Static156.js5Archive22 = Static9.createJs5(false, true, true, 22);
|
||||
Static227.js5Archive23 = Static9.createJs5(true, true, true, 23);
|
||||
Static254.js5Archive24 = Static9.createJs5(false, true, true, 24);
|
||||
Static28.js5Archive25 = Static9.createJs5(false, true, true, 25);
|
||||
Static167.js5Archive26 = Static9.createJs5(true, true, true, 26);
|
||||
Static226.js5Archive27 = Static9.createJs5(false, true, true, 27);
|
||||
Static199.mainLoadPercentage = 15;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD30B;
|
||||
Static166.mainLoadState = 40;
|
||||
} else {
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD30;
|
||||
Static199.anInt4670 = 12;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD30;
|
||||
Static199.mainLoadPercentage = 12;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 40) {
|
||||
local98 = 0;
|
||||
for (local43 = 0; local43 < 28; local43++) {
|
||||
local98 += Static269.aClass14_Sub1Array3[local43].method538() * Static170.anIntArray306[local43] / 100;
|
||||
} else if (Static166.mainLoadState == 40) {
|
||||
percentage = 0;
|
||||
for (i = 0; i < 28; i++) {
|
||||
percentage += Static269.js5Providers[i].getIndexPercentageComplete() * Static170.JS5_ARCHIVE_WEIGHTS[i] / 100;
|
||||
}
|
||||
if (local98 == 100) {
|
||||
Static199.anInt4670 = 20;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD40B;
|
||||
Static75.method1635(Static209.aClass153_86);
|
||||
Static167.method3172(Static209.aClass153_86);
|
||||
Static81.method1754(Static209.aClass153_86);
|
||||
Static166.anInt4051 = 45;
|
||||
if (percentage == 100) {
|
||||
Static199.mainLoadPercentage = 20;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD40B;
|
||||
Static75.init(Static209.js5Archive8);
|
||||
Static167.init(Static209.js5Archive8);
|
||||
Static81.init(Static209.js5Archive8);
|
||||
Static166.mainLoadState = 45;
|
||||
} else {
|
||||
if (local98 != 0) {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.CHECKING_FOR_UPDATES, Static123.method2423(local98), Static49.aClass100_352 });
|
||||
if (percentage != 0) {
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.CHECKING_FOR_UPDATES, Static123.parseInt(percentage), Static49.PERCENT_SIGN});
|
||||
}
|
||||
Static199.anInt4670 = 20;
|
||||
Static199.mainLoadPercentage = 20;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 45) {
|
||||
Static41.method1045(Static99.aBoolean143);
|
||||
Static148.aClass3_Sub3_Sub4_1 = new MidiPcmStream();
|
||||
Static148.aClass3_Sub3_Sub4_1.method4420();
|
||||
Static11.aClass62_1 = Static107.method2262(22050, GameShell.signLink, GameShell.canvas, 0);
|
||||
Static11.aClass62_1.method3566(Static148.aClass3_Sub3_Sub4_1);
|
||||
Static34.method876(Static148.aClass3_Sub3_Sub4_1, Static138.aClass153_51, Static137.aClass153_49, Static248.aClass153_75);
|
||||
Static147.aClass62_2 = Static107.method2262(2048, GameShell.signLink, GameShell.canvas, 1);
|
||||
Static204.aClass3_Sub3_Sub2_1 = new MixerPcmStream();
|
||||
Static147.aClass62_2.method3566(Static204.aClass3_Sub3_Sub2_1);
|
||||
Static56.aClass156_1 = new Resampler(22050, Static44.sampleRate);
|
||||
Static250.anInt5441 = Static130.aClass153_47.method4482(Static1.aClass100_1);
|
||||
Static199.anInt4670 = 30;
|
||||
Static166.anInt4051 = 50;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD45B;
|
||||
} else if (Static166.anInt4051 == 50) {
|
||||
local98 = Static74.method1628(Static209.aClass153_86, Static261.aClass153_107);
|
||||
local43 = Static143.method2732();
|
||||
if (local98 >= local43) {
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD50B;
|
||||
Static199.anInt4670 = 35;
|
||||
Static166.anInt4051 = 60;
|
||||
} else if (Static166.mainLoadState == 45) {
|
||||
AudioChannel.init(Static99.stereo);
|
||||
Static148.musicStream = new MidiPcmStream();
|
||||
Static148.musicStream.init();
|
||||
Static11.musicChannel = AudioChannel.create(22050, GameShell.signLink, GameShell.canvas, 0);
|
||||
Static11.musicChannel.setStream(Static148.musicStream);
|
||||
Static34.init(Static148.musicStream, Static138.js5Archive15, Static137.js5Archive14, Static248.js5Archive4);
|
||||
Static147.soundChannel = AudioChannel.create(2048, GameShell.signLink, GameShell.canvas, 1);
|
||||
Static204.soundStream = new MixerPcmStream();
|
||||
Static147.soundChannel.setStream(Static204.soundStream);
|
||||
Static56.resampler = new Resampler(22050, Static44.sampleRate);
|
||||
Static250.titleSong = Static130.js5Archive6.getGroupId(Static1.TITLE_SONG);
|
||||
Static199.mainLoadPercentage = 30;
|
||||
Static166.mainLoadState = 50;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD45B;
|
||||
} else if (Static166.mainLoadState == 50) {
|
||||
percentage = Static74.getReady(Static209.js5Archive8, Static261.js5Archive13);
|
||||
i = Static143.getTotal();
|
||||
if (percentage >= i) {
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD50B;
|
||||
Static199.mainLoadPercentage = 35;
|
||||
Static166.mainLoadState = 60;
|
||||
} else {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD50, Static123.method2423(local98 * 100 / local43), Static49.aClass100_352 });
|
||||
Static199.anInt4670 = 35;
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD50, Static123.parseInt(percentage * 100 / i), Static49.PERCENT_SIGN});
|
||||
Static199.mainLoadPercentage = 35;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 60) {
|
||||
local98 = Static150.method2797(Static209.aClass153_86);
|
||||
local43 = Static104.method2252();
|
||||
if (local43 <= local98) {
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD60B;
|
||||
Static166.anInt4051 = 65;
|
||||
Static199.anInt4670 = 40;
|
||||
} else if (Static166.mainLoadState == 60) {
|
||||
percentage = Static150.getReady(Static209.js5Archive8);
|
||||
i = Static104.getTotal();
|
||||
if (i <= percentage) {
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD60B;
|
||||
Static166.mainLoadState = 65;
|
||||
Static199.mainLoadPercentage = 40;
|
||||
} else {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD60, Static123.method2423(local98 * 100 / local43), Static49.aClass100_352 });
|
||||
Static199.anInt4670 = 40;
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD60, Static123.parseInt(percentage * 100 / i), Static49.PERCENT_SIGN});
|
||||
Static199.mainLoadPercentage = 40;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 65) {
|
||||
Static102.method2074(Static261.aClass153_107, Static209.aClass153_86);
|
||||
Static199.anInt4670 = 45;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD65B;
|
||||
} else if (Static166.mainLoadState == 65) {
|
||||
Static102.load(Static261.js5Archive13, Static209.js5Archive8);
|
||||
Static199.mainLoadPercentage = 45;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD65B;
|
||||
Static196.method3534(5);
|
||||
Static166.anInt4051 = 70;
|
||||
} else if (Static166.anInt4051 == 70) {
|
||||
Static274.aClass153_90.method4475();
|
||||
local98 = Static274.aClass153_90.method4498();
|
||||
Static280.aClass153_110.method4475();
|
||||
local98 += Static280.aClass153_110.method4498();
|
||||
Static138.aClass153_50.method4475();
|
||||
local98 += Static138.aClass153_50.method4498();
|
||||
Static172.aClass153_71.method4475();
|
||||
local98 += Static172.aClass153_71.method4498();
|
||||
Static171.aClass153_68.method4475();
|
||||
local98 += Static171.aClass153_68.method4498();
|
||||
Static253.aClass153_104.method4475();
|
||||
local98 += Static253.aClass153_104.method4498();
|
||||
Static122.aClass153_46.method4475();
|
||||
local98 += Static122.aClass153_46.method4498();
|
||||
Static156.aClass153_59.method4475();
|
||||
local98 += Static156.aClass153_59.method4498();
|
||||
Static254.aClass153_105.method4475();
|
||||
local98 += Static254.aClass153_105.method4498();
|
||||
Static28.aClass153_18.method4475();
|
||||
local98 += Static28.aClass153_18.method4498();
|
||||
Static226.aClass153_93.method4475();
|
||||
local98 += Static226.aClass153_93.method4498();
|
||||
if (local98 >= 1100) {
|
||||
Static226.method3899(Static274.aClass153_90);
|
||||
Static199.method3595(Static274.aClass153_90);
|
||||
Static91.method1878(Static274.aClass153_90);
|
||||
Static125.method2446(Static267.aClass153_109, Static274.aClass153_90);
|
||||
Static181.method3349(Static280.aClass153_110, Static267.aClass153_109);
|
||||
Static88.method1817(Static267.aClass153_109, Static172.aClass153_71);
|
||||
Static241.method4542(Static171.aClass153_68, Static265.aClass3_Sub2_Sub9_Sub1_2, Static267.aClass153_109);
|
||||
Static58.method1322(Static274.aClass153_90);
|
||||
Static141.method2724(Static249.aClass153_100, Static253.aClass153_104, Static213.aClass153_88);
|
||||
Static79.method1703(Static274.aClass153_90);
|
||||
Static266.method4187(Static267.aClass153_109, Static122.aClass153_46);
|
||||
Static180.method3327(Static156.aClass153_59);
|
||||
Static230.method3951(Static274.aClass153_90);
|
||||
Static3.method4661(Static261.aClass153_107, Static209.aClass153_86, Static41.aClass153_25, Static267.aClass153_109);
|
||||
Static119.method2384(Static274.aClass153_90);
|
||||
Static85.method1774(Static138.aClass153_50);
|
||||
Static59.method1374(Static28.aClass153_18, Static254.aClass153_105, new Js5QuickChatCommandDecoder());
|
||||
Static115.method2311(Static28.aClass153_18, Static254.aClass153_105);
|
||||
Static107.method2264(Static274.aClass153_90);
|
||||
Static246.method4237(Static274.aClass153_90, Static209.aClass153_86);
|
||||
Static180.method3324(Static274.aClass153_90, Static209.aClass153_86);
|
||||
Static199.anInt4670 = 50;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD70B;
|
||||
Static58.method1321();
|
||||
Static166.anInt4051 = 80;
|
||||
Static166.mainLoadState = 70;
|
||||
} else if (Static166.mainLoadState == 70) {
|
||||
Static274.js5Archive2.fetchAll();
|
||||
percentage = Static274.js5Archive2.getPercentageComplete();
|
||||
Static280.js5Archive16.fetchAll();
|
||||
percentage += Static280.js5Archive16.getPercentageComplete();
|
||||
Static138.js5Archive17.fetchAll();
|
||||
percentage += Static138.js5Archive17.getPercentageComplete();
|
||||
Static172.js5Archive18.fetchAll();
|
||||
percentage += Static172.js5Archive18.getPercentageComplete();
|
||||
Static171.js5Archive19.fetchAll();
|
||||
percentage += Static171.js5Archive19.getPercentageComplete();
|
||||
Static253.js5Archive20.fetchAll();
|
||||
percentage += Static253.js5Archive20.getPercentageComplete();
|
||||
Static122.js5Archive21.fetchAll();
|
||||
percentage += Static122.js5Archive21.getPercentageComplete();
|
||||
Static156.js5Archive22.fetchAll();
|
||||
percentage += Static156.js5Archive22.getPercentageComplete();
|
||||
Static254.js5Archive24.fetchAll();
|
||||
percentage += Static254.js5Archive24.getPercentageComplete();
|
||||
Static28.js5Archive25.fetchAll();
|
||||
percentage += Static28.js5Archive25.getPercentageComplete();
|
||||
Static226.js5Archive27.fetchAll();
|
||||
percentage += Static226.js5Archive27.getPercentageComplete();
|
||||
if (percentage >= 1100) {
|
||||
Static226.init(Static274.js5Archive2);
|
||||
Static199.init(Static274.js5Archive2);
|
||||
Static91.init(Static274.js5Archive2);
|
||||
Static125.init(Static267.js5Archive7, Static274.js5Archive2);
|
||||
Static181.init(Static280.js5Archive16, Static267.js5Archive7);
|
||||
Static88.init(Static267.js5Archive7, Static172.js5Archive18);
|
||||
Static241.init(Static171.js5Archive19, Static265.p11FullSoftware, Static267.js5Archive7);
|
||||
Static58.init(Static274.js5Archive2);
|
||||
Static141.init(Static249.js5Archive1, Static253.js5Archive20, Static213.js5Archive0);
|
||||
Static79.init(Static274.js5Archive2);
|
||||
Static266.init(Static267.js5Archive7, Static122.js5Archive21);
|
||||
Static180.init(Static156.js5Archive22);
|
||||
Static230.init(Static274.js5Archive2);
|
||||
Static3.init(Static261.js5Archive13, Static209.js5Archive8, Static41.js5Archive3, Static267.js5Archive7);
|
||||
Static119.init(Static274.js5Archive2);
|
||||
Static85.init(Static138.js5Archive17);
|
||||
Static59.init(Static28.js5Archive25, Static254.js5Archive24, new Js5QuickChatCommandDecoder());
|
||||
Static115.init(Static28.js5Archive25, Static254.js5Archive24);
|
||||
Static107.init(Static274.js5Archive2);
|
||||
Static246.init(Static274.js5Archive2, Static209.js5Archive8);
|
||||
Static180.init(Static274.js5Archive2, Static209.js5Archive8);
|
||||
Static199.mainLoadPercentage = 50;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD70B;
|
||||
Static58.init();
|
||||
Static166.mainLoadState = 80;
|
||||
} else {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD70, Static123.method2423(local98 / 11), Static49.aClass100_352 });
|
||||
Static199.anInt4670 = 50;
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD70, Static123.parseInt(percentage / 11), Static49.PERCENT_SIGN});
|
||||
Static199.mainLoadPercentage = 50;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 80) {
|
||||
local98 = Static28.method789(Static209.aClass153_86);
|
||||
local43 = Static62.method1483();
|
||||
if (local43 > local98) {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD80, Static123.method2423(local98 * 100 / local43), Static49.aClass100_352 });
|
||||
Static199.anInt4670 = 60;
|
||||
} else if (Static166.mainLoadState == 80) {
|
||||
percentage = Static28.getReady(Static209.js5Archive8);
|
||||
i = Static62.total();
|
||||
if (i > percentage) {
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD80, Static123.parseInt(percentage * 100 / i), Static49.PERCENT_SIGN});
|
||||
Static199.mainLoadPercentage = 60;
|
||||
} else {
|
||||
Static30.method839(Static209.aClass153_86);
|
||||
Static166.anInt4051 = 90;
|
||||
Static199.anInt4670 = 60;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD80B;
|
||||
Static30.load(Static209.js5Archive8);
|
||||
Static166.mainLoadState = 90;
|
||||
Static199.mainLoadPercentage = 60;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD80B;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 90) {
|
||||
if (Static167.aClass153_63.method4475()) {
|
||||
@Pc(951) Js5GlTextureProvider local951 = new Js5GlTextureProvider(Static195.aClass153_80, Static167.aClass153_63, Static209.aClass153_86, 20, !Static53.aBoolean99);
|
||||
Rasteriser.unpackTextures(local951);
|
||||
if (Static113.anInt4609 == 1) {
|
||||
} else if (Static166.mainLoadState == 90) {
|
||||
if (Static167.js5Archive26.fetchAll()) {
|
||||
@Pc(951) Js5GlTextureProvider textureProvider = new Js5GlTextureProvider(Static195.js5Archive9, Static167.js5Archive26, Static209.js5Archive8, 20, !Static53.highDetailTextures);
|
||||
Rasteriser.unpackTextures(textureProvider);
|
||||
if (Static113.brightness == 1) {
|
||||
Rasteriser.setBrightness(0.9F);
|
||||
}
|
||||
if (Static113.anInt4609 == 2) {
|
||||
if (Static113.brightness == 2) {
|
||||
Rasteriser.setBrightness(0.8F);
|
||||
}
|
||||
if (Static113.anInt4609 == 3) {
|
||||
if (Static113.brightness == 3) {
|
||||
Rasteriser.setBrightness(0.7F);
|
||||
}
|
||||
if (Static113.anInt4609 == 4) {
|
||||
if (Static113.brightness == 4) {
|
||||
Rasteriser.setBrightness(0.6F);
|
||||
}
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD90B;
|
||||
Static166.anInt4051 = 100;
|
||||
Static199.anInt4670 = 70;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD90B;
|
||||
Static166.mainLoadState = 100;
|
||||
Static199.mainLoadPercentage = 70;
|
||||
} else {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD90, Static123.method2423(Static167.aClass153_63.method4498()), Static49.aClass100_352 });
|
||||
Static199.anInt4670 = 70;
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD90, Static123.parseInt(Static167.js5Archive26.getPercentageComplete()), Static49.PERCENT_SIGN});
|
||||
Static199.mainLoadPercentage = 70;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 100) {
|
||||
if (Static231.method3986(Static209.aClass153_86)) {
|
||||
Static166.anInt4051 = 110;
|
||||
} else if (Static166.mainLoadState == 100) {
|
||||
if (Static231.isReady(Static209.js5Archive8)) {
|
||||
Static166.mainLoadState = 110;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 110) {
|
||||
} else if (Static166.mainLoadState == 110) {
|
||||
Static178.instance = new MouseRecorder();
|
||||
GameShell.signLink.startThread(10, Static178.instance);
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD110B;
|
||||
Static199.anInt4670 = 75;
|
||||
Static166.anInt4051 = 120;
|
||||
} else if (Static166.anInt4051 == 120) {
|
||||
if (Static184.aClass153_78.method4487(Static186.aClass100_827, Static252.aClass100_1049)) {
|
||||
@Pc(1060) HuffmanCodec local1060 = new HuffmanCodec(Static184.aClass153_78.method4485(Static186.aClass100_827, Static252.aClass100_1049));
|
||||
Static1.method1(local1060);
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD120B;
|
||||
Static166.anInt4051 = 130;
|
||||
Static199.anInt4670 = 80;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD110B;
|
||||
Static199.mainLoadPercentage = 75;
|
||||
Static166.mainLoadState = 120;
|
||||
} else if (Static166.mainLoadState == 120) {
|
||||
if (Static184.js5Archive10.isFileReady(Static186.EMPTY_FILE, Static252.HUFFMAN_GROUP)) {
|
||||
@Pc(1060) HuffmanCodec codec = new HuffmanCodec(Static184.js5Archive10.fetchFile(Static186.EMPTY_FILE, Static252.HUFFMAN_GROUP));
|
||||
Static1.method1(codec);
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD120B;
|
||||
Static166.mainLoadState = 130;
|
||||
Static199.mainLoadPercentage = 80;
|
||||
} else {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD120, Static206.aClass100_899 });
|
||||
Static199.anInt4670 = 80;
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD120, Static206.aClass100_899 });
|
||||
Static199.mainLoadPercentage = 80;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 130) {
|
||||
if (!Static41.aClass153_25.method4475()) {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD130, Static123.method2423(Static41.aClass153_25.method4498() * 3 / 4), Static49.aClass100_352 });
|
||||
Static199.anInt4670 = 85;
|
||||
} else if (!Static16.aClass153_9.method4475()) {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD130, Static123.method2423(Static16.aClass153_9.method4498() / 10 + 75), Static49.aClass100_352 });
|
||||
Static199.anInt4670 = 85;
|
||||
} else if (!Static261.aClass153_107.method4475()) {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD130, Static123.method2423(Static261.aClass153_107.method4498() / 20 + 85), Static49.aClass100_352 });
|
||||
Static199.anInt4670 = 85;
|
||||
} else if (Static227.aClass153_94.method4489(Static165.aClass100_777)) {
|
||||
Static234.method4018(Static173.aClass3_Sub2_Sub1_Sub1Array9, Static227.aClass153_94);
|
||||
Static199.anInt4670 = 95;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD130B;
|
||||
Static166.anInt4051 = 135;
|
||||
} else if (Static166.mainLoadState == 130) {
|
||||
if (!Static41.js5Archive3.fetchAll()) {
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD130, Static123.parseInt(Static41.js5Archive3.getPercentageComplete() * 3 / 4), Static49.PERCENT_SIGN});
|
||||
Static199.mainLoadPercentage = 85;
|
||||
} else if (!Static16.js5Archive12.fetchAll()) {
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD130, Static123.parseInt(Static16.js5Archive12.getPercentageComplete() / 10 + 75), Static49.PERCENT_SIGN});
|
||||
Static199.mainLoadPercentage = 85;
|
||||
} else if (!Static261.js5Archive13.fetchAll()) {
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD130, Static123.parseInt(Static261.js5Archive13.getPercentageComplete() / 20 + 85), Static49.PERCENT_SIGN});
|
||||
Static199.mainLoadPercentage = 85;
|
||||
} else if (Static227.js5Archive23.method4489(Static165.DETAILS)) {
|
||||
Static234.method4018(Static173.aClass3_Sub2_Sub1_Sub1Array9, Static227.js5Archive23);
|
||||
Static199.mainLoadPercentage = 95;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD130B;
|
||||
Static166.mainLoadState = 135;
|
||||
} else {
|
||||
Static126.aClass100_602 = Static34.method882(new JagString[] { LocalizedText.MAINLOAD130, Static123.method2423(Static227.aClass153_94.method4478(Static165.aClass100_777) / 10 + 90), Static49.aClass100_352 });
|
||||
Static199.anInt4670 = 85;
|
||||
Static126.mainLoadSecondaryText = Static34.concatenate(new JagString[] { LocalizedText.MAINLOAD130, Static123.parseInt(Static227.js5Archive23.method4478(Static165.DETAILS) / 10 + 90), Static49.PERCENT_SIGN});
|
||||
Static199.mainLoadPercentage = 85;
|
||||
}
|
||||
} else if (Static166.anInt4051 == 135) {
|
||||
local98 = Static207.method3684();
|
||||
if (local98 == -1) {
|
||||
Static199.anInt4670 = 95;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD135;
|
||||
} else if (local98 == 7 || local98 == 9) {
|
||||
} else if (Static166.mainLoadState == 135) {
|
||||
percentage = Static207.fetch();
|
||||
if (percentage == -1) {
|
||||
Static199.mainLoadPercentage = 95;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD135;
|
||||
} else if (percentage == 7 || percentage == 9) {
|
||||
this.error("worldlistfull");
|
||||
Static196.method3534(1000);
|
||||
} else if (Static61.aBoolean109) {
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD135B;
|
||||
Static166.anInt4051 = 140;
|
||||
Static199.anInt4670 = 96;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD135B;
|
||||
Static166.mainLoadState = 140;
|
||||
Static199.mainLoadPercentage = 96;
|
||||
} else {
|
||||
this.error("worldlistio_" + local98);
|
||||
this.error("worldlistio_" + percentage);
|
||||
Static196.method3534(1000);
|
||||
}
|
||||
} else if (Static166.anInt4051 == 140) {
|
||||
Static156.anInt3783 = Static41.aClass153_25.method4482(Static138.aClass100_652);
|
||||
Static26.aClass153_16.method4477(false);
|
||||
Static130.aClass153_47.method4477(true);
|
||||
Static209.aClass153_86.method4477(true);
|
||||
Static261.aClass153_107.method4477(true);
|
||||
Static184.aClass153_78.method4477(true);
|
||||
Static41.aClass153_25.method4477(true);
|
||||
Static199.anInt4670 = 97;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD140;
|
||||
Static166.anInt4051 = 150;
|
||||
Static107.aBoolean147 = true;
|
||||
} else if (Static166.anInt4051 == 150) {
|
||||
} else if (Static166.mainLoadState == 140) {
|
||||
Static156.loginScreenId = Static41.js5Archive3.getGroupId(Static138.LOGINSCREEN);
|
||||
Static26.js5Archive5.discardNames(false);
|
||||
Static130.js5Archive6.discardNames(true);
|
||||
Static209.js5Archive8.discardNames(true);
|
||||
Static261.js5Archive13.discardNames(true);
|
||||
Static184.js5Archive10.discardNames(true);
|
||||
Static41.js5Archive3.discardNames(true);
|
||||
Static199.mainLoadPercentage = 97;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD140;
|
||||
Static166.mainLoadState = 150;
|
||||
Static107.clean = true;
|
||||
} else if (Static166.mainLoadState == 150) {
|
||||
Static151.method2807();
|
||||
if (Static164.aBoolean191) {
|
||||
Static102.anInt2679 = 0;
|
||||
Static186.anInt4392 = 0;
|
||||
Static214.anInt5581 = 0;
|
||||
Static141.anInt3474 = 0;
|
||||
if (Static164.safeMode) {
|
||||
Static102.windowMode = 0;
|
||||
Static186.antiAliasingMode = 0;
|
||||
Static214.windowMode = 0;
|
||||
Static141.buildArea = 0;
|
||||
}
|
||||
Static164.aBoolean191 = true;
|
||||
Static203.method3663(GameShell.signLink);
|
||||
Static241.method4540(false, Static214.anInt5581, -1, -1);
|
||||
Static199.anInt4670 = 100;
|
||||
Static166.anInt4051 = 160;
|
||||
Static126.aClass100_602 = LocalizedText.MAINLOAD150B;
|
||||
} else if (Static166.anInt4051 == 160) {
|
||||
Static164.safeMode = true;
|
||||
Static203.write(GameShell.signLink);
|
||||
Static241.setWindowMode(false, Static214.windowMode, -1, -1);
|
||||
Static199.mainLoadPercentage = 100;
|
||||
Static166.mainLoadState = 160;
|
||||
Static126.mainLoadSecondaryText = LocalizedText.MAINLOAD150B;
|
||||
} else if (Static166.mainLoadState == 160) {
|
||||
Static73.method1596(true);
|
||||
}
|
||||
}
|
||||
|
|
@ -960,8 +960,8 @@ public final class client extends GameShell {
|
|||
Static39.aRandom1.setSeed((long) Static60.anInt1895);
|
||||
}
|
||||
this.js5NetworkLoop();
|
||||
if (Static257.aClass9_2 != null) {
|
||||
Static257.aClass9_2.method179();
|
||||
if (Static257.js5MasterIndex != null) {
|
||||
Static257.js5MasterIndex.method179();
|
||||
}
|
||||
Static230.method3948();
|
||||
Static107.method2261();
|
||||
|
|
@ -975,10 +975,10 @@ public final class client extends GameShell {
|
|||
Static58.wheelRotation = local75;
|
||||
}
|
||||
if (Static244.anInt5370 == 0) {
|
||||
this.method948();
|
||||
this.mainLoad();
|
||||
Static234.method4020();
|
||||
} else if (Static244.anInt5370 == 5) {
|
||||
this.method948();
|
||||
this.mainLoad();
|
||||
Static234.method4020();
|
||||
} else if (Static244.anInt5370 == 25 || Static244.anInt5370 == 28) {
|
||||
Static78.method1696();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue