chore: rev 193

This commit is contained in:
therealunull
2020-12-09 11:07:26 -05:00
parent 5cd865f43f
commit 8f587826ee
358 changed files with 62074 additions and 62020 deletions

View File

@@ -1,37 +1,32 @@
import java.io.File;
import net.runelite.mapping.Export;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.ScriptOpcodes;
@ObfuscatedName("ji")
@ObfuscatedName("jh")
public class class277 {
@ObfuscatedName("m")
@Export("JagexCache_locationFile")
static File JagexCache_locationFile;
@ObfuscatedName("fq")
@ObfuscatedName("i")
@ObfuscatedSignature(
descriptor = "(II)V",
garbageValue = "-1799040781"
descriptor = "(ILcs;ZI)I",
garbageValue = "-1829984749"
)
@Export("setWindowedMode")
static void setWindowedMode(int var0) {
Client.field879 = 0L; // L: 4204
if (var0 >= 2) { // L: 4205
Client.isResizable = true;
static int method5005(int var0, Script var1, boolean var2) {
Widget var3 = var2 ? PlayerAppearance.field2561 : VarcInt.field3264;
if (var0 == ScriptOpcodes.CC_GETINVOBJECT) {
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = var3.itemId;
return 1;
} else if (var0 == ScriptOpcodes.CC_GETINVCOUNT) {
if (var3.itemId != -1) {
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = var3.itemQuantity;
} else {
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = 0;
}
return 1;
} else if (var0 == ScriptOpcodes.CC_GETID) {
Interpreter.Interpreter_intStack[++VarcInt.Interpreter_intStackSize - 1] = var3.childIndex;
return 1;
} else {
Client.isResizable = false; // L: 4206
return 2;
}
if (UrlRequester.getWindowedMode() == 1) { // L: 4207
ByteArrayPool.client.setMaxCanvasSize(765, 503); // L: 4208
} else {
ByteArrayPool.client.setMaxCanvasSize(7680, 2160); // L: 4211
}
if (Client.gameState >= 25) { // L: 4213
Actor.method1855();
}
} // L: 4214
}
}