update client to rev 183
This commit is contained in:
@@ -3,49 +3,50 @@ 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("ie")
|
||||
@ObfuscatedName("il")
|
||||
@Implements("FloorUnderlayDefinition")
|
||||
public class FloorUnderlayDefinition extends DualNode {
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lhz;"
|
||||
)
|
||||
@Export("FloorUnderlayDefinition_archive")
|
||||
static AbstractArchive FloorUnderlayDefinition_archive;
|
||||
@ObfuscatedName("j")
|
||||
public static AbstractArchive FloorUnderlayDefinition_archive;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lep;"
|
||||
signature = "Let;"
|
||||
)
|
||||
@Export("FloorUnderlayDefinition_cached")
|
||||
public static EvictingDualNodeHashTable FloorUnderlayDefinition_cached;
|
||||
@ObfuscatedName("i")
|
||||
static EvictingDualNodeHashTable FloorUnderlayDefinition_cached;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1690185973
|
||||
intValue = 502539723
|
||||
)
|
||||
@Export("rgb")
|
||||
int rgb;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1561731435
|
||||
intValue = -387630933
|
||||
)
|
||||
@Export("hue")
|
||||
public int hue;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 56370407
|
||||
intValue = -1309988489
|
||||
)
|
||||
@Export("saturation")
|
||||
public int saturation;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1143874615
|
||||
intValue = -1550343627
|
||||
)
|
||||
@Export("lightness")
|
||||
public int lightness;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -780904451
|
||||
intValue = 241046707
|
||||
)
|
||||
@Export("hueMultiplier")
|
||||
public int hueMultiplier;
|
||||
@@ -58,20 +59,20 @@ public class FloorUnderlayDefinition extends DualNode {
|
||||
this.rgb = 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(B)V",
|
||||
garbageValue = "38"
|
||||
signature = "(I)V",
|
||||
garbageValue = "-2017124449"
|
||||
)
|
||||
@Export("postDecode")
|
||||
void postDecode() {
|
||||
this.setHsl(this.rgb);
|
||||
}
|
||||
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lky;IB)V",
|
||||
garbageValue = "118"
|
||||
signature = "(Lkz;II)V",
|
||||
garbageValue = "-336580480"
|
||||
)
|
||||
@Export("decode")
|
||||
void decode(Buffer var1, int var2) {
|
||||
@@ -85,10 +86,10 @@ public class FloorUnderlayDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lky;III)V",
|
||||
garbageValue = "2131813988"
|
||||
signature = "(Lkz;III)V",
|
||||
garbageValue = "1777076366"
|
||||
)
|
||||
@Export("decodeNext")
|
||||
void decodeNext(Buffer var1, int var2, int var3) {
|
||||
@@ -98,10 +99,10 @@ public class FloorUnderlayDefinition extends DualNode {
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)V",
|
||||
garbageValue = "-28210148"
|
||||
garbageValue = "1419999023"
|
||||
)
|
||||
@Export("setHsl")
|
||||
void setHsl(int var1) {
|
||||
@@ -129,7 +130,7 @@ public class FloorUnderlayDefinition extends DualNode {
|
||||
double var12 = 0.0D;
|
||||
double var14 = 0.0D;
|
||||
double var16 = (var10 + var8) / 2.0D;
|
||||
if (var10 != var8) {
|
||||
if (var8 != var10) {
|
||||
if (var16 < 0.5D) {
|
||||
var14 = (var10 - var8) / (var8 + var10);
|
||||
}
|
||||
@@ -141,9 +142,9 @@ public class FloorUnderlayDefinition extends DualNode {
|
||||
if (var10 == var2) {
|
||||
var12 = (var4 - var6) / (var10 - var8);
|
||||
} else if (var10 == var4) {
|
||||
var12 = 2.0D + (var6 - var2) / (var10 - var8);
|
||||
} else if (var10 == var6) {
|
||||
var12 = 4.0D + (var2 - var4) / (var10 - var8);
|
||||
var12 = (var6 - var2) / (var10 - var8) + 2.0D;
|
||||
} else if (var6 == var10) {
|
||||
var12 = (var2 - var4) / (var10 - var8) + 4.0D;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,15 +164,67 @@ public class FloorUnderlayDefinition extends DualNode {
|
||||
}
|
||||
|
||||
if (var16 > 0.5D) {
|
||||
this.hueMultiplier = (int)(512.0D * var14 * (1.0D - var16));
|
||||
this.hueMultiplier = (int)((1.0D - var16) * var14 * 512.0D);
|
||||
} else {
|
||||
this.hueMultiplier = (int)(var16 * var14 * 512.0D);
|
||||
this.hueMultiplier = (int)(512.0D * var16 * var14);
|
||||
}
|
||||
|
||||
if (this.hueMultiplier < 1) {
|
||||
this.hueMultiplier = 1;
|
||||
}
|
||||
|
||||
this.hue = (int)(var12 * (double)this.hueMultiplier);
|
||||
this.hue = (int)((double)this.hueMultiplier * var12);
|
||||
}
|
||||
|
||||
@ObfuscatedName("ag")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(ILcu;ZB)I",
|
||||
garbageValue = "1"
|
||||
)
|
||||
static int method4423(int var0, Script var1, boolean var2) {
|
||||
if (var0 == ScriptOpcodes.SOUND_SYNTH) {
|
||||
class160.Interpreter_intStackSize -= 3;
|
||||
class192.queueSoundEffect(Interpreter.Interpreter_intStack[class160.Interpreter_intStackSize], Interpreter.Interpreter_intStack[class160.Interpreter_intStackSize + 1], Interpreter.Interpreter_intStack[class160.Interpreter_intStackSize + 2]);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.SOUND_SONG) {
|
||||
WorldMapData_1.playSong(Interpreter.Interpreter_intStack[--class160.Interpreter_intStackSize]);
|
||||
return 1;
|
||||
} else if (var0 == ScriptOpcodes.SOUND_JINGLE) {
|
||||
class160.Interpreter_intStackSize -= 2;
|
||||
SecureRandomCallable.playSoundJingle(Interpreter.Interpreter_intStack[class160.Interpreter_intStackSize], Interpreter.Interpreter_intStack[class160.Interpreter_intStackSize + 1]);
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("fu")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lby;IIB)V",
|
||||
garbageValue = "0"
|
||||
)
|
||||
@Export("performPlayerAnimation")
|
||||
static void performPlayerAnimation(Player var0, int var1, int var2) {
|
||||
if (var0.sequence == var1 && var1 != -1) {
|
||||
int var3 = class83.SequenceDefinition_get(var1).field3502;
|
||||
if (var3 == 1) {
|
||||
var0.sequenceFrame = 0;
|
||||
var0.sequenceFrameCycle = 0;
|
||||
var0.sequenceDelay = var2;
|
||||
var0.field924 = 0;
|
||||
}
|
||||
|
||||
if (var3 == 2) {
|
||||
var0.field924 = 0;
|
||||
}
|
||||
} else if (var1 == -1 || var0.sequence == -1 || class83.SequenceDefinition_get(var1).field3504 >= class83.SequenceDefinition_get(var0.sequence).field3504) {
|
||||
var0.sequence = var1;
|
||||
var0.sequenceFrame = 0;
|
||||
var0.sequenceFrameCycle = 0;
|
||||
var0.sequenceDelay = var2;
|
||||
var0.field924 = 0;
|
||||
var0.field969 = var0.pathLength;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user