use of net.runelite.mapping.ObfuscatedSignature in project runelite by runelite.
the class RenderOverview method method6075.
@ObfuscatedName("bv")
@ObfuscatedSignature(signature = "(II)V", garbageValue = "1901239654")
public void method6075(int var1) {
this.field4032 = new HashSet();
this.field4033 = 0;
this.field4034 = 0;
for (int var2 = 0; var2 < Area.mapAreaType.length; ++var2) {
if (Area.mapAreaType[var2] != null && Area.mapAreaType[var2].field3463 == var1) {
this.field4032.add(Integer.valueOf(Area.mapAreaType[var2].id));
}
}
}
use of net.runelite.mapping.ObfuscatedSignature in project runelite by runelite.
the class RenderOverview method method6049.
@ObfuscatedName("c")
@ObfuscatedSignature(signature = "(Ljm;Lkw;Ljava/util/HashMap;[Llq;I)V", garbageValue = "16711935")
public void method6049(IndexDataBase var1, Font var2, HashMap var3, IndexedSprite[] var4) {
this.field4012 = var4;
this.field4022 = var1;
this.field4010 = var2;
this.mapFonts = new HashMap();
this.mapFonts.put(Size.field347, var3.get(fontNameVerdana11));
this.mapFonts.put(Size.field346, var3.get(fontNameVerdana13));
this.mapFonts.put(Size.field344, var3.get(fontNameVerdana15));
this.field4018 = new class333(var1);
int var5 = this.field4022.getFile(MapCacheArchiveNames.DETAILS.name);
int[] var6 = this.field4022.getChilds(var5);
this.worldMapDataByIdentifier = new HashMap(var6.length);
for (int var7 = 0; var7 < var6.length; ++var7) {
Buffer var8 = new Buffer(this.field4022.getConfigData(var5, var6[var7]));
WorldMapData var9 = new WorldMapData();
var9.loadMapData(var8, var6[var7]);
this.worldMapDataByIdentifier.put(var9.getIdentifier(), var9);
if (var9.method374()) {
this.field4014 = var9;
}
}
this.method6039(this.field4014);
this.field4013 = null;
}
use of net.runelite.mapping.ObfuscatedSignature in project runelite by runelite.
the class RenderOverview method method6065.
@ObfuscatedName("bc")
@ObfuscatedSignature(signature = "(ILim;I)Lim;", garbageValue = "-881888672")
public Coordinates method6065(int var1, Coordinates var2) {
if (!this.field4018.method5999()) {
return null;
} else if (!this.worldMapManager.method588()) {
return null;
} else if (!this.worldMapData.method308(var2.worldX, var2.worldY)) {
return null;
} else {
HashMap var3 = this.worldMapManager.method589();
List var4 = (List) var3.get(Integer.valueOf(var1));
if (var4 != null && !var4.isEmpty()) {
MapIcon var5 = null;
int var6 = -1;
Iterator var7 = var4.iterator();
while (true) {
MapIcon var8;
int var11;
do {
if (!var7.hasNext()) {
return var5.field512;
}
var8 = (MapIcon) var7.next();
int var9 = var8.field512.worldX - var2.worldX;
int var10 = var8.field512.worldY - var2.worldY;
var11 = var9 * var9 + var10 * var10;
if (var11 == 0) {
return var8.field512;
}
} while (var11 >= var6 && var5 != null);
var5 = var8;
var6 = var11;
}
} else {
return null;
}
}
}
use of net.runelite.mapping.ObfuscatedSignature in project runelite by runelite.
the class RenderOverview method method6064.
@ObfuscatedName("bp")
@ObfuscatedSignature(signature = "(IIIIIII)V", garbageValue = "-1946246363")
public void method6064(int var1, int var2, int var3, int var4, int var5, int var6) {
if (this.field4018.method5999()) {
int var7 = (int) Math.ceil((double) ((float) var3 / this.worldMapZoom));
int var8 = (int) Math.ceil((double) ((float) var4 / this.worldMapZoom));
List var9 = this.worldMapManager.method586(this.worldMapX - var7 / 2 - 1, this.worldMapY - var8 / 2 - 1, var7 / 2 + this.worldMapX + 1, var8 / 2 + this.worldMapY + 1, var1, var2, var3, var4, var5, var6);
if (!var9.isEmpty()) {
Iterator var10 = var9.iterator();
boolean var13;
do {
if (!var10.hasNext()) {
return;
}
MapIcon var11 = (MapIcon) var10.next();
Area var12 = Area.mapAreaType[var11.areaId];
var13 = false;
for (int var14 = this.field4049.length - 1; var14 >= 0; --var14) {
if (var12.field3461[var14] != null) {
RunException.addMenuEntry(var12.field3461[var14], var12.field3460, this.field4049[var14], var11.areaId, var11.field506.bitpack(), var11.field512.bitpack());
var13 = true;
}
}
} while (!var13);
}
}
}
use of net.runelite.mapping.ObfuscatedSignature in project runelite by runelite.
the class SourceDataSoundSystem method vmethod2197.
@ObfuscatedName("c")
@ObfuscatedSignature(signature = "(I)V", garbageValue = "-107585878")
protected void vmethod2197() {
this.audioFormat = new AudioFormat((float) class317.sampleRate, 16, UnitPriceComparator.audioHighMemory ? 2 : 1, true, false);
this.bytes = new byte[256 << (UnitPriceComparator.audioHighMemory ? 2 : 1)];
}
Aggregations