project: Rev update

This commit is contained in:
Owain van Brakel
2019-11-28 16:31:53 +01:00
parent 34f8560da9
commit 74726ae17a
343 changed files with 41411 additions and 41094 deletions

View File

@@ -3,92 +3,91 @@ import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.ScriptOpcodes;
@ObfuscatedName("kb")
@ObfuscatedName("ku")
@Implements("GraphicsDefaults")
public class GraphicsDefaults {
@ObfuscatedName("a")
@ObfuscatedName("u")
@ObfuscatedGetter(
intValue = 355639221
intValue = 576730349
)
@Export("compass")
public int compass;
@ObfuscatedName("t")
@ObfuscatedName("f")
@ObfuscatedGetter(
intValue = 1345037469
intValue = 262749653
)
public int field3787;
@ObfuscatedName("n")
public int field3808;
@ObfuscatedName("b")
@ObfuscatedGetter(
intValue = 1267920099
intValue = -1408165655
)
@Export("mapScenes")
public int mapScenes;
@ObfuscatedName("q")
@ObfuscatedName("g")
@ObfuscatedGetter(
intValue = -1711317783
intValue = -951498167
)
@Export("headIconsPk")
public int headIconsPk;
@ObfuscatedName("v")
@ObfuscatedName("z")
@ObfuscatedGetter(
intValue = 1346521291
intValue = 62857473
)
public int field3790;
@ObfuscatedName("l")
public int field3799;
@ObfuscatedName("p")
@ObfuscatedGetter(
intValue = 850710053
intValue = 1864495415
)
public int field3786;
@ObfuscatedName("c")
public int field3804;
@ObfuscatedName("h")
@ObfuscatedGetter(
intValue = 258806615
intValue = -1605363745
)
public int field3791;
@ObfuscatedName("o")
public int field3805;
@ObfuscatedName("y")
@ObfuscatedGetter(
intValue = -1735079565
intValue = -177407337
)
public int field3793;
public int field3806;
@ObfuscatedName("w")
@ObfuscatedGetter(
intValue = -410491181
)
public int field3807;
@ObfuscatedName("i")
@ObfuscatedGetter(
intValue = 579452143
intValue = -270590657
)
public int field3794;
@ObfuscatedName("d")
public int field3800;
@ObfuscatedName("k")
@ObfuscatedGetter(
intValue = 942987761
intValue = 838114045
)
public int field3795;
@ObfuscatedName("m")
@ObfuscatedGetter(
intValue = -2075865955
)
public int field3796;
public int field3809;
public GraphicsDefaults() {
this.compass = -1;
this.field3787 = -1;
this.field3808 = -1;
this.mapScenes = -1;
this.headIconsPk = -1;
this.field3790 = -1;
this.field3786 = -1;
this.field3791 = -1;
this.field3793 = -1;
this.field3794 = -1;
this.field3795 = -1;
this.field3796 = -1;
this.field3799 = -1;
this.field3804 = -1;
this.field3805 = -1;
this.field3806 = -1;
this.field3807 = -1;
this.field3800 = -1;
this.field3809 = -1;
}
@ObfuscatedName("a")
@ObfuscatedName("u")
@ObfuscatedSignature(
signature = "(Lhq;I)V",
garbageValue = "-1902520988"
signature = "(Lhf;B)V",
garbageValue = "16"
)
@Export("decode")
public void decode(AbstractArchive var1) {
byte[] var2 = var1.takeFileFlat(DefaultsGroup.field3785.group);
byte[] var2 = var1.takeFileFlat(DefaultsGroup.field3797.group);
Buffer var3 = new Buffer(var2);
while (true) {
@@ -102,32 +101,29 @@ public class GraphicsDefaults {
var3.readMedium();
break;
case 2:
this.compass = var3.method5638();
this.field3787 = var3.method5638();
this.mapScenes = var3.method5638();
this.headIconsPk = var3.method5638();
this.field3790 = var3.method5638();
this.field3786 = var3.method5638();
this.field3791 = var3.method5638();
this.field3793 = var3.method5638();
this.field3794 = var3.method5638();
this.field3795 = var3.method5638();
this.field3796 = var3.method5638();
this.compass = var3.method5618();
this.field3808 = var3.method5618();
this.mapScenes = var3.method5618();
this.headIconsPk = var3.method5618();
this.field3799 = var3.method5618();
this.field3804 = var3.method5618();
this.field3805 = var3.method5618();
this.field3806 = var3.method5618();
this.field3807 = var3.method5618();
this.field3800 = var3.method5618();
this.field3809 = var3.method5618();
}
}
}
@ObfuscatedName("au")
@ObfuscatedName("p")
@ObfuscatedSignature(
signature = "(ILcj;ZI)I",
garbageValue = "1720763557"
signature = "(Lhf;Ljava/lang/String;Ljava/lang/String;I)[Lln;",
garbageValue = "-1956835175"
)
static int method6006(int var0, Script var1, boolean var2) {
if (var0 == ScriptOpcodes.LOGOUT) {
Client.logoutTimer = 250;
return 1;
} else {
return 2;
}
public static Sprite[] method5997(AbstractArchive var0, String var1, String var2) {
int var3 = var0.getGroupId(var1);
int var4 = var0.getFileId(var3, var2);
return UserComparator5.SpriteBuffer_getSpriteArray(var0, var3, var4);
}
}