use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class SourceDataSoundSystem method create.
@ObfuscatedName("i")
@ObfuscatedSignature(signature = "(II)V", garbageValue = "1217716284")
@Export("create")
protected void create(int var1) throws LineUnavailableException {
try {
Info var2 = new Info(SourceDataLine.class, this.audioFormat, var1 << (UnitPriceComparator.audioHighMemory ? 2 : 1));
this.source = (SourceDataLine) AudioSystem.getLine(var2);
this.source.open();
this.source.start();
this.size = var1;
} catch (LineUnavailableException var5) {
int var4 = (var1 >>> 1 & 1431655765) + (var1 & 1431655765);
var4 = (var4 >>> 2 & 858993459) + (var4 & 858993459);
var4 = (var4 >>> 4) + var4 & 252645135;
var4 += var4 >>> 8;
var4 += var4 >>> 16;
int var3 = var4 & 255;
if (var3 != 1) {
this.create(WallObject.nextPowerOfTwo(var1));
} else {
this.source = null;
throw var5;
}
}
}
use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class WorldMapRegion method method394.
@ObfuscatedName("p")
@ObfuscatedSignature(signature = "(Ljava/util/List;S)V", garbageValue = "-14065")
void method394(List var1) {
Iterator var2 = var1.iterator();
while (var2.hasNext()) {
class25 var3 = (class25) var2.next();
if (var3.field354.worldX >> 6 == this.field459 && var3.field354.worldY >> 6 == this.field456) {
MapIcon var4 = new MapIcon(var3.field355, var3.field354, var3.field354, this.method451(var3.field355));
this.field471.add(var4);
}
}
}
use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class WorldMapRegion method drawMapLinks.
@ObfuscatedName("am")
@ObfuscatedSignature(signature = "(IILjava/util/HashSet;II)V", garbageValue = "129011931")
@Export("drawMapLinks")
void drawMapLinks(int var1, int var2, HashSet var3, int var4) {
float var5 = (float) var4 / 64.0F;
Iterator var6 = this.field471.iterator();
while (var6.hasNext()) {
MapIcon var7 = (MapIcon) var6.next();
int var8 = var7.field512.worldX % 64;
int var9 = var7.field512.worldY % 64;
var7.screenX = (int) ((float) var8 * var5 + (float) var1);
var7.screenY = (int) ((float) (63 - var9) * var5 + (float) var2);
if (!var3.contains(Integer.valueOf(var7.areaId))) {
this.method518(var7, var7.screenX, var7.screenY, var5);
}
}
}
use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class WorldMapRegion method method414.
@ObfuscatedName("r")
@ObfuscatedSignature(signature = "(IIILjava/util/HashSet;I)V", garbageValue = "962214860")
void method414(int var1, int var2, int var3, HashSet var4) {
if (var4 == null) {
var4 = new HashSet();
}
this.drawNonLinkMapIcons(var1, var2, var4, var3);
this.drawMapLinks(var1, var2, var4, var3);
}
use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class WorldMapRegion method method412.
@ObfuscatedName("ak")
@ObfuscatedSignature(signature = "(Ljava/util/HashSet;III)V", garbageValue = "1424049642")
void method412(HashSet var1, int var2, int var3) {
Iterator var4 = this.field471.iterator();
while (var4.hasNext()) {
MapIcon var5 = (MapIcon) var4.next();
Area var6 = Area.mapAreaType[var5.areaId];
if (var6 != null && var1.contains(Integer.valueOf(var6.method4755()))) {
this.method413(var6, var5.screenX, var5.screenY, var2, var3);
}
}
}
Aggregations