update client to rev 183
This commit is contained in:
@@ -3,46 +3,46 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("dk")
|
||||
@ObfuscatedName("du")
|
||||
@Implements("Texture")
|
||||
public class Texture extends Node {
|
||||
@ObfuscatedName("p")
|
||||
@Export("Texture_animatedPixels")
|
||||
static int[] Texture_animatedPixels;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("l")
|
||||
@Export("averageRGB")
|
||||
int averageRGB;
|
||||
@ObfuscatedName("n")
|
||||
boolean field1604;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("u")
|
||||
boolean field1590;
|
||||
@ObfuscatedName("j")
|
||||
@Export("fileIds")
|
||||
int[] fileIds;
|
||||
@ObfuscatedName("q")
|
||||
int[] field1607;
|
||||
@ObfuscatedName("x")
|
||||
int[] field1610;
|
||||
@ObfuscatedName("v")
|
||||
int[] field1594;
|
||||
@ObfuscatedName("d")
|
||||
int[] field1599;
|
||||
@ObfuscatedName("f")
|
||||
int[] field1592;
|
||||
@ObfuscatedName("z")
|
||||
int[] field1600;
|
||||
@ObfuscatedName("n")
|
||||
@Export("animationDirection")
|
||||
int animationDirection;
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedName("h")
|
||||
@Export("animationSpeed")
|
||||
int animationSpeed;
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedName("f")
|
||||
@Export("pixels")
|
||||
int[] pixels;
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedName("s")
|
||||
@Export("isLoaded")
|
||||
boolean isLoaded;
|
||||
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lky;)V"
|
||||
signature = "(Lkz;)V"
|
||||
)
|
||||
Texture(Buffer var1) {
|
||||
this.isLoaded = false;
|
||||
this.averageRGB = var1.readUnsignedShort();
|
||||
this.field1604 = var1.readUnsignedByte() == 1;
|
||||
this.field1590 = var1.readUnsignedByte() == 1;
|
||||
int var2 = var1.readUnsignedByte();
|
||||
if (var2 >= 1 && var2 <= 4) {
|
||||
this.fileIds = new int[var2];
|
||||
@@ -53,25 +53,25 @@ public class Texture extends Node {
|
||||
}
|
||||
|
||||
if (var2 > 1) {
|
||||
this.field1607 = new int[var2 - 1];
|
||||
this.field1594 = new int[var2 - 1];
|
||||
|
||||
for (var3 = 0; var3 < var2 - 1; ++var3) {
|
||||
this.field1607[var3] = var1.readUnsignedByte();
|
||||
this.field1594[var3] = var1.readUnsignedByte();
|
||||
}
|
||||
}
|
||||
|
||||
if (var2 > 1) {
|
||||
this.field1610 = new int[var2 - 1];
|
||||
this.field1592 = new int[var2 - 1];
|
||||
|
||||
for (var3 = 0; var3 < var2 - 1; ++var3) {
|
||||
this.field1610[var3] = var1.readUnsignedByte();
|
||||
this.field1592[var3] = var1.readUnsignedByte();
|
||||
}
|
||||
}
|
||||
|
||||
this.field1599 = new int[var2];
|
||||
this.field1600 = new int[var2];
|
||||
|
||||
for (var3 = 0; var3 < var2; ++var3) {
|
||||
this.field1599[var3] = var1.readInt();
|
||||
this.field1600[var3] = var1.readInt();
|
||||
}
|
||||
|
||||
this.animationDirection = var1.readUnsignedByte();
|
||||
@@ -82,7 +82,7 @@ public class Texture extends Node {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(DILhz;)Z"
|
||||
)
|
||||
@@ -101,26 +101,26 @@ public class Texture extends Node {
|
||||
for (int var6 = 0; var6 < this.fileIds.length; ++var6) {
|
||||
int var8 = this.fileIds[var6];
|
||||
IndexedSprite var7;
|
||||
if (!class290.SpriteBuffer_bufferFileFlat(var4, var8)) {
|
||||
if (!PlayerType.SpriteBuffer_bufferFileFlat(var4, var8)) {
|
||||
var7 = null;
|
||||
} else {
|
||||
IndexedSprite var10 = new IndexedSprite();
|
||||
var10.width = GrandExchangeOfferUnitPriceComparator.SpriteBuffer_spriteWidth;
|
||||
var10.width = class325.SpriteBuffer_spriteWidth;
|
||||
var10.height = class325.SpriteBuffer_spriteHeight;
|
||||
var10.xOffset = class325.SpriteBuffer_xOffsets[0];
|
||||
var10.yOffset = class325.SpriteBuffer_yOffsets[0];
|
||||
var10.yOffset = SecureRandomCallable.SpriteBuffer_yOffsets[0];
|
||||
var10.subWidth = class325.SpriteBuffer_spriteWidths[0];
|
||||
var10.subHeight = class225.SpriteBuffer_spriteHeights[0];
|
||||
var10.subHeight = SoundSystem.SpriteBuffer_spriteHeights[0];
|
||||
var10.palette = class325.SpriteBuffer_spritePalette;
|
||||
var10.pixels = WorldMapSection1.SpriteBuffer_pixels[0];
|
||||
UserComparator7.SpriteBuffer_clear();
|
||||
var10.pixels = InvDefinition.SpriteBuffer_pixels[0];
|
||||
class192.SpriteBuffer_clear();
|
||||
var7 = var10;
|
||||
}
|
||||
|
||||
var7.normalize();
|
||||
byte[] var17 = var7.pixels;
|
||||
int[] var11 = var7.palette;
|
||||
int var12 = this.field1599[var6];
|
||||
int var12 = this.field1600[var6];
|
||||
if ((var12 & -16777216) == 16777216) {
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@ public class Texture extends Node {
|
||||
if (var6 == 0) {
|
||||
var13 = 0;
|
||||
} else {
|
||||
var13 = this.field1607[var6 - 1];
|
||||
var13 = this.field1594[var6 - 1];
|
||||
}
|
||||
|
||||
if (var13 == 0) {
|
||||
@@ -195,13 +195,13 @@ public class Texture extends Node {
|
||||
return true;
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("x")
|
||||
@Export("reset")
|
||||
void reset() {
|
||||
this.pixels = null;
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("t")
|
||||
@Export("animate")
|
||||
void animate(int var1) {
|
||||
if (this.pixels != null) {
|
||||
|
||||
Reference in New Issue
Block a user