use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class WorldMapData method containsCoord.
@ObfuscatedName("o")
@ObfuscatedSignature(signature = "(IIIB)Z", garbageValue = "-14")
@Export("containsCoord")
public boolean containsCoord(int var1, int var2, int var3) {
Iterator var4 = this.field435.iterator();
WorldMapSectionBase var5;
do {
if (!var4.hasNext()) {
return false;
}
var5 = (WorldMapSectionBase) var4.next();
} while (!var5.containsCoord(var1, var2, var3));
return true;
}
use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class WorldMapData method method309.
@ObfuscatedName("k")
@ObfuscatedSignature(signature = "(IIII)[I", garbageValue = "694724857")
public int[] method309(int var1, int var2, int var3) {
Iterator var4 = this.field435.iterator();
WorldMapSectionBase var5;
do {
if (!var4.hasNext()) {
return null;
}
var5 = (WorldMapSectionBase) var4.next();
} while (!var5.containsCoord(var1, var2, var3));
return var5.vmethod754(var1, var2, var3);
}
use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class class178 method method3415.
@ObfuscatedName("i")
@ObfuscatedSignature(signature = "(Ljm;Ljm;ZII)V", garbageValue = "1394721650")
static void method3415(IndexDataBase var0, IndexDataBase var1, boolean var2, int var3) {
if (class90.field1345) {
if (var3 == 4) {
class90.loginIndex = 4;
}
} else {
class90.loginIndex = var3;
Rasterizer2D.reset();
byte[] var4 = var0.takeRecordByNames("title.jpg", "");
BufferedImage var6 = null;
SpritePixels var5;
label159: {
try {
var6 = ImageIO.read(new ByteArrayInputStream(var4));
int var7 = var6.getWidth();
int var8 = var6.getHeight();
int[] var9 = new int[var8 * var7];
PixelGrabber var10 = new PixelGrabber(var6, 0, 0, var7, var8, var9, 0, var7);
var10.grabPixels();
var5 = new SpritePixels(var9, var7, var8);
break label159;
} catch (IOException var13) {
;
} catch (InterruptedException var14) {
;
}
var5 = new SpritePixels(0, 0);
}
class317.field3926 = var5;
class61.field715 = class317.field3926.method5924();
if ((Client.flags & 536870912) != 0) {
class90.logoSprite = class44.getSprite(var1, "logo_deadman_mode", "");
} else {
class90.logoSprite = class44.getSprite(var1, "logo", "");
}
class90.field1339 = class44.getSprite(var1, "titlebox", "");
class203.field2605 = class44.getSprite(var1, "titlebutton", "");
class90.runeSprites = class199.getIndexedSprites(var1, "runes", "");
class38.titlemuteSprite = class199.getIndexedSprites(var1, "title_mute", "");
TextureProvider.field1691 = class44.getSprite(var1, "options_radio_buttons,0", "");
class90.field1342 = class44.getSprite(var1, "options_radio_buttons,4", "");
class151.field2127 = class44.getSprite(var1, "options_radio_buttons,2", "");
class304.field3848 = class44.getSprite(var1, "options_radio_buttons,6", "");
class90.field1363 = TextureProvider.field1691.width;
WorldMapType1.field415 = TextureProvider.field1691.height;
class38.field489 = new int[256];
int var12;
for (var12 = 0; var12 < 64; ++var12) {
class38.field489[var12] = var12 * 262144;
}
for (var12 = 0; var12 < 64; ++var12) {
class38.field489[var12 + 64] = var12 * 1024 + 16711680;
}
for (var12 = 0; var12 < 64; ++var12) {
class38.field489[var12 + 128] = var12 * 4 + 16776960;
}
for (var12 = 0; var12 < 64; ++var12) {
class38.field489[var12 + 192] = 16777215;
}
class7.field231 = new int[256];
for (var12 = 0; var12 < 64; ++var12) {
class7.field231[var12] = var12 * 1024;
}
for (var12 = 0; var12 < 64; ++var12) {
class7.field231[var12 + 64] = var12 * 4 + 65280;
}
for (var12 = 0; var12 < 64; ++var12) {
class7.field231[var12 + 128] = var12 * 262144 + 65535;
}
for (var12 = 0; var12 < 64; ++var12) {
class7.field231[var12 + 192] = 16777215;
}
class36.field480 = new int[256];
for (var12 = 0; var12 < 64; ++var12) {
class36.field480[var12] = var12 * 4;
}
for (var12 = 0; var12 < 64; ++var12) {
class36.field480[var12 + 64] = var12 * 262144 + 255;
}
for (var12 = 0; var12 < 64; ++var12) {
class36.field480[var12 + 128] = var12 * 1024 + 16711935;
}
for (var12 = 0; var12 < 64; ++var12) {
class36.field480[var12 + 192] = 16777215;
}
Item.field1408 = new int[256];
BaseVarType.field30 = new int['耀'];
class5.field34 = new int['耀'];
class20.method169((IndexedSprite) null);
class90.field1362 = new int['耀'];
RunException.field2181 = new int['耀'];
if (var2) {
class90.username = "";
class90.password = "";
}
PendingSpawn.field1145 = 0;
MapCacheArchiveNames.field520 = "";
class90.field1344 = true;
class90.worldSelectShown = false;
if (!class46.preferences.muted) {
class158.method3185(2, class1.indexTrack1, "scape main", "", 255, false);
} else {
IndexStoreActionHandler.method4660(2);
}
class189.sendConInfo(false);
class90.field1345 = true;
class90.field1338 = (Sequence.canvasWidth - 765) / 2;
class90.loginWindowX = class90.field1338 + 202;
GameCanvas.field630 = class90.loginWindowX + 180;
class317.field3926.method5868(class90.field1338, 0);
class61.field715.method5868(class90.field1338 + 382, 0);
class90.logoSprite.method5842(class90.field1338 + 382 - class90.logoSprite.width / 2, 18);
}
}
use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class class298 method method5310.
@ObfuscatedName("o")
@ObfuscatedSignature(signature = "(Lgp;IB)V", garbageValue = "40")
public void method5310(Buffer var1, int var2) {
while (true) {
if (var1.offset < var2) {
int var3 = var1.readUnsignedByte();
boolean var4 = (var3 & 1) == 1;
Name var5 = new Name(var1.readString(), this.field3829);
Name var6 = new Name(var1.readString(), this.field3829);
var1.readString();
if (var5 != null && var5.method5450()) {
Ignore var7 = (Ignore) this.method5319(var5);
if (var4) {
Ignore var8 = (Ignore) this.method5319(var6);
if (var8 != null) {
if (var7 != null) {
this.method5321(var8);
} else {
var7 = var8;
}
}
}
if (var7 != null) {
this.method5326(var7, var5, var6);
continue;
}
if (this.getCount() < 400) {
int var9 = this.getCount();
var7 = (Ignore) this.method5323(var5, var6);
var7.field3837 = var9;
}
continue;
}
throw new IllegalStateException();
}
return;
}
}
use of net.runelite.mapping.ObfuscatedName in project runelite by runelite.
the class class45 method method663.
@ObfuscatedName("bz")
@ObfuscatedSignature(signature = "(Lgp;Lgp;Lgp;IZI)V", garbageValue = "891609718")
void method663(Buffer var1, Buffer var2, Buffer var3, int var4, boolean var5) {
this.loadMapData(var1, var4);
int var6 = var3.readUnsignedShort();
this.field557 = new HashSet(var6);
int var7;
for (var7 = 0; var7 < var6; ++var7) {
class22 var8 = new class22();
try {
var8.method176(var2, var3);
} catch (IllegalStateException var13) {
continue;
}
this.field557.add(var8);
}
var7 = var3.readUnsignedShort();
this.field554 = new HashSet(var7);
for (int var11 = 0; var11 < var7; ++var11) {
class46 var9 = new class46();
try {
var9.method673(var2, var3);
} catch (IllegalStateException var12) {
continue;
}
this.field554.add(var9);
}
this.method664(var2, var5);
}
Aggregations