client: rev 198 (#3014)

* client: rev 198

* client: checkstyle

Co-authored-by: therealnull <therealnull@gmail.com>
This commit is contained in:
Tyler Bochard
2021-07-28 07:24:38 -04:00
committed by GitHub
parent c2af17f765
commit 56ae122b89
466 changed files with 65937 additions and 65851 deletions

View File

@@ -4,163 +4,146 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("lw")
@ObfuscatedName("lo")
@Implements("Bounds")
public class Bounds {
@ObfuscatedName("f")
@ObfuscatedName("hu")
@ObfuscatedGetter(
intValue = 713506819
intValue = 1950621809
)
@Export("cameraY")
static int cameraY;
@ObfuscatedName("s")
@ObfuscatedGetter(
intValue = -1616481157
)
@Export("lowX")
public int lowX;
@ObfuscatedName("e")
@ObfuscatedName("t")
@ObfuscatedGetter(
intValue = 2022522807
intValue = -531404143
)
@Export("lowY")
public int lowY;
@ObfuscatedName("v")
@ObfuscatedGetter(
intValue = -259492799
intValue = 640928203
)
@Export("highX")
public int highX;
@ObfuscatedName("y")
@ObfuscatedName("j")
@ObfuscatedGetter(
intValue = 67302117
intValue = 566469983
)
@Export("highY")
public int highY;
public Bounds(int var1, int var2, int var3, int var4) {
this.setLow(var1, var2); // L: 14
this.setHigh(var3, var4); // L: 15
} // L: 16
this.setLow(var1, var2);
this.setHigh(var3, var4);
}
public Bounds(int var1, int var2) {
this(0, 0, var1, var2); // L: 10
} // L: 11
this(0, 0, var1, var2);
}
@ObfuscatedName("f")
@ObfuscatedName("s")
@ObfuscatedSignature(
descriptor = "(III)V",
garbageValue = "74763714"
garbageValue = "-457088307"
)
@Export("setLow")
public void setLow(int var1, int var2) {
this.lowX = var1; // L: 19
this.lowY = var2; // L: 20
} // L: 21
this.lowX = var1;
this.lowY = var2;
}
@ObfuscatedName("e")
@ObfuscatedName("t")
@ObfuscatedSignature(
descriptor = "(IIB)V",
garbageValue = "25"
garbageValue = "0"
)
@Export("setHigh")
public void setHigh(int var1, int var2) {
this.highX = var1; // L: 24
this.highY = var2; // L: 25
} // L: 26
this.highX = var1;
this.highY = var2;
}
@ObfuscatedName("v")
@ObfuscatedSignature(
descriptor = "(Llw;Llw;B)V",
garbageValue = "-43"
descriptor = "(Llo;Llo;I)V",
garbageValue = "1358187891"
)
public void method6009(Bounds var1, Bounds var2) {
this.method6010(var1, var2);
this.method6031(var1, var2); // L: 34
} // L: 35
@ObfuscatedName("y")
@ObfuscatedSignature(
descriptor = "(Llw;Llw;B)V",
garbageValue = "0"
)
void method6010(Bounds var1, Bounds var2) {
var2.lowX = this.lowX;
var2.highX = this.highX; // L: 39
if (this.lowX < var1.lowX) {
var2.highX = (var2.highX * -2021811263 - (var1.lowX * -2021811263 - this.lowX * -2021811263)) * -259492799; // L: 41
var2.lowX = var1.lowX; // L: 42
}
if (var2.method6012() > var1.method6012()) { // L: 44
var2.highX -= var2.method6012() - var1.method6012(); // L: 45
}
if (var2.highX < 0) { // L: 47
var2.highX = 0;
}
} // L: 48
public void method6028(Bounds var1, Bounds var2) {
this.method6030(var1, var2);
this.method6036(var1, var2);
}
@ObfuscatedName("j")
@ObfuscatedSignature(
descriptor = "(Llw;Llw;I)V",
garbageValue = "-94971019"
descriptor = "(Llo;Llo;S)V",
garbageValue = "1205"
)
void method6031(Bounds var1, Bounds var2) {
var2.lowY = this.lowY; // L: 51
var2.highY = this.highY; // L: 52
if (this.lowY < var1.lowY) { // L: 53
var2.highY = (var2.highY * -1355515155 - (var1.lowY * -1355515155 - this.lowY * -1355515155)) * 67302117; // L: 54
var2.lowY = var1.lowY; // L: 55
void method6030(Bounds var1, Bounds var2) {
var2.lowX = this.lowX;
var2.highX = this.highX;
if (this.lowX < var1.lowX) {
var2.highX = (var2.highX * -586279965 - (var1.lowX * -586279965 - this.lowX * -586279965)) * 640928203;
var2.lowX = var1.lowX;
}
if (var2.method6032() > var1.method6032()) { // L: 57
var2.highY -= var2.method6032() - var1.method6032(); // L: 58
if (var2.method6031() > var1.method6031()) {
var2.highX -= var2.method6031() - var1.method6031();
}
if (var2.highY < 0) { // L: 60
if (var2.highX < 0) {
var2.highX = 0;
}
}
@ObfuscatedName("l")
@ObfuscatedSignature(
descriptor = "(Llo;Llo;B)V",
garbageValue = "-48"
)
void method6036(Bounds var1, Bounds var2) {
var2.lowY = this.lowY;
var2.highY = this.highY;
if (this.lowY < var1.lowY) {
var2.highY = (var2.highY * 1464727199 - (var1.lowY * 1464727199 - this.lowY * 1464727199)) * 566469983;
var2.lowY = var1.lowY;
}
if (var2.method6032() > var1.method6032()) {
var2.highY -= var2.method6032() - var1.method6032();
}
if (var2.highY < 0) {
var2.highY = 0;
}
} // L: 61
@ObfuscatedName("o")
@ObfuscatedSignature(
descriptor = "(B)I",
garbageValue = "5"
)
int method6012() {
return this.lowX + this.highX; // L: 64
}
@ObfuscatedName("m")
@ObfuscatedName("n")
@ObfuscatedSignature(
descriptor = "(I)I",
garbageValue = "-1071411264"
garbageValue = "-1525436179"
)
int method6031() {
return this.lowX + this.highX;
}
@ObfuscatedName("w")
@ObfuscatedSignature(
descriptor = "(I)I",
garbageValue = "1505514692"
)
int method6032() {
return this.lowY + this.highY; // L: 68
return this.highY + this.lowY;
}
public String toString() {
return null; // L: 29
}
@ObfuscatedName("e")
@ObfuscatedSignature(
descriptor = "(Ljp;Ljp;III)Lkj;",
garbageValue = "845237448"
)
public static Font method6034(AbstractArchive var0, AbstractArchive var1, int var2, int var3) {
if (!Message.method1263(var0, var2, var3)) { // L: 28
return null;
} else {
byte[] var5 = var1.takeFile(var2, var3); // L: 30
Font var4;
if (var5 == null) { // L: 32
var4 = null; // L: 33
} else {
Font var6 = new Font(var5, class397.SpriteBuffer_xOffsets, class26.SpriteBuffer_yOffsets, Canvas.SpriteBuffer_spriteWidths, Clock.SpriteBuffer_spriteHeights, class397.SpriteBuffer_spritePalette, class126.SpriteBuffer_pixels); // L: 36
ArchiveDisk.method5993(); // L: 37
var4 = var6; // L: 38
}
return var4; // L: 40
}
return null;
}
}