chore: rev 188

This commit is contained in:
Owain van Brakel
2020-01-29 14:20:08 +01:00
parent c785d0015b
commit add4ca8005
357 changed files with 41366 additions and 41447 deletions

View File

@@ -3,73 +3,74 @@ 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("ee")
@ObfuscatedName("en")
@Implements("WallDecoration")
public final class WallDecoration {
@ObfuscatedName("f")
@ObfuscatedName("c")
@ObfuscatedGetter(
intValue = -1682517589
intValue = 1358140077
)
@Export("tileHeight")
int tileHeight;
@ObfuscatedName("i")
@ObfuscatedName("t")
@ObfuscatedGetter(
intValue = 835715707
intValue = 915149021
)
@Export("x")
int x;
@ObfuscatedName("y")
@ObfuscatedName("o")
@ObfuscatedGetter(
intValue = 196779483
intValue = 357564416
)
@Export("y")
int y;
@ObfuscatedName("w")
@ObfuscatedName("e")
@ObfuscatedGetter(
intValue = 1668025043
intValue = -696517801
)
@Export("orientation")
int orientation;
@ObfuscatedName("p")
@ObfuscatedName("i")
@ObfuscatedGetter(
intValue = -36455913
intValue = 748186775
)
@Export("orientation2")
int orientation2;
@ObfuscatedName("b")
@ObfuscatedName("g")
@ObfuscatedGetter(
intValue = 1853023359
intValue = 1886905411
)
@Export("xOffset")
int xOffset;
@ObfuscatedName("e")
@ObfuscatedName("d")
@ObfuscatedGetter(
intValue = 1490962747
intValue = -275876635
)
@Export("yOffset")
int yOffset;
@ObfuscatedName("x")
@ObfuscatedName("l")
@ObfuscatedSignature(
signature = "Lep;"
signature = "Leq;"
)
@Export("entity1")
public Entity entity1;
@ObfuscatedName("a")
@ObfuscatedName("j")
@ObfuscatedSignature(
signature = "Lep;"
signature = "Leq;"
)
@Export("entity2")
public Entity entity2;
@ObfuscatedName("d")
@ObfuscatedName("m")
@ObfuscatedGetter(
longValue = 7500452750327667815L
longValue = 1621741553403153851L
)
@Export("tag")
public long tag;
@ObfuscatedName("c")
@ObfuscatedName("p")
@ObfuscatedGetter(
intValue = -265932947
intValue = -183294239
)
@Export("flags")
int flags;
@@ -78,4 +79,65 @@ public final class WallDecoration {
this.tag = 0L;
this.flags = 0;
}
@ObfuscatedName("o")
@ObfuscatedSignature(
signature = "(Lkp;I)Ljava/lang/String;",
garbageValue = "267409657"
)
public static String method3356(Buffer var0) {
return method3358(var0, 32767);
}
@ObfuscatedName("e")
@ObfuscatedSignature(
signature = "(Lkp;II)Ljava/lang/String;",
garbageValue = "149938652"
)
static String method3358(Buffer var0, int var1) {
try {
int var2 = var0.readUShortSmart();
if (var2 > var1) {
var2 = var1;
}
byte[] var3 = new byte[var2];
var0.offset += class210.huffman.decompress(var0.array, var0.offset, var3, 0, var2);
String var4 = ScriptFrame.decodeStringCp1252(var3, 0, var2);
return var4;
} catch (Exception var6) {
return "Cabbage";
}
}
@ObfuscatedName("j")
@ObfuscatedSignature(
signature = "(I)V",
garbageValue = "777331787"
)
public static void method3359() {
WorldMapElement.WorldMapElement_cachedSprites.clear();
}
@ObfuscatedName("ae")
@ObfuscatedSignature(
signature = "(ILce;ZI)I",
garbageValue = "2015482933"
)
static int method3357(int var0, Script var1, boolean var2) {
if (var0 == ScriptOpcodes.SOUND_SYNTH) {
class320.Interpreter_intStackSize -= 3;
AbstractWorldMapIcon.queueSoundEffect(Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize], Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 1], Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 2]);
return 1;
} else if (var0 == ScriptOpcodes.SOUND_SONG) {
BufferedSink.playSong(Interpreter.Interpreter_intStack[--class320.Interpreter_intStackSize]);
return 1;
} else if (var0 == ScriptOpcodes.SOUND_JINGLE) {
class320.Interpreter_intStackSize -= 2;
class49.playSoundJingle(Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize], Interpreter.Interpreter_intStack[class320.Interpreter_intStackSize + 1]);
return 1;
} else {
return 2;
}
}
}