client: rev 201

This commit is contained in:
Justin
2021-11-03 22:50:34 +11:00
parent af21d0e050
commit bcc8072751
425 changed files with 65165 additions and 65696 deletions

View File

@@ -1,54 +1,50 @@
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("jb")
@ObfuscatedName("ji")
@Implements("Skills")
public class Skills {
@ObfuscatedName("q")
@ObfuscatedName("w")
@Export("Skills_enabled")
public static final boolean[] Skills_enabled;
@ObfuscatedName("f")
@ObfuscatedName("s")
@Export("Skills_experienceTable")
public static int[] Skills_experienceTable;
@ObfuscatedName("t")
@ObfuscatedGetter(
intValue = -83485713
@ObfuscatedName("mg")
@ObfuscatedSignature(
descriptor = "Ljf;"
)
@Export("musicTrackGroupId")
public static int musicTrackGroupId;
static Widget field3247;
static {
Skills_enabled = new boolean[]{true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, false};
Skills_experienceTable = new int[99];
int var0 = 0;
Skills_enabled = new boolean[]{true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, false}; // L: 5
Skills_experienceTable = new int[99]; // L: 6
int var0 = 0; // L: 9
for (int var1 = 0; var1 < 99; ++var1) {
int var2 = var1 + 1;
int var3 = (int)((double)var2 + 300.0D * Math.pow(2.0D, (double)var2 / 7.0D));
var0 += var3;
Skills_experienceTable[var1] = var0 / 4;
for (int var1 = 0; var1 < 99; ++var1) { // L: 10
int var2 = var1 + 1; // L: 11
int var3 = (int)((double)var2 + 300.0D * Math.pow(2.0D, (double)var2 / 7.0D)); // L: 12
var0 += var3; // L: 13
Skills_experienceTable[var1] = var0 / 4; // L: 14
}
}
} // L: 16
@ObfuscatedName("jd")
@ObfuscatedName("u")
@ObfuscatedSignature(
descriptor = "(Ljt;IIII)V",
garbageValue = "-618613054"
descriptor = "(CI)Z",
garbageValue = "-1228711203"
)
@Export("drawCompass")
static final void drawCompass(Widget var0, int var1, int var2, int var3) {
SpriteMask var4 = var0.getSpriteMask(false);
if (var4 != null) {
if (Client.minimapState < 3) {
class4.compass.drawRotatedMaskedCenteredAround(var1, var2, var4.width, var4.height, 25, 25, Client.camAngleY, 256, var4.xStarts, var4.xWidths);
} else {
Rasterizer2D.Rasterizer2D_fillMaskedRectangle(var1, var2, 0, var4.xStarts, var4.xWidths);
}
@Export("isCharPrintable")
public static boolean isCharPrintable(char var0) {
if (var0 >= ' ' && var0 <= '~') { // L: 205
return true;
} else if (var0 >= 160 && var0 <= 255) { // L: 206
return true;
} else {
return var0 == 8364 || var0 == 338 || var0 == 8212 || var0 == 339 || var0 == 376; // L: 207
}
}
}